POST api/CustomerLevels

Request Information

URI Parameters

None.

Body Parameters

CustomerLevelBindingModel
NameDescriptionTypeAdditional information
CompanyCode

string

Required

Level

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyCode": "sample string 1",
  "Level": 2
}

application/xml, text/xml

Sample:
<CustomerLevelBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CompanyCode>sample string 1</CompanyCode>
  <Level>2</Level>
</CustomerLevelBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerLevelBindingModel
NameDescriptionTypeAdditional information
CompanyCode

string

Required

Level

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CompanyCode": "sample string 1",
  "Level": 2
}

application/xml, text/xml

Sample:
<CustomerLevelBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CompanyCode>sample string 1</CompanyCode>
  <Level>2</Level>
</CustomerLevelBindingModel>