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 string |
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": "d9df3361-27ec-4931-92dc-4382e2e26684", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "86c23334-40c0-4c87-9994-8d421aab80af", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a236db61-e0fc-4723-be3f-538e3008337f", "CreateDate": "2025-06-26T20:12:44.1200069-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T20:12:44.1200069-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "abec80b8-49af-4f06-b806-bc6396444664", "Name": "sample string 1" }, "Unit": { "UnitId": "edc29153-bbc7-487e-b6cc-55f78af02d91", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a854158e-fd3e-47a8-a7ed-fb3465196a01", "CreateDate": "2025-06-26T20:12:44.1200069-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-26T20:12:44.1200069-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "8098a54f-8800-4726-b504-971ae79c4783", "CreateDate": "2025-06-26T20:12:44.1200069-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T20:12:44.1200069-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": "87c622ba-176f-4106-8573-bdc1be3d739e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a218df8e-e635-404e-a761-5ffa96319b5e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3e580fa7-e6b7-45d7-8936-6a60dfdc6918", "CreateDate": "2025-06-26T20:12:44.1200069-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T20:12:44.1200069-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "e833ed4c-475e-42f0-8cac-b173bb35af98", "Name": "sample string 1" }, "Unit": { "UnitId": "352af3ad-fd8a-42a9-9863-4c8caec9c621", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "030e76cc-5251-4011-bc26-3c77cb9eaa6c", "CreateDate": "2025-06-26T20:12:44.1200069-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-26T20:12:44.1200069-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "412f3113-86a8-48f1-b6fd-57668bc85e69", "CreateDate": "2025-06-26T20:12:44.1200069-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-26T20:12:44.1200069-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }