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": "10421176-2798-4110-ba9a-228a2687c893", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ff7ac442-6fa7-4433-aed3-f28baeafa4d5", "CreateDate": "2025-01-30T17:05:40.9481587-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:40.9481587-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": "4e255d89-9e5d-46b9-b672-6173172af878", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "c6ee2ee9-ec66-42d5-88cc-5a62f2e0e6b5", "CreateDate": "2025-01-30T17:05:40.9481587-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:05:40.9481587-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }