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": "b4771060-e2f5-4faa-985b-45a263ea1cc1", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "13be6f55-77c8-4266-9aed-985687c23080", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "969fa614-1df0-4977-91a3-37f5c938ec09", "CreateDate": "2025-09-16T01:55:19.1843696-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-16T01:55:19.1843696-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "e0a81896-2e21-4ef8-b0ae-3ad61f255499", "Name": "sample string 1" }, "Unit": { "UnitId": "c6b788e4-5ee4-4591-94ca-f06c21279584", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b9b6b5b7-c4ad-4fe8-a580-24cc01601a10", "CreateDate": "2025-09-16T01:55:19.1843696-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-16T01:55:19.1843696-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": "44ae4c7d-b00e-4659-ad24-f3993ce5576b", "CreateDate": "2025-09-16T01:55:19.1843696-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-16T01:55:19.1843696-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": "2d150a37-103c-45ae-b757-b074f1335e47", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8314cdb9-f3b9-46e9-b6f9-184bea4f662c", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a9c62c50-d156-4344-b920-f757b81f447b", "CreateDate": "2025-09-16T01:55:19.1843696-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-16T01:55:19.1843696-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "251b46c5-907d-4520-b63b-1eead06cd93f", "Name": "sample string 1" }, "Unit": { "UnitId": "fa3e8df4-c31b-4920-95ac-fe61431add66", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e0c131ac-de53-4c54-b121-7e0b2f5b86ad", "CreateDate": "2025-09-16T01:55:19.1843696-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-16T01:55:19.1843696-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": "f2ddb19c-f9f4-4d66-b9d1-75288d1d7818", "CreateDate": "2025-09-16T01:55:19.1843696-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-16T01:55:19.1843696-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }