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": "d3cb24a6-62cd-49e7-b84d-a907a4f87894",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "26a3445a-3f77-4f5a-9180-1012a78167ee",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "559f6aa3-50c6-4282-98cd-dccdc6a63aad",
"CreateDate": "2025-12-10T04:59:42.7841274-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:42.7841274-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "8e034ad8-ac95-4a0a-986b-25b885f44d43",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bcdb1959-c407-460d-b844-17741c2cff09",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "645e8334-4a62-48ec-b3fe-3d4aa57f3201",
"CreateDate": "2025-12-10T04:59:42.7841274-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T04:59:42.7841274-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0ea4b63d-dd4f-4646-aef6-d866f0fc9140",
"FieldId": "130fabf0-2caf-45c9-b059-64e97f25545f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0ea4b63d-dd4f-4646-aef6-d866f0fc9140",
"FieldId": "130fabf0-2caf-45c9-b059-64e97f25545f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "a3ad6aaf-c064-4796-9dc6-0cec5c471b3b",
"CreateDate": "2025-12-10T04:59:42.7841274-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:42.7841274-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": "d4436c1d-7bff-4f19-bda7-ac87200f1876",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "877099c0-a96f-46c4-9596-b145363a499a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "05d135f0-b976-4fdc-ab52-7a4be62c6d40",
"CreateDate": "2025-12-10T04:59:42.7841274-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:42.7841274-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "f2a58f16-9f16-411d-b074-2ee56023cba5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4d909dca-da22-44cf-8a4f-ee9d43ad80ec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c0b0777d-67bd-41ff-b880-4a07337ac4db",
"CreateDate": "2025-12-10T04:59:42.7841274-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-10T04:59:42.7841274-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "a3300442-2638-488f-bf4f-fe508bf24920",
"FieldId": "f2f34b39-8fa1-489b-b455-a65733b23109",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "a3300442-2638-488f-bf4f-fe508bf24920",
"FieldId": "f2f34b39-8fa1-489b-b455-a65733b23109",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e482efb1-bb7b-4c16-ba6a-f417a87903c1",
"CreateDate": "2025-12-10T04:59:42.7841274-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-10T04:59:42.7841274-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}