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": "23a3e1aa-597f-4667-90b2-b3d31ea7b8d6",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "22f942c1-e05d-46f7-a44d-2396c9f75d7b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "fa6a10c4-cef6-4de3-a2a6-c95072164e87",
"CreateDate": "2026-02-12T01:16:11.9852768-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:16:11.9852768-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "210335fd-dd6d-4bc8-849a-6452d3331cfe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "327f120a-6528-4210-875d-14bb63488798",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "06e6e10f-117f-44c8-8bb9-18dd9290685e",
"CreateDate": "2026-02-12T01:16:11.9852768-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-12T01:16:11.9852768-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "3d329b47-94ac-4f70-b3f9-d221e16a1367",
"FieldId": "e7780313-4fb0-4896-a66b-738b8f82f647",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "3d329b47-94ac-4f70-b3f9-d221e16a1367",
"FieldId": "e7780313-4fb0-4896-a66b-738b8f82f647",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "7ee47660-6a4a-4ce5-8329-4f9f9be9ebf3",
"CreateDate": "2026-02-12T01:16:11.9852768-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:16:11.9852768-08: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": "14d79046-1510-4f5e-a695-9f23daba941b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e7e5d55e-4702-45c3-8f59-4f180eee5ab1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "91864384-d74a-4036-b132-8aebe2601378",
"CreateDate": "2026-02-12T01:16:11.9852768-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:16:11.9852768-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b45fae07-bd66-4351-9278-a3b540d51760",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "70b95c12-2192-4ce6-890a-d7b1d73d07ac",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d0eaa6e6-406e-4662-a1ae-8515ea328ee6",
"CreateDate": "2026-02-12T01:16:11.9852768-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-12T01:16:11.9852768-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2e459d0d-2db5-4a03-bf7e-86d5da0cd89b",
"FieldId": "fc57c394-4268-4071-be98-81020b46f1d9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2e459d0d-2db5-4a03-bf7e-86d5da0cd89b",
"FieldId": "fc57c394-4268-4071-be98-81020b46f1d9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"SourceSystemId": "sample string 4",
"CompanyId": "005cf62e-4d1b-4f27-9d8b-a162194efd8e",
"CreateDate": "2026-02-12T01:16:11.9852768-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-12T01:16:11.9852768-08:00",
"LastModifiedUser": "sample string 7"
},
"Total": 1,
"Message": "sample string 1"
}