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": "4b02f37c-87b9-4bb5-a145-79a2dd5f0f56",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a0415c3d-8bde-4fd6-bdd6-9f80cb62dca3",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6f8c831d-9665-4665-a74a-999829d8be80",
"CreateDate": "2026-04-27T20:33:08.3119266-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:08.3119266-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0cd1c853-84e8-44e9-b741-4a5fa00d4314",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "388f25c9-fc9a-49bf-a258-d6d6671613d9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "05b090d3-b2d6-4628-806b-08f2168f30f4",
"CreateDate": "2026-04-27T20:33:08.3119266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:33:08.3119266-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e9b30fe-08af-449e-b408-dd4c06745cff",
"FieldId": "c7f3a7be-c8f6-45e1-9f24-58ad2988c18f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e9b30fe-08af-449e-b408-dd4c06745cff",
"FieldId": "c7f3a7be-c8f6-45e1-9f24-58ad2988c18f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5f40da0c-a60f-43ca-8d40-3fbdd933c048",
"CreateDate": "2026-04-27T20:33:08.3119266-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:08.3119266-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": "331abff5-0267-4f84-8640-590a30e0b9b3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a9364c44-03e0-4fc0-8d3b-c14b62410f03",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3bd84816-5f96-461c-9fdb-c2536444339d",
"CreateDate": "2026-04-27T20:33:08.3119266-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:08.3119266-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6bd6130f-9481-449e-852d-04edb902c903",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a5f21ebf-8986-4cd4-9847-dd67902ed5af",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6cbea622-ab30-4939-9c43-a714116af4ad",
"CreateDate": "2026-04-27T20:33:08.3119266-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-27T20:33:08.3119266-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "09f9f887-c6df-4585-a034-0c9e439f3fef",
"FieldId": "d2bf2001-b9e3-45f2-913f-237ddcb2aad6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "09f9f887-c6df-4585-a034-0c9e439f3fef",
"FieldId": "d2bf2001-b9e3-45f2-913f-237ddcb2aad6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "701b9be3-53e0-48a6-a970-a61ce64f19cb",
"CreateDate": "2026-04-27T20:33:08.3119266-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-27T20:33:08.3119266-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}