POST Units
Creates a unit.
Request Information
URI Parameters
None.
Body Parameters
Unit to be created. UnitId should not be filled in.
Unit| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitId | globally unique identifier |
None. |
|
| Code | string |
None. |
|
| Description | string |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UnitId": "399e60da-ac11-478d-828e-3a3fdbd86817",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cad8764c-6aa4-4a19-9cae-f54f521f79c0",
"CreateDate": "2026-07-20T20:23:11.5122421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T20:23:11.5122421-07:00",
"LastModifiedUser": "sample string 6"
}
Response Information
Resource Description
On success, the created unit.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Unit |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"UnitId": "06090950-f741-4881-8b34-ed70d974c300",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "46fb80c1-2b04-4247-9c17-a850f074a464",
"CreateDate": "2026-07-20T20:23:11.5122421-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-20T20:23:11.5122421-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}