GET Units?take={take}&skip={skip}&sort[0].Field={sort[0].Field}&sort[0].Dir={sort[0].Dir}&sort[1].Field={sort[1].Field}&sort[1].Dir={sort[1].Dir}
Retrieves units for the given parameters. All parameters are optional.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| take |
Number of units to retrieve. Default is all units |
integer |
None. |
| skip |
Number of units to skip before retrieval |
integer |
Default value is 0 |
| sort |
List of sorting rules to describe how to sort the units before retrieval |
Collection of Sort |
None. |
| Operator | string |
None. |
|
| Field | string |
None. |
|
| Value | string |
None. |
|
| Logic | string |
None. |
|
| Filters | Collection of Filter |
None. |
Body Parameters
None.
Response Information
Resource Description
On success, a list of units.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of Unit |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"UnitId": "9e7327f4-7ae0-4f1a-86ff-3bea78e0f56e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "03d26b41-71c6-417a-86fc-ec5c307f4dc1",
"CreateDate": "2026-01-20T06:31:13.6295829-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-20T06:31:13.6295829-08:00",
"LastModifiedUser": "sample string 6"
},
{
"UnitId": "9e7327f4-7ae0-4f1a-86ff-3bea78e0f56e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "03d26b41-71c6-417a-86fc-ec5c307f4dc1",
"CreateDate": "2026-01-20T06:31:13.6295829-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-20T06:31:13.6295829-08:00",
"LastModifiedUser": "sample string 6"
}
],
"Total": 1,
"Message": "sample string 1"
}