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": "9ae6d96f-ede0-42bc-906c-01dcd57f657a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2c8795e5-4d51-47d0-b842-2b46333f7c8a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8a9baa4c-5403-4f81-a47c-803853c8d25a",
"CreateDate": "2026-10-12T10:16:49.8262055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-12T10:16:49.8262055-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b9a099e7-402b-44ee-b99f-b33cd456bd30",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "eecc1022-88f1-47b5-8e3f-e4583ba7aec0",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "ef3dca1e-6c1c-4b12-8f12-36b361d71a38",
"CreateDate": "2026-10-12T10:16:49.8262055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-12T10:16:49.8262055-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "69b0517b-4dd3-4480-9caa-79bc634a8806",
"FieldId": "77293cf0-f17a-43f4-94b4-8b61bca905a6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "69b0517b-4dd3-4480-9caa-79bc634a8806",
"FieldId": "77293cf0-f17a-43f4-94b4-8b61bca905a6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "ab86b4e0-a95d-4a77-bdcd-4a2346b81d48",
"CreateDate": "2026-10-12T10:16:49.8262055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-12T10:16:49.8262055-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": "77c0b2f4-628f-489e-ace5-248210c4fbfd",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d0d44c8b-760a-40d7-8d5c-7af41bcce865",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3dda75ce-da96-4f3a-a30e-f701b575275f",
"CreateDate": "2026-10-12T10:16:49.8262055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-12T10:16:49.8262055-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "3f45454b-80bd-4056-9ddd-da2bd5be043a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "790b09a3-83b4-450a-8a53-65d440a8201e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6161f682-44c3-43e7-9565-66567feee26b",
"CreateDate": "2026-10-12T10:16:49.8262055-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-12T10:16:49.8262055-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bba1c3c4-cad9-4e81-b1bd-f08f7df84507",
"FieldId": "4f9241c5-3395-4642-98b2-edd9415e96cf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bba1c3c4-cad9-4e81-b1bd-f08f7df84507",
"FieldId": "4f9241c5-3395-4642-98b2-edd9415e96cf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "be70088e-2f0b-4e75-86eb-9aa4329a2827",
"CreateDate": "2026-10-12T10:16:49.8262055-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-12T10:16:49.8262055-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}