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": "a70f95bd-ae27-4078-8816-fb2d64323834",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "05b889e8-c133-4bba-b869-51403801e7a4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "eeb8b995-d191-4b8e-99ab-c7b66e15998b",
"CreateDate": "2026-02-11T01:22:32.1902935-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:22:32.1902935-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "e08b3407-8e0d-49fa-ad35-5e9af8b813fa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e703bdc6-3b8c-48cd-841e-f18c27ed3022",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5d056674-b6ec-4f11-ada7-c360d83d7295",
"CreateDate": "2026-02-11T01:22:32.1902935-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T01:22:32.1902935-08: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": "347d9ab9-5af4-4e38-8d6f-bb6610035c20",
"CreateDate": "2026-02-11T01:22:32.1902935-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:22:32.1902935-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": "6207256a-2008-4120-92b7-1aff34f2f839",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "47f534d8-1f76-4e88-920f-ba0ed10f16a1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3d306607-ce98-4868-8fc1-ff0fd1802f27",
"CreateDate": "2026-02-11T01:22:32.1902935-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:22:32.1902935-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "f4e0dd59-692b-47fa-8afa-2b424baeaee3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d43034c0-f485-4b16-9584-a8811978ec24",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3fc28e2c-1536-4313-9aa5-ebf250bffff5",
"CreateDate": "2026-02-11T01:22:32.1902935-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-11T01:22:32.1902935-08: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": "52f56645-2da2-41d7-a493-5e51b86b21eb",
"CreateDate": "2026-02-11T01:22:32.1902935-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-11T01:22:32.1902935-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}