POST api/CustomerTypes
Request Information
URI Parameters
None.
Body Parameters
CustomerTypeName | Description | Type | Additional information |
---|---|---|---|
CustomerTypeId | integer |
None. |
|
CustomerTypeDescription | string |
Max length: 50 |
Request Formats
application/json, text/json
Sample:
{ "CustomerTypeId": 1, "CustomerTypeDescription": "sample string 2" }
application/xml, text/xml
Sample:
<CustomerType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models"> <CustomerTypeDescription>sample string 2</CustomerTypeDescription> <CustomerTypeId>1</CustomerTypeId> </CustomerType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CustomerTypeName | Description | Type | Additional information |
---|---|---|---|
CustomerTypeId | integer |
None. |
|
CustomerTypeDescription | string |
Max length: 50 |
Response Formats
application/json, text/json
Sample:
{ "CustomerTypeId": 1, "CustomerTypeDescription": "sample string 2" }
application/xml, text/xml
Sample:
<CustomerType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models"> <CustomerTypeDescription>sample string 2</CustomerTypeDescription> <CustomerTypeId>1</CustomerTypeId> </CustomerType>