POST api/BrandSales

Request Information

URI Parameters

None.

Body Parameters

BrandSalesModel
NameDescriptionTypeAdditional information
BrandSalesID

integer

None.

BrandID

integer

None.

CountryID

integer

None.

CompanyID

integer

None.

PeriodID

integer

None.

SalesUnit

integer

None.

SalesDollar

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BrandSalesID": 1,
  "BrandID": 2,
  "CountryID": 3,
  "CompanyID": 4,
  "PeriodID": 5,
  "SalesUnit": 6,
  "SalesDollar": 7
}

application/xml, text/xml

Sample:
<BrandSalesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models">
  <BrandID>2</BrandID>
  <BrandSalesID>1</BrandSalesID>
  <CompanyID>4</CompanyID>
  <CountryID>3</CountryID>
  <PeriodID>5</PeriodID>
  <SalesDollar>7</SalesDollar>
  <SalesUnit>6</SalesUnit>
</BrandSalesModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>