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 ValidValue |
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": "d06c62ee-7e8a-4854-a494-076739e7fb05",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "500856ca-e905-4e85-ad37-0ca21c9bd781",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a43c1da9-82ae-4b39-979a-3b6c179fb7d1",
"CreateDate": "2026-08-12T11:14:41.7870605-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:41.7870605-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "eadecd24-bc1e-43e3-970f-c65bc2310563",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bf5ee688-da22-42c4-891c-dd30ea02a949",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "659b0499-1810-4a0b-b929-de4ac41fb5df",
"CreateDate": "2026-08-12T11:14:41.7870605-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:41.7870605-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3e7eacb1-efbb-4585-9eaf-a73fe56b1327",
"FieldId": "307fbe65-699b-4dca-a479-ca01fcbf5442",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3e7eacb1-efbb-4585-9eaf-a73fe56b1327",
"FieldId": "307fbe65-699b-4dca-a479-ca01fcbf5442",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9502046a-5daa-46f5-abae-2e90cd14441e",
"CreateDate": "2026-08-12T11:14:41.7870605-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:41.7870605-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": "0498948b-03e1-4c2e-b9f9-4e861f50e8ad",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c2dc0fd3-5371-421c-b46a-0555a7cd727d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "deb927fa-7ac4-4631-b7d9-e58f5aa19125",
"CreateDate": "2026-08-12T11:14:41.7870605-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:41.7870605-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "351a26de-b137-40ae-85de-55d39b1e9703",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ee611e92-3619-40ae-86b6-b77c94a5824d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cb3ce6c1-4270-4410-8bde-0996f37c52dd",
"CreateDate": "2026-08-12T11:14:41.7870605-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:41.7870605-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5c36a045-2d44-4df0-9ee3-76363505dee8",
"FieldId": "19d28992-fa4e-438f-9016-86ab4ef01c87",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5c36a045-2d44-4df0-9ee3-76363505dee8",
"FieldId": "19d28992-fa4e-438f-9016-86ab4ef01c87",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "c3c4e1eb-5b7d-48ae-93c6-fb2731101447",
"CreateDate": "2026-08-12T11:14:41.7870605-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:41.7870605-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}