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": "a61ec90b-9be6-46cd-8b84-e8f68b580761",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a096c75-304f-4ebf-a93b-f9d8cccec028",
"CreateDate": "2026-05-12T17:06:42.7263566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:42.7263566-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": "78429b17-69ec-43b7-998e-2a8900f3f28c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8cc21858-dd95-4f86-883a-1181f6d74fc3",
"CreateDate": "2026-05-12T17:06:42.7263566-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-12T17:06:42.7263566-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}