GET api/customertype/{id}
Returns the specified Customer Type
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerTypeName | Description | Type | Additional information |
---|---|---|---|
TypeId |
Sedona internal autonumber for Customer Type |
integer |
None. |
TypeCode |
Abbreviated Customer Type |
string |
String length: inclusive between 0 and 25 |
Description |
Full description of Customer Type |
string |
String length: inclusive between 0 and 50 |
Inactive |
Set to true for Inactive |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "TypeId": 1, "TypeCode": "sample string 2", "Description": "sample string 3", "Inactive": true }
application/xml, text/xml
Sample:
<CustomerType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <Description>sample string 3</Description> <Inactive>true</Inactive> <TypeCode>sample string 2</TypeCode> <TypeId>1</TypeId> </CustomerType>