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": "dcee6a02-c820-4802-9e67-bfc7457fbb2b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d01db38d-32e4-48fe-a602-90a04bd65c36",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6ff57ad3-4697-40a5-8f62-591264cf9478",
"CreateDate": "2026-06-09T19:58:58.3028846-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:58:58.3028846-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6f9b89d4-7ed0-4558-84ea-468a948fe3d9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a5df2c6b-48bb-460d-99dd-2ce91b69fc0d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5c4dd316-296e-4c21-b330-c5a14e70c931",
"CreateDate": "2026-06-09T19:58:58.3028846-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T19:58:58.3028846-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fb928bb2-c214-4697-89ca-d13119816e7d",
"FieldId": "a79e6078-d8c3-40ff-8c68-878933100f61",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fb928bb2-c214-4697-89ca-d13119816e7d",
"FieldId": "a79e6078-d8c3-40ff-8c68-878933100f61",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b91a06d9-18e6-4cc9-9d0b-639844986919",
"CreateDate": "2026-06-09T19:58:58.3028846-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:58:58.3028846-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": "1780c327-ada2-4198-b18f-3a7d18667b74",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f3af630b-0a3a-49e0-8710-a7ac93fda607",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b3cdf9aa-c94b-49c8-bbba-dcac681ec17d",
"CreateDate": "2026-06-09T19:58:58.3028846-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:58:58.3028846-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a5c4654b-f82c-4113-86d2-1ddfc072a1a1",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "903309a2-a410-4330-807f-70e116895907",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "fdaa4dfe-0527-442b-994b-628ff1d3c79f",
"CreateDate": "2026-06-09T19:58:58.3028846-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T19:58:58.3028846-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6f56ab75-69e7-412b-ad7d-d89e8ce3c26b",
"FieldId": "8fd37735-de1a-42af-b2c9-bd44004ce19b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6f56ab75-69e7-412b-ad7d-d89e8ce3c26b",
"FieldId": "8fd37735-de1a-42af-b2c9-bd44004ce19b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "49c99807-efe0-4ebf-89d8-990ce8d1ba28",
"CreateDate": "2026-06-09T19:58:58.3028846-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T19:58:58.3028846-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}