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": "feafcd75-e160-4cc5-990d-3c8a679bf45c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "90d0251c-c303-4a1b-a94a-59078537aaac", "CreateDate": "2025-08-29T17:12:39.1484992-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:12:39.1484992-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": "bb4ca523-1e85-4413-81ea-44c3e1202cc6", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e546d664-e0c7-4708-84e3-551c70cd8a61", "CreateDate": "2025-08-29T17:12:39.1484992-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:12:39.1484992-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }