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": "abb60b9e-a171-44a6-abc3-43670c751174",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "37846891-ba4c-4615-aea7-9df7ec78d226",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a0fdd0db-f6be-4f15-aa42-6bd2f5d8250f",
"CreateDate": "2026-11-01T06:44:38.8917815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T06:44:38.8917815-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "85420cad-f060-4e06-b1b0-ae9609554d5b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "869d99cb-45f6-4890-9a91-03fe5ea9622c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "be39e5ff-e23e-430c-b8f0-ca5fc8b7be6a",
"CreateDate": "2026-11-01T06:44:38.8917815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T06:44:38.8917815-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "fa08a493-42f6-4c64-988d-fa1d085ae299",
"FieldId": "8a5930db-14b8-4aec-b6a8-72cabd76955e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "fa08a493-42f6-4c64-988d-fa1d085ae299",
"FieldId": "8a5930db-14b8-4aec-b6a8-72cabd76955e",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "925318f3-33e4-4bbe-9c4a-91b1284270de",
"CreateDate": "2026-11-01T06:44:38.8917815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T06:44:38.8917815-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": "6eb30ccc-865c-40a4-b4a7-6faa797434d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "97a6f8d5-f6ea-4d38-a915-4a84f1b041f4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "161af309-751b-4ecd-818a-6600662542d3",
"CreateDate": "2026-11-01T06:44:38.8917815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T06:44:38.8917815-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "f5011a28-5bc0-4522-aabf-0b429900e82f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8d293a78-4571-4e00-bdd7-73746c4996ec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b528074-7cbd-4c72-b942-9843a624d894",
"CreateDate": "2026-11-01T06:44:38.8917815-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T06:44:38.8917815-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "478c3d34-73e2-4010-8d1c-84ba9f7f8be5",
"FieldId": "bd5cdb59-d030-40e7-b70d-d4470c71f1e9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "478c3d34-73e2-4010-8d1c-84ba9f7f8be5",
"FieldId": "bd5cdb59-d030-40e7-b70d-d4470c71f1e9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "e10d4c94-b329-4f35-8b9d-b6f2a19b7436",
"CreateDate": "2026-11-01T06:44:38.8917815-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T06:44:38.8917815-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}