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": "7add4aca-e1b5-465a-b050-a55d983d6407", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "56651c35-65b7-4df2-ba7b-35eb90ac4b16", "CreateDate": "2024-12-08T03:25:02.8697743-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T03:25:02.8697743-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": "fe701f0d-40c0-4d55-a4a2-e293fa89182c", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b31734f1-00f1-4f97-a484-b0227afe41eb", "CreateDate": "2024-12-08T03:25:02.8697743-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T03:25:02.8697743-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }