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": "e97e7638-184d-45f0-b5a6-41081a8c2b48", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8f26e958-72ba-481e-8ca7-2c560a108688", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:32:06.3119861-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": "3de41eee-92ec-442c-b6fa-f314355f1493", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c6e936cf-947b-43b6-bc63-d825580aa0f7", "CreateDate": "2025-04-03T15:32:06.3119861-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-03T15:32:06.3119861-07:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }