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": "b645e831-99be-46b1-a8a4-613dc370b52b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c5b981a1-56e1-4f0a-88d0-d3964e304563",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d97d13f8-6a48-4947-b2a0-fd9f5400ab4e",
"CreateDate": "2026-03-13T12:55:32.9511629-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T12:55:32.9511629-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "5d5c309d-4943-43ab-9510-97f8961f7024",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "c77b054f-12f9-4378-8177-50f44843b4b5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "e143d049-ca67-4768-bf5b-3e2be18a7cf8",
"CreateDate": "2026-03-13T12:55:32.9511629-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T12:55:32.9511629-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "815c1346-397d-4a0b-a047-f1d042189137",
"FieldId": "b1764ec0-4c59-4c5f-a1c7-8bfb405bd0b3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "815c1346-397d-4a0b-a047-f1d042189137",
"FieldId": "b1764ec0-4c59-4c5f-a1c7-8bfb405bd0b3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "26ba987a-0dad-440a-9710-368e990e9343",
"CreateDate": "2026-03-13T12:55:32.9511629-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T12:55:32.9511629-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": "b45c21d5-6d94-4b65-887e-26be35c93d74",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9e15b82d-4137-4519-aca7-ef35d122e7af",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3b6b9947-c2ad-4b7f-9dcd-1fb480aed06b",
"CreateDate": "2026-03-13T12:55:32.9511629-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T12:55:32.9511629-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "52665d48-ceb2-4608-a56c-a0daf2984e8d",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e6ff37e-d023-406f-b20b-77349d1cb1cd",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c12fd439-ceb1-4c3b-9cfa-a86117da5e46",
"CreateDate": "2026-03-13T12:55:32.9511629-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-13T12:55:32.9511629-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9312be6e-d919-4706-b839-c4e149f2f514",
"FieldId": "da0a9c25-d781-4646-b718-731c84355d3e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9312be6e-d919-4706-b839-c4e149f2f514",
"FieldId": "da0a9c25-d781-4646-b718-731c84355d3e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "3503d8b7-d7ce-4fa3-bcb8-a48e972bca66",
"CreateDate": "2026-03-13T12:55:32.9511629-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-13T12:55:32.9511629-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}