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": "61044d12-91fc-430e-9e51-f374862da3e1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "34e5d963-bb73-44ec-9e49-6eceed387c5b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c40264ae-1c9c-4b8d-84e3-8a3c79681554",
"CreateDate": "2026-04-30T21:03:54.6342655-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:03:54.6342655-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e4ef7071-2e59-4bfe-b876-33e884887763",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "888c81a3-b8f0-4b37-ba68-db23f845d87d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5b9960fe-d580-4d8b-ac9f-7ededfc01dfa",
"CreateDate": "2026-04-30T21:03:54.6342655-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:03:54.6342655-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d0b16b8e-1a15-4002-ada1-4b8b81401365",
"FieldId": "b0cfaf93-14ab-4e1a-bf60-7964acea68cf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d0b16b8e-1a15-4002-ada1-4b8b81401365",
"FieldId": "b0cfaf93-14ab-4e1a-bf60-7964acea68cf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ed01463b-2b2b-4f3a-8bda-1b88ff461e82",
"CreateDate": "2026-04-30T21:03:54.6342655-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:03:54.6342655-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": "dc50362d-23de-4f5a-888c-e136ee92dee1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8e7af648-37cf-463f-a2df-15232f98f1c8",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b9fb2dd6-83f1-4017-8893-38e5af1cff58",
"CreateDate": "2026-04-30T21:03:54.6342655-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:03:54.6342655-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ee8a8b77-ea8f-4872-831c-d475de0f5abc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "85c11139-6e83-4636-ae02-b779c5c0716c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ab8368a5-2bd2-4383-a6e9-c13541d95368",
"CreateDate": "2026-04-30T21:03:54.6342655-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-30T21:03:54.6342655-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "12588442-dc0c-4590-b0db-c8a48a8a5660",
"FieldId": "b295d9b7-518d-44c6-b6dc-dc39a386603a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "12588442-dc0c-4590-b0db-c8a48a8a5660",
"FieldId": "b295d9b7-518d-44c6-b6dc-dc39a386603a",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "d5265817-daf8-4564-af46-2ced55129b4c",
"CreateDate": "2026-04-30T21:03:54.6342655-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-30T21:03:54.6342655-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}