GET api/customertype
Returns all Customer Types
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerType| Name | 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
},
{
"TypeId": 1,
"TypeCode": "sample string 2",
"Description": "sample string 3",
"Inactive": true
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
<CustomerType>
<Description>sample string 3</Description>
<Inactive>true</Inactive>
<TypeCode>sample string 2</TypeCode>
<TypeId>1</TypeId>
</CustomerType>
<CustomerType>
<Description>sample string 3</Description>
<Inactive>true</Inactive>
<TypeCode>sample string 2</TypeCode>
<TypeId>1</TypeId>
</CustomerType>
</ArrayOfCustomerType>