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": "5eb8e27e-2a8a-4f04-af48-2a6a5313e8b5",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "860b4095-d8b4-4bfd-a15a-167532e3caf9",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "788f2f88-9303-4b5f-b816-f481bf6123ee",
"CreateDate": "2026-09-22T03:29:53.493604-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-22T03:29:53.493604-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "048759c6-33c9-42ac-8251-387bd86ea5e5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9bea22b4-9286-4f70-ae1d-26365582b63e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "15a7c7e0-a038-4900-9ba8-bb3176d6373c",
"CreateDate": "2026-09-22T03:29:53.493604-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-22T03:29:53.493604-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "1223d742-8e02-4d55-b127-7349180dcd17",
"FieldId": "dc8a3bda-464c-4ead-b767-5bf56c9032db",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "1223d742-8e02-4d55-b127-7349180dcd17",
"FieldId": "dc8a3bda-464c-4ead-b767-5bf56c9032db",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "848ad9c2-ac9b-4977-9303-bae9fd4340fd",
"CreateDate": "2026-09-22T03:29:53.493604-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-22T03:29:53.493604-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": "4740eae3-a747-4e6e-ab4a-1fdc8ba78a9d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "90755c2b-425c-47e6-afbf-4f48537f0658",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "839280cf-d896-4724-8930-97b6a6e31af0",
"CreateDate": "2026-09-22T03:29:53.5092297-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-22T03:29:53.5092297-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0e74903e-fc4a-4525-af45-16657e03d77c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "264a91d4-6423-47fb-935b-c816baf76e85",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "547c2df5-2a5e-4c79-a051-effebfb73a32",
"CreateDate": "2026-09-22T03:29:53.5092297-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-22T03:29:53.5092297-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "32014b1d-e751-4d1f-ade4-daad285ed7f4",
"FieldId": "98f20f03-0603-4963-a12d-558d54dd26e2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "32014b1d-e751-4d1f-ade4-daad285ed7f4",
"FieldId": "98f20f03-0603-4963-a12d-558d54dd26e2",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "2165a033-1d9a-493b-be30-3ca4b3a52976",
"CreateDate": "2026-09-22T03:29:53.5092297-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-22T03:29:53.5092297-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}