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": "78d214e8-0efb-4132-b64c-69392757a6df",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d93c2979-3248-453c-9629-adfc0ea72b74",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "1129ae07-e8e3-415d-9f5e-7df22caf19f1",
"CreateDate": "2026-03-24T07:57:10.8886474-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:57:10.8886474-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "593242c3-b0a2-4a5f-96f9-e817f52f5818",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cc5b5335-703c-486f-896a-9effd0d75039",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3e86d14e-74c3-4aa8-9f5f-724ab193c66b",
"CreateDate": "2026-03-24T07:57:10.8886474-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:57:10.8886474-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "4645d980-892a-430b-8797-366bb21c88a0",
"FieldId": "76cdf511-7cab-4eb2-831f-2e230f908b31",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "4645d980-892a-430b-8797-366bb21c88a0",
"FieldId": "76cdf511-7cab-4eb2-831f-2e230f908b31",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5e156172-7e2c-4620-8ff3-87ac88a7a58f",
"CreateDate": "2026-03-24T07:57:10.8886474-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:57:10.8886474-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": "91645b85-de05-48a7-9b1a-cf809ab2107c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9f247f00-ea7c-42c8-8cb8-2e550526c984",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ca36baf5-7962-4c2b-87a9-6b3651d59f00",
"CreateDate": "2026-03-24T07:57:10.8886474-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:57:10.8886474-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "75223a3a-a1ba-4444-b431-7282000df24a",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b30756ee-422f-44dc-86cd-ca76db4fb309",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0808c9a5-f45d-4800-9175-e01f8a9a1677",
"CreateDate": "2026-03-24T07:57:10.8886474-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-24T07:57:10.8886474-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3406fe36-ca4b-44d8-8ac0-9e1c41e203c1",
"FieldId": "501e7e6a-0673-400f-92a0-2e4d92f2d004",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3406fe36-ca4b-44d8-8ac0-9e1c41e203c1",
"FieldId": "501e7e6a-0673-400f-92a0-2e4d92f2d004",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "5ad69655-480e-4fad-bb41-204b6fb9ea75",
"CreateDate": "2026-03-24T07:57:10.8886474-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-24T07:57:10.8886474-07:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}