GET api/customers/category

Gets all customer categories

Request Information

URI Parameters

None.

Body Parameters

None.

Remarks

None.

Example

None.

Response Information

Resource Description

Collection of CustomerCategoryResponse
NameDescriptionTypeAdditional information
Number

integer

None.

Id

globally unique identifier

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Number": 1,
    "Id": "cfa8c817-16fa-44f5-8d53-0d83351f32ee",
    "Name": "sample string 3"
  },
  {
    "Number": 1,
    "Id": "cfa8c817-16fa-44f5-8d53-0d83351f32ee",
    "Name": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerCategoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Business">
  <CustomerCategoryResponse>
    <Id>cfa8c817-16fa-44f5-8d53-0d83351f32ee</Id>
    <Name>sample string 3</Name>
    <Number>1</Number>
  </CustomerCategoryResponse>
  <CustomerCategoryResponse>
    <Id>cfa8c817-16fa-44f5-8d53-0d83351f32ee</Id>
    <Name>sample string 3</Name>
    <Number>1</Number>
  </CustomerCategoryResponse>
</ArrayOfCustomerCategoryResponse>