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": "ee676533-bf7d-4b12-a1b9-a600b9a3711a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c34a81c9-8f10-4ba5-beff-429ac2d9970e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "29fe8060-a4ea-43f5-ba05-63214f991a3e",
"CreateDate": "2026-06-25T05:22:20.0020693-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T05:22:20.0020693-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "23c44fa4-b563-4388-8fa8-39f9267a44c6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "db5d6c22-e8b8-49e3-a94f-8c8e9dfaaa2a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8281ff09-ac45-4814-8be3-8cbaebf0ea00",
"CreateDate": "2026-06-25T05:22:20.0020693-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T05:22:20.0020693-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "83d7a578-05ef-45ec-8ea0-3e04a53cf938",
"FieldId": "8f25f887-5cce-4ff9-8e4d-65e5888652ac",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "83d7a578-05ef-45ec-8ea0-3e04a53cf938",
"FieldId": "8f25f887-5cce-4ff9-8e4d-65e5888652ac",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "91e6e94b-31fa-4572-98ae-4942abab7245",
"CreateDate": "2026-06-25T05:22:20.0020693-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T05:22:20.0020693-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": "a7238f03-1df8-4cc6-823b-71c63784a0fe",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d5893323-47b6-48a7-bb75-70241afc101f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "39d5ee13-e1f0-4ecf-bba0-5004d3a55136",
"CreateDate": "2026-06-25T05:22:20.0020693-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T05:22:20.0020693-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "16a8475d-5cb9-4dfa-8073-077fc4adb9df",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2e9223b5-eff0-4f09-9f61-a02a5d862e39",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c4c8e990-21af-47bc-83bf-5dfd0e1261d7",
"CreateDate": "2026-06-25T05:22:20.0020693-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-25T05:22:20.0020693-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9d1a5b11-281c-4589-a262-89ba09e81505",
"FieldId": "359ea16c-71ca-42aa-b7df-9fc0bb6eadab",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9d1a5b11-281c-4589-a262-89ba09e81505",
"FieldId": "359ea16c-71ca-42aa-b7df-9fc0bb6eadab",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "0448bbf7-255b-4373-ba2e-dadc6e807be0",
"CreateDate": "2026-06-25T05:22:20.0020693-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-25T05:22:20.0020693-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}