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 ValidValue |
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": "42fcadfd-9849-426e-83f1-157d60de67c9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "581dd8e8-70b0-48c2-b85b-739632d1f4b8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3ca487bc-5df9-4afc-94e8-eb83c8acb01f",
"CreateDate": "2026-07-21T00:22:08.7099172-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:22:08.7099172-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6b8d6aa4-4129-4af2-a2ea-c2b4955069c5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9757a12e-6d0e-4e22-a5cf-bc52f375ff68",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "feaef985-1966-4f70-b2ab-0347b86f2454",
"CreateDate": "2026-07-21T00:22:08.7099172-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:22:08.7099172-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ed7bd719-ee8c-4cd8-9752-4645a4f3b711",
"FieldId": "19ebe397-f708-4af8-8048-2aada7e8cf80",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ed7bd719-ee8c-4cd8-9752-4645a4f3b711",
"FieldId": "19ebe397-f708-4af8-8048-2aada7e8cf80",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2b1178e0-f159-44b8-8d98-eaa1add07ab4",
"CreateDate": "2026-07-21T00:22:08.7099172-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:22:08.7099172-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": "1e3aa079-df1b-46c7-988c-8685f4b1b9f1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f34fd3da-c26a-44fe-a0cd-945aaa67bed6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a6e4bdaa-d5b9-4ba8-aa6c-e3ad6ad03b3d",
"CreateDate": "2026-07-21T00:22:08.7099172-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:22:08.7099172-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4468ebfb-fc1b-4171-a2f0-72dc9923b934",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1218c16b-a2b6-4649-b840-eb6fdd01d661",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2f322320-315d-4251-a300-ba90a6e488b0",
"CreateDate": "2026-07-21T00:22:08.7099172-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-21T00:22:08.7099172-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d69b22d6-e8ea-43e3-ad65-bf76cf0ef5d9",
"FieldId": "9472ff91-3196-4290-95cb-b2f51e14487a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d69b22d6-e8ea-43e3-ad65-bf76cf0ef5d9",
"FieldId": "9472ff91-3196-4290-95cb-b2f51e14487a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "44ed1410-bf8e-47d5-942e-c7166fda4a0d",
"CreateDate": "2026-07-21T00:22:08.7099172-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-21T00:22:08.7099172-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}