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": "bd2f3d5f-a887-46bb-b4f4-9e77e21f4caf",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a7c22d2f-84a5-445b-990a-99b5c76ac6f9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2ccc90f5-7fd3-4414-9dc2-049d0f4987cb",
"CreateDate": "2025-12-01T15:12:48.0926962-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:12:48.0926962-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "553ee999-5dd3-4e78-a991-8149ca548cab",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4a5ed7d1-0650-4b4a-ad49-ca0a6e590cdf",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c7bad3a3-67cc-454e-ae40-24be5b873bcd",
"CreateDate": "2025-12-01T15:12:48.0926962-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:12:48.0926962-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dc483f2f-dd28-4906-a358-f4528dfa1f0b",
"FieldId": "c88972c3-89c7-4463-bb91-ff6acb926c12",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dc483f2f-dd28-4906-a358-f4528dfa1f0b",
"FieldId": "c88972c3-89c7-4463-bb91-ff6acb926c12",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "bf25eda8-ad6d-41b3-9189-60c42518a91f",
"CreateDate": "2025-12-01T15:12:48.0926962-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:12:48.0926962-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": "6682e94b-74c6-41f9-abac-e30938882943",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "76e56937-4b95-431e-8e9a-b4cb95caa87a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9bb00a27-61ad-42d2-a82d-020f819593ed",
"CreateDate": "2025-12-01T15:12:48.0926962-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:12:48.0926962-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "c68f2130-68b0-4c12-b023-2f748312356b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6e099775-d9e2-44e3-ad2a-fecf4a0d8a8e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8e1dbb3b-af76-40eb-8500-95494e1e2488",
"CreateDate": "2025-12-01T15:12:48.0926962-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:12:48.0926962-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b21b9ef4-acbc-4c82-8acc-e8d59e11b01e",
"FieldId": "507b4802-ef55-4f64-9673-61127e004eb2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b21b9ef4-acbc-4c82-8acc-e8d59e11b01e",
"FieldId": "507b4802-ef55-4f64-9673-61127e004eb2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "7ecf55e0-abd6-4312-a6b4-770f8a17074a",
"CreateDate": "2025-12-01T15:12:48.0926962-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:12:48.0926962-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}