POST api/CreateUnitType
Request Information
URI Parameters
None.
Body Parameters
UnitType| Name | Description | Type | Additional information |
|---|---|---|---|
| UnitTypeId | integer |
None. |
|
| Name | string |
None. |
|
| Label | string |
None. |
|
| DefaultUnitSize | integer |
None. |
|
| SizeX | boolean |
None. |
|
| SizeY | boolean |
None. |
|
| SizeZ | boolean |
None. |
|
| Xlabel | string |
None. |
|
| Ylabel | string |
None. |
|
| Zlabel | string |
None. |
|
| Status | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| DateCreated | date |
None. |
|
| DateModified | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"UnitTypeId": 1,
"Name": "sample string 2",
"Label": "sample string 3",
"DefaultUnitSize": 4,
"SizeX": true,
"SizeY": true,
"SizeZ": true,
"Xlabel": "sample string 8",
"Ylabel": "sample string 9",
"Zlabel": "sample string 10",
"Status": 11,
"CreatedBy": 12,
"ModifiedBy": 13,
"DateCreated": "2026-04-07T15:41:16.7962256+01:00",
"DateModified": "2026-04-07T15:41:16.7962256+01:00"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.