POST Units
Creates a unit.
Request Information
URI Parameters
None.
Body Parameters
Unit to be created. UnitId should not be filled in.
UnitName | 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": "cc554b96-6b7e-444e-b3d3-76293d006095", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "447aacb3-ce9b-4f64-a665-c28d632bf5d0", "CreateDate": "2025-08-30T12:58:09.7712074-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:58:09.7712074-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": "0a67ccec-6ba3-4085-8635-587de50759de", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6df7ee88-9ff4-4736-be87-dca4ebb9baef", "CreateDate": "2025-08-30T12:58:09.7712074-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-30T12:58:09.7712074-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }