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": "ef62fe45-ea4c-4972-8b8c-50f7bd8353ea",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ddd7ad09-d44a-4fae-b482-bf477c3cdd99",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9a5ca961-a2dd-4c63-a327-6da722105575",
"CreateDate": "2026-01-02T17:40:10.4490506-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T17:40:10.4490506-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a2e5043e-b3ac-4f3d-8446-be29eb25a529",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "638b1bcc-0129-4edd-9a3b-1362fc276549",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a5efa1f4-4f70-4520-9b98-0fa86392613a",
"CreateDate": "2026-01-02T17:40:10.4490506-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T17:40:10.4490506-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d22ef99b-09b3-4258-9e74-04639298bf92",
"FieldId": "2d2c4b10-1bb4-49d7-b148-f3c94345d8a3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d22ef99b-09b3-4258-9e74-04639298bf92",
"FieldId": "2d2c4b10-1bb4-49d7-b148-f3c94345d8a3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "cec32338-3eca-4b61-94c4-bcdba211bb37",
"CreateDate": "2026-01-02T17:40:10.4490506-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T17:40:10.4490506-08: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": "ad987d35-c715-490a-ae1a-3af19b5fa5ba",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "df9648c3-b287-4637-893e-5858e105aa17",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "bda4823f-9714-4cc3-b948-dd08028ac6ef",
"CreateDate": "2026-01-02T17:40:10.4490506-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T17:40:10.4490506-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e926cc40-9f51-4a57-a351-e5e34b59d640",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "50fc768c-2571-478e-9aa4-388a65c879f3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d340b7c0-39d1-49e5-ac77-500d28811fc9",
"CreateDate": "2026-01-02T17:40:10.4490506-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-02T17:40:10.4490506-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "325d95a5-4e6c-4717-a442-4e1452e9a3c8",
"FieldId": "0742206f-8a42-4ca0-af17-f4a978b500aa",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "325d95a5-4e6c-4717-a442-4e1452e9a3c8",
"FieldId": "0742206f-8a42-4ca0-af17-f4a978b500aa",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "b9428805-a51c-4600-b536-f4d5bce4da1f",
"CreateDate": "2026-01-02T17:40:10.4490506-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-02T17:40:10.4490506-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}