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": "403ef18b-8787-4042-b99c-f8364497e5d8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e6cccd53-1c8a-459c-b047-e383584a72ba",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "4c587ab9-eab6-4e8b-ac5c-ecb1161d40e4",
"CreateDate": "2026-06-28T09:39:11.902825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:39:11.902825-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e307c7d8-0678-4793-a381-5823518fb8fb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "48f5a6d1-8684-4a36-a90f-aa07d4bedadb",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5f176873-a6d7-4213-bfa3-bd3f27c500bd",
"CreateDate": "2026-06-28T09:39:11.902825-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:39:11.902825-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": "34fa5a3d-6600-4fe7-acd4-b12d0752b62c",
"CreateDate": "2026-06-28T09:39:11.902825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:39:11.902825-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": "11699c07-3e6e-49ff-93fc-d6751c5527e1",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e7b8dd97-7fcf-49bd-8143-de35340f8216",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a5542b14-793a-4fe9-b7cb-9a538724b0b6",
"CreateDate": "2026-06-28T09:39:11.902825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:39:11.902825-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "bc7a4f80-5d58-48a9-aaa1-8738489e9a29",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2c35e52f-1081-4107-a535-e09b764f5f3d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "24b8eefa-433e-4409-b84e-cc97bcb7d1e4",
"CreateDate": "2026-06-28T09:39:11.902825-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T09:39:11.902825-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": "17499a80-ebd9-43c2-998d-6fbb920d72f8",
"CreateDate": "2026-06-28T09:39:11.902825-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T09:39:11.902825-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}