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 string |
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": "18628ff5-f3c2-4c09-a26f-56107d2f63f3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "3732bd7f-b396-4200-aa70-9fcde7b8b982",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "38e4fbbb-19b8-4473-aa35-42f64ceefe37",
"CreateDate": "2026-09-28T13:12:08.7247011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T13:12:08.7247011-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ff425152-089f-427a-af29-27c1d5e3eff3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f91b611f-3264-417f-8fe8-c2747de46dc9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "50f27b00-2061-4828-bbf0-6735a349e957",
"CreateDate": "2026-09-28T13:12:08.7247011-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T13:12:08.7247011-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "76a1ef24-bb48-45c3-af82-417e2d042b36",
"CreateDate": "2026-09-28T13:12:08.7247011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T13:12:08.7247011-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": "0a246ca5-a1b6-43a8-864b-052fbda2e862",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "89a7212a-3801-4a91-85ed-3b6c0903193f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2cc41dff-3a16-410f-b9f5-22efb50e935e",
"CreateDate": "2026-09-28T13:12:08.7247011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T13:12:08.7247011-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "70462ec3-f49a-47d0-9089-3f7a6d93db55",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4d90f4c6-8e7a-4bab-bb11-1715933c1846",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "492a0115-ba58-448f-81c3-2ed376b418ca",
"CreateDate": "2026-09-28T13:12:08.7247011-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-28T13:12:08.7247011-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
"sample string 1",
"sample string 2"
],
"SourceSystemId": "sample string 4",
"CompanyId": "729e7a23-2990-4f11-8ee8-f65d169e1db4",
"CreateDate": "2026-09-28T13:12:08.7247011-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-28T13:12:08.7247011-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}