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": "6f6abb85-1396-49f9-a28f-6071fc4da891", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d9142902-19a7-4213-a95a-d6392c322b20", "CreateDate": "2024-12-22T02:50:54.5287785-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:54.5287785-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": "fda4364a-588d-4cb4-8328-03c3f24b7b1e", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "03725254-7384-4dd7-a037-cb4f224cc76d", "CreateDate": "2024-12-22T02:50:54.5287785-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-22T02:50:54.5287785-08:00", "LastModifiedUser": "sample string 6" }, "Total": 1, "Message": "sample string 1" }