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": "4613fdca-e5bd-4f08-a54e-2b44f4a50ad6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d6a4a0e4-050c-4351-9b40-c89c18cc2246",
"CreateDate": "2025-11-05T00:12:20.9454612-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:12:20.9454612-08: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": "7fbe717d-7740-46a3-9863-f8dabebbc800",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "95a0c419-325a-43c2-a12c-deda82473fe0",
"CreateDate": "2025-11-05T00:12:20.9454612-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-05T00:12:20.9454612-08:00",
"LastModifiedUser": "sample string 6"
},
"Total": 1,
"Message": "sample string 1"
}