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": "e0ffcc32-decf-4015-b381-70ffd3c439eb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3fcf0642-840c-4c76-83b4-aaefa7d37532",
"CreateDate": "2026-05-04T12:36:43.1411082-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-04T12:36:43.1411082-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": "74d6c057-e0a3-4c90-915f-d485d9f6b819",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f5925939-7c8c-440d-a3d7-22c2a8949946",
"CreateDate": "2026-05-04T12:36:43.1411082-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-04T12:36:43.1411082-07:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}