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": "c4edc6fb-d6c3-4850-9f46-391052e945df",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d0a641d7-65ce-4ec6-9a0e-a8bbc7381cf6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "c2e8e9c8-ad24-43e6-8b46-f8537dfb1391",
"CreateDate": "2026-10-27T23:45:07.4539967-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:45:07.4539967-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "ade04b6e-dd09-498f-82bf-cd10166cc33b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "785dfd33-945a-41c0-a03b-93ca8eb66cef",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b3687d48-0214-4b12-80f3-6a88763ca087",
"CreateDate": "2026-10-27T23:45:07.4539967-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:45:07.4539967-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "200f2194-ee13-475a-9699-d9be4db6d62c",
"FieldId": "fa6ed8be-df58-4961-b6b0-f60bd5e4db9c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "200f2194-ee13-475a-9699-d9be4db6d62c",
"FieldId": "fa6ed8be-df58-4961-b6b0-f60bd5e4db9c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "9b843e3f-7211-4537-8f88-28072b0ab4aa",
"CreateDate": "2026-10-27T23:45:07.4539967-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:45:07.4539967-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": "f3fe1946-5471-4816-8ee0-a69ee413c1d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "444c1a92-0a1a-45b2-94e6-c1faa7477ab5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b85cbc22-62d0-40d3-b800-09c11360006f",
"CreateDate": "2026-10-27T23:45:07.4539967-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:45:07.4539967-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "83e2db9d-f82b-4588-a398-ab0568d81947",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "96692a26-0e9b-4c0a-b219-f64c441da00b",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "432d1a7b-cc2e-443b-942c-0356884be80d",
"CreateDate": "2026-10-27T23:45:07.4539967-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-27T23:45:07.4539967-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "15cc8cdc-7820-4d59-a283-85860a6521ac",
"FieldId": "f10b32ab-217e-4b2e-a9ab-b6a2301312f4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "15cc8cdc-7820-4d59-a283-85860a6521ac",
"FieldId": "f10b32ab-217e-4b2e-a9ab-b6a2301312f4",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "f081747c-a10d-411f-9a53-b697847dc957",
"CreateDate": "2026-10-27T23:45:07.4539967-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-27T23:45:07.4539967-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}