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": "fee873b4-ec72-415d-a48b-b2bf96151ac9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "89610a90-0b4f-4cb2-b64f-57b4780bbd00",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "623d6e86-6dfd-4a29-b0bc-f0c129e8eccb",
"CreateDate": "2026-05-20T12:03:41.8776175-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T12:03:41.8776175-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "bd0f8cd2-30b8-4f95-9b56-cda9eac929aa",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "acec438d-d7d8-437f-b4e5-565efc7a2333",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a7c6bbe-eec5-4704-85d4-191fb9ad8560",
"CreateDate": "2026-05-20T12:03:41.8776175-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T12:03:41.8776175-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d6a4ea21-9292-4791-b976-d38ebb975609",
"FieldId": "6d33ce89-4178-447e-bbda-aad754ab38cb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d6a4ea21-9292-4791-b976-d38ebb975609",
"FieldId": "6d33ce89-4178-447e-bbda-aad754ab38cb",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "bee9fa92-f5f7-4db3-b39e-e3fab6b57ee2",
"CreateDate": "2026-05-20T12:03:41.8776175-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T12:03:41.8776175-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": "5805624c-14ab-44ef-88c3-3e7bcef47c4a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cbb25d9a-0db0-4f97-856c-5d160c5bdc54",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "6e2136b5-c4f0-41e6-8305-cff4fa72d78a",
"CreateDate": "2026-05-20T12:03:41.8776175-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T12:03:41.8776175-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4517f0d6-1efa-4f5d-b7d8-f0a462b55578",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "21a8e097-7532-4879-b8df-e3f16b7a9886",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "da2a839c-8dc5-4e08-a04a-f89c596af751",
"CreateDate": "2026-05-20T12:03:41.8776175-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T12:03:41.8776175-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ea29f8b9-cd3e-42f0-8eca-2abae74a868d",
"FieldId": "a2fd62a3-dfe2-4950-9b0d-3e3813a570d3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ea29f8b9-cd3e-42f0-8eca-2abae74a868d",
"FieldId": "a2fd62a3-dfe2-4950-9b0d-3e3813a570d3",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "7f16c1c3-ad64-47fa-8527-dcc7011b4537",
"CreateDate": "2026-05-20T12:03:41.8776175-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T12:03:41.8776175-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}