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": "4471f321-772c-4a1e-8354-271bebae5c90",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a521171b-a9bc-4387-81c1-fb959117e933",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "dfe06635-7a1f-4f76-9a30-4ad737a598b7",
"CreateDate": "2026-11-21T15:32:23.2176894-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T15:32:23.2176894-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6ee4f166-036b-469e-a2e6-13af41cc6354",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "f2518066-4bed-4a6e-8ee9-f388b4001458",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "69f265bc-23e9-48e1-9b58-2d6206c2d8ff",
"CreateDate": "2026-11-21T15:32:23.2176894-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T15:32:23.2176894-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": "0a4b42c7-c9e7-4d35-893c-8845853b0efa",
"CreateDate": "2026-11-21T15:32:23.2176894-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T15:32:23.2176894-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": "0de36459-6649-49e9-80d8-ec182f5f83a9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "afb5c4c9-bde0-410a-87a1-553b8151e63a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ad7da697-866c-4603-a9a3-fac08b07a0de",
"CreateDate": "2026-11-21T15:32:23.2176894-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T15:32:23.2176894-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "91ab92a6-b5f9-4f63-a525-24e73b3b6bfd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "feffd538-7870-4ae0-981d-1d2e609b6a31",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "a2c7dd7e-bc72-4779-8a34-c161c786b9f9",
"CreateDate": "2026-11-21T15:32:23.2176894-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T15:32:23.2176894-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": "aa0c7614-2c43-4377-90d3-0b42b93f7ba4",
"CreateDate": "2026-11-21T15:32:23.2176894-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T15:32:23.2176894-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}