Customer Types
The CustomerTypes resource allows CustomerTypes to be listed.
The full range of URIs and HTTP Verbs supported are:
Operation |
HTTP Action |
List a page of Customer Types |
GET /CustomerTypes |
GET CustomerTypes
Available Fields for CustomerType:
Property |
Type |
Length |
Notes |
Guid |
Guid |
|
Unique identifier. |
LastModifiedOn |
Nullable DateTime |
|
|
TypeName |
String |
50 |
|
Examples for Request GET /CustomerTypes
show xml example
<?xml version="1.0"?>
<CustomerTypes xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://api.unleashedsoftware.com/version/1">
<CustomerType>
<Guid>cdf2d46a-bc34-4db6-8bbc-18c58dc7c9cb</Guid>
<LastModifiedOn>2016-03-29T02:32:20.787</LastModifiedOn>
<TypeName>General</TypeName>
</CustomerType>
<CustomerType>
<Guid>72d70c41-bdf8-4b60-aed9-26efdd0c152f</Guid>
<LastModifiedOn>2016-03-29T02:32:20.787</LastModifiedOn>
<TypeName>On Account</TypeName>
</CustomerType>
<CustomerType>
<Guid>8b1e0f3f-3413-409b-b722-e22d737514f8</Guid>
<LastModifiedOn>2016-03-29T02:32:20.79</LastModifiedOn>
<TypeName>Wholesale</TypeName>
</CustomerType>
<CustomerType>
<Guid>a80fce08-1812-400a-8602-e1400a2fbd5e</Guid>
<LastModifiedOn>2016-03-29T02:32:20.79</LastModifiedOn>
<TypeName>Cash</TypeName>
</CustomerType>
</CustomerTypes>
show json example
{
"Items": [
{
"TypeName": "General",
"Guid": "cdf2d46a-bc34-4db6-8bbc-18c58dc7c9cb",
"LastModifiedOn": "/Date(1459218740787)/"
},
{
"TypeName": "On Account",
"Guid": "72d70c41-bdf8-4b60-aed9-26efdd0c152f",
"LastModifiedOn": "/Date(1459218740787)/"
},
{
"TypeName": "Wholesale",
"Guid": "8b1e0f3f-3413-409b-b722-e22d737514f8",
"LastModifiedOn": "/Date(1459218740790)/"
},
{
"TypeName": "Cash",
"Guid": "a80fce08-1812-400a-8602-e1400a2fbd5e",
"LastModifiedOn": "/Date(1459218740790)/"
}
]
}
Use the API Sandbox to see how the object is rendered in JSON or XML.
Note: An Unleashed account is required before you can use the API Sandbox.
Trial accounts are also allowed to connect to the API.
You can register a new account here: Register.