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": "3700d168-25e5-4f23-9fe9-674a8b75e897", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "ef7c077d-75c7-40ff-b7b4-473e77734720", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f94d0649-cb78-43f2-baf6-39f36a8fe0a6", "CreateDate": "2025-09-13T21:02:20.1226129-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:20.1226129-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b61bdff2-502a-4361-9d9f-39cca2d24cd4", "Name": "sample string 1" }, "Unit": { "UnitId": "0b66bdd0-8082-4946-8e93-f8da1f6baf90", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a7e10914-b60e-46ef-b410-72789cf4a9db", "CreateDate": "2025-09-13T21:02:20.1226129-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:02:20.1226129-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3c6a9cd7-0a48-4c76-9da5-80af05a0feca", "FieldId": "2f43abe3-8e64-4e2b-8113-143e4256f5d5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3c6a9cd7-0a48-4c76-9da5-80af05a0feca", "FieldId": "2f43abe3-8e64-4e2b-8113-143e4256f5d5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "563825ab-3ae5-4a6a-bf2a-5fa41784df6f", "CreateDate": "2025-09-13T21:02:20.1226129-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:20.1226129-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": "d0ad1bc2-3199-481d-81c3-dca2dd0ecf97", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "0cb7d0f8-42fd-4b25-b3d3-da45e3c1d1e1", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f7b8475f-1fc5-4a18-9580-5c27c1d56da0", "CreateDate": "2025-09-13T21:02:20.1382383-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:20.1382383-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "cbcfdde3-e7d4-4d4d-b0a1-b6db74543a7b", "Name": "sample string 1" }, "Unit": { "UnitId": "39eede87-3f45-444c-9759-2390ca9c497f", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "88317b5f-4c4a-43db-b042-4f9f40cb8ddd", "CreateDate": "2025-09-13T21:02:20.1382383-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T21:02:20.1382383-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "68e167c0-a00d-4e1f-b875-db8fcf4457f1", "FieldId": "a8e5e260-52dd-425f-b09c-5d9a02039ee5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "68e167c0-a00d-4e1f-b875-db8fcf4457f1", "FieldId": "a8e5e260-52dd-425f-b09c-5d9a02039ee5", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "3321fba3-26d8-40a6-a911-6eda085203a6", "CreateDate": "2025-09-13T21:02:20.1382383-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T21:02:20.1382383-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }