POST PropertyTypes
Creates a new property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to create. PropertyTypeId should not be filled in.
PropertyType| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| DataType | DataType |
None. |
|
| Unit | Unit |
None. |
|
| MinValue | decimal number |
None. |
|
| MaxValue | decimal number |
None. |
|
| MinLength | integer |
None. |
|
| MaxLength | integer |
None. |
|
| HasValidValues | boolean |
None. |
|
| ValidValues | Collection of 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:
{
"PropertyTypeId": "b85cdcef-f5e4-448e-b738-5aaec4d1f0c1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0f72cdc1-fe68-4740-8c5a-6cbc460ea2eb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "17b44d69-3590-44ea-9e79-4fcc532e5b96",
"CreateDate": "2026-07-13T23:55:03.0162464-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:55:03.0162464-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "61a07b41-e4e3-4c92-8dca-63dc7454bc6e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "24a7db2d-00e9-42a9-9c7f-2ec6202cba7b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2d5f5646-dc50-48bc-be95-834d5a7caa38",
"CreateDate": "2026-07-13T23:55:03.0162464-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T23:55:03.0162464-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "6968e318-5836-4b34-85ab-545eb767d356",
"CreateDate": "2026-07-13T23:55:03.0162464-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:55:03.0162464-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
On success, the created property type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | PropertyType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PropertyTypeId": "089ba66c-75b6-425c-a176-b2c3f8dc1ccc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6fc62c7c-44ce-4c0c-8ad3-b0b3fc04bcd2",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "184317e6-abcb-44a1-bfbc-1d7257051a6b",
"CreateDate": "2026-07-13T23:55:03.0162464-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:55:03.0162464-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a36fcd2a-a40b-4e70-b067-7ad03f407bb0",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5cff24c9-8393-4c0e-8aaf-ec004ac99092",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d2d6b3f4-36d7-48f8-bf4a-cadff39e0fa1",
"CreateDate": "2026-07-13T23:55:03.0162464-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-13T23:55:03.0162464-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "99468b3a-90f4-4151-a4d6-9dc48983f8fe",
"CreateDate": "2026-07-13T23:55:03.0162464-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-13T23:55:03.0162464-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}