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": "ab6c9042-3158-4456-8142-626fdd2e4a83",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0f4bf6b0-d320-4348-9444-0b9e92c884b9",
"CreateDate": "2026-08-23T08:29:26.4720516-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-23T08:29:26.487663-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": "922db9f1-30ad-43a1-b0b4-638ae1f7cf9c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "31ed0c2a-2e19-48e5-bc48-ddeca95a954f",
"CreateDate": "2026-08-23T08:29:26.487663-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-23T08:29:26.487663-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}