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": "797569aa-7fd6-4a1f-939f-8d077e12f856",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d5c93c3a-2281-47cf-99b6-cdbcfe6d7afa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "2534b6f6-f864-491a-b0c7-c17ea5bb17b5",
"CreateDate": "2025-12-31T16:43:30.2039306-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:43:30.2039306-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0a3fc5e1-6790-4774-a97c-fe30e05adb4c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "de584532-61d2-4a9b-902d-daaa32040b22",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "55538f32-ef3c-4b92-8722-f33b962cb23f",
"CreateDate": "2025-12-31T16:43:30.2039306-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:43:30.2039306-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": "9545242e-248f-41da-a1c6-e9bd21e305f2",
"CreateDate": "2025-12-31T16:43:30.2039306-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:43:30.2039306-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": "41764dc7-c1af-41c5-aab5-380520c9fc8a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e00625c5-2bae-4036-824d-4c598183f4b6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "295b64d3-23dd-4322-b173-5c0c1de9aa7e",
"CreateDate": "2025-12-31T16:43:30.2039306-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:43:30.2039306-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "1fdaf3b4-e5e0-4da6-a952-1af212284ca6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d5034db5-110d-4d5d-af91-4d81a4355ce9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a51e8eb9-cf3b-463b-be4e-9a127f2663d8",
"CreateDate": "2025-12-31T16:43:30.2039306-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-31T16:43:30.2039306-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": "2ffa6c03-eebf-450d-8099-0cf5c86d7d54",
"CreateDate": "2025-12-31T16:43:30.2039306-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-31T16:43:30.2039306-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}