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": "232f1e7f-bb0a-4ae8-a687-9a42d09c422e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "20dbd5e9-8b13-4dcc-8631-e6b5a914389c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "72563635-5a06-4716-b471-9bf8d571fbf3",
"CreateDate": "2026-06-30T11:45:29.8271952-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:45:29.8271952-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "367d0596-c6f4-4fb0-be2d-9b3bf9be3477",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a22d6fae-8a2a-486e-8932-cd9a8d74690b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "99302701-2f7a-4911-8ab1-773c736cad6d",
"CreateDate": "2026-06-30T11:45:29.8271952-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:45:29.8271952-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d0c09516-0fb7-42c0-a8da-b1275878f832",
"FieldId": "064ac0c9-c810-4620-8b51-5e867a27e262",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d0c09516-0fb7-42c0-a8da-b1275878f832",
"FieldId": "064ac0c9-c810-4620-8b51-5e867a27e262",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0c641692-720a-4fe9-ba5e-c75c727e0f91",
"CreateDate": "2026-06-30T11:45:29.8271952-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:45:29.8271952-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": "6b8e204c-8b1e-4072-8d8b-d931dba88669",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "61508eb2-2817-495b-b410-fc65035640fc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d8ba7460-e656-4eae-bf3c-3d7ffd14a054",
"CreateDate": "2026-06-30T11:45:29.8271952-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:45:29.8271952-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "52fe5603-188f-44ac-b307-3da266ab0d07",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1079b3d0-f946-46b8-9ad8-9140543879e1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4d6803b3-110a-409b-9bf1-aa901d9129ce",
"CreateDate": "2026-06-30T11:45:29.8271952-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-30T11:45:29.8271952-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0e52585e-2c39-4350-8042-c57cb0b7c83d",
"FieldId": "0055d236-c6d8-4999-a997-cb41fcc8e342",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0e52585e-2c39-4350-8042-c57cb0b7c83d",
"FieldId": "0055d236-c6d8-4999-a997-cb41fcc8e342",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "82e80d09-2adf-48e5-ba2e-ee30d458b523",
"CreateDate": "2026-06-30T11:45:29.8271952-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-30T11:45:29.8271952-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}