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": "037d073f-3687-4e52-b3ba-0ad5302c0152", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "097d271a-8a0c-4dc2-8d9f-e270726e55db", "CreateDate": "2024-12-21T18:45:42.3266108-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:45:42.3266108-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": "9fc66111-ab7f-4e71-8ade-c4972943629c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4c467b8c-7b52-4bc4-8186-5d6cb097ad84", "CreateDate": "2024-12-21T18:45:42.3266108-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T18:45:42.3266108-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }