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": "357e7d00-5194-45dc-9f86-083dc3fc2405", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f79245e5-7dc8-420a-8c68-41bdc86a26bc", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "897c3acb-4d3d-42ec-a1f3-7a901757e488", "CreateDate": "2025-06-16T14:34:36.7734442-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:34:36.7734442-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "68219310-956a-4904-b570-94050e9ed633", "Name": "sample string 1" }, "Unit": { "UnitId": "81c10737-d2ac-4903-b25a-dd7969950688", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d447dcab-e046-4d21-b2db-4b290b6ef62e", "CreateDate": "2025-06-16T14:34:36.7734442-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T14:34:36.7734442-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "87d08f0f-59e9-4077-9358-c2c1d68ba6fa", "FieldId": "d58680fb-1d9d-4267-b9f1-504a88a38586", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "87d08f0f-59e9-4077-9358-c2c1d68ba6fa", "FieldId": "d58680fb-1d9d-4267-b9f1-504a88a38586", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "adced787-b209-44bd-8edc-9869755fba99", "CreateDate": "2025-06-16T14:34:36.7734442-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:34:36.7734442-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": "a4a915b1-6302-48c9-902a-e7b061d17d9a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "666170cd-b7df-44f6-8d9a-1c1452347173", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7d61a161-6b7a-4cb7-a8ba-397a756bcdd3", "CreateDate": "2025-06-16T14:34:36.7734442-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:34:36.7734442-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "ffd27e01-2679-4a21-a7a9-f23c5f99ff64", "Name": "sample string 1" }, "Unit": { "UnitId": "326d8035-89e3-4555-b236-2c2c8a92e066", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d1f9c51f-d601-4a70-ab2d-e1ebf96265ae", "CreateDate": "2025-06-16T14:34:36.7734442-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-16T14:34:36.7734442-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "bf0eb39a-5cbf-435a-9628-ad433906b093", "FieldId": "afab385a-22bb-4682-a31c-b2c94823c46f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "bf0eb39a-5cbf-435a-9628-ad433906b093", "FieldId": "afab385a-22bb-4682-a31c-b2c94823c46f", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "5fc6487c-da06-4eca-936e-80212897095b", "CreateDate": "2025-06-16T14:34:36.7734442-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-16T14:34:36.7734442-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }