GET api/customer/divisions
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Division| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| CustomerId | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| RefCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Name": "sample string 2",
"CustomerId": 3,
"IsDeleted": true,
"RefCode": "sample string 5"
},
{
"Id": 1,
"Name": "sample string 2",
"CustomerId": 3,
"IsDeleted": true,
"RefCode": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfDivision xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.Models">
<Division>
<CustomerId>3</CustomerId>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<RefCode>sample string 5</RefCode>
</Division>
<Division>
<CustomerId>3</CustomerId>
<Id>1</Id>
<IsDeleted>true</IsDeleted>
<Name>sample string 2</Name>
<RefCode>sample string 5</RefCode>
</Division>
</ArrayOfDivision>