POST PropertyTypes
Creates a new property type.
Request Information
URI Parameters
None.
Body Parameters
Property type to create. PropertyTypeId should not be filled in.
PropertyTypeName | 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": "24f6e67e-ab5e-4faf-a2c6-74fc5c1aa75a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b9cb03e2-7fe7-4f9d-8cb4-6915afb54dda", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c084893c-0e72-4d00-8f9f-6a4c0c67ccb5", "CreateDate": "2025-06-30T23:40:14.1126527-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:40:14.1126527-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "0c3aa3f5-ec3c-4529-9d53-066eb6ceb995", "Name": "sample string 1" }, "Unit": { "UnitId": "444c6607-89b2-4821-88e8-9ae1f9a85d5a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "f449ca95-a73c-4167-a28d-1ed0e988d3c5", "CreateDate": "2025-06-30T23:40:14.1126527-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T23:40:14.1126527-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "05e80825-d8db-41ca-9f9f-63c48fd17ade", "FieldId": "c1fd5a13-55cd-4c57-8f15-db23dc404b8f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "05e80825-d8db-41ca-9f9f-63c48fd17ade", "FieldId": "c1fd5a13-55cd-4c57-8f15-db23dc404b8f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "f32d056c-c8d2-4107-b205-95d6a5613755", "CreateDate": "2025-06-30T23:40:14.1126527-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:40:14.1126527-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": "259c95b8-f5f3-4105-9bee-327f5d48508a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "b61a0f27-2609-491e-80ec-c59d489084a4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6537f28b-dca9-4274-bb9f-fed937a3bfa1", "CreateDate": "2025-06-30T23:40:14.1126527-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:40:14.1126527-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "028710e5-4472-4fe6-8cff-13c78ee51025", "Name": "sample string 1" }, "Unit": { "UnitId": "db0473ff-f1f6-4083-9254-3c5b9a53f57a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4ae615c5-1349-49dc-b073-26650d08f640", "CreateDate": "2025-06-30T23:40:14.1126527-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-30T23:40:14.1126527-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "97ab48ec-1707-48ac-b24f-4349e1007f3e", "FieldId": "ff563a40-14f7-4bb5-b6b8-db8d0e3f3cee", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "97ab48ec-1707-48ac-b24f-4349e1007f3e", "FieldId": "ff563a40-14f7-4bb5-b6b8-db8d0e3f3cee", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "a45f10d6-d63f-46d6-bdea-4728b01d562c", "CreateDate": "2025-06-30T23:40:14.1126527-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-30T23:40:14.1126527-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }