GET api/v{version}/Department/All?key={key}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key | string |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DepartmentOutDTOName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
CounterSale | boolean |
None. |
|
string |
None. |
||
Id | integer |
None. |
|
LocationDepartmentId | integer |
None. |
|
LocationId | integer |
None. |
|
LocationName | string |
None. |
|
Mobile | boolean |
None. |
|
Name | string |
None. |
|
Stock | boolean |
None. |
|
StockLocationId | integer |
None. |
|
Workshop | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Code": "sample string 1", "CounterSale": true, "Email": "sample string 3", "Id": 4, "LocationDepartmentId": 5, "LocationId": 6, "LocationName": "sample string 7", "Mobile": true, "Name": "sample string 9", "Stock": true, "StockLocationId": 1, "Workshop": true }, { "Code": "sample string 1", "CounterSale": true, "Email": "sample string 3", "Id": 4, "LocationDepartmentId": 5, "LocationId": 6, "LocationName": "sample string 7", "Mobile": true, "Name": "sample string 9", "Stock": true, "StockLocationId": 1, "Workshop": true } ]