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": "3a63b69f-c590-40b3-9610-4bcceb9a5571",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6476bf0a-ddfb-44bd-bdba-e23d6432a534",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a5de61ce-bfe5-4e8b-918c-249b8a78746c",
"CreateDate": "2026-01-16T16:19:19.3900089-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:19:19.3900089-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "05e16052-ae7b-4b46-8bda-74615294a868",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d849d62c-6542-4251-8dd0-f03fb17ff950",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d67e3d68-19e0-4256-bc40-0e30bb9e7b10",
"CreateDate": "2026-01-16T16:19:19.3900089-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:19:19.3900089-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fc6ee129-5d40-4fef-b7cf-539f424c2af8",
"FieldId": "e377d0ab-6dce-4fcb-b2a9-eb2f0a5dc768",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fc6ee129-5d40-4fef-b7cf-539f424c2af8",
"FieldId": "e377d0ab-6dce-4fcb-b2a9-eb2f0a5dc768",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "64ae23d1-aae2-4e27-9241-3700063a8e57",
"CreateDate": "2026-01-16T16:19:19.3900089-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:19:19.3900089-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": "e4f156f3-ebed-492f-8646-a8de59cb301a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5a699f79-1148-44e2-bc2e-86768b41780d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "38a4670c-35f1-4da5-975a-143142ee6ef2",
"CreateDate": "2026-01-16T16:19:19.3900089-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:19:19.3900089-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "d63e1e0d-eebc-41e0-a370-e9d9dc64144c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b4257807-dcad-48fb-ab44-1d0338784547",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1b086895-feb8-43f2-bfa6-d43bf3ddac90",
"CreateDate": "2026-01-16T16:19:19.3900089-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T16:19:19.3900089-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "217b1b4c-4ad5-4174-a30c-f0a66b77429b",
"FieldId": "18cc0dca-1e6f-47d7-af93-8ecca9d255b1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "217b1b4c-4ad5-4174-a30c-f0a66b77429b",
"FieldId": "18cc0dca-1e6f-47d7-af93-8ecca9d255b1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "1f4a172a-97b3-44b6-aedf-5bc6763b330c",
"CreateDate": "2026-01-16T16:19:19.3900089-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T16:19:19.3900089-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}