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": "a9179d33-4767-40ca-b22d-81aec1a6a23d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b087d6a6-611b-4dd7-82a7-ae7386d28581",
"CreateDate": "2026-06-17T17:29:00.1276458-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:29:00.1276458-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": "e27c32c7-363c-454b-9a65-1d560f8358c1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "51ec49a7-08db-4457-b996-180daeb196e0",
"CreateDate": "2026-06-17T17:29:00.1276458-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:29:00.1276458-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}