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": "4947e65f-a332-4f18-aaf5-b36eceeb96a5", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d8586184-8464-4b54-92d4-6d9379718c28", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "51d15cce-0df4-40d7-86c7-928112b289a2", "CreateDate": "2025-06-25T06:08:15.9625083-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:08:15.9625083-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "a91b37ae-bb4a-422b-bd19-d1edc3a9e948", "Name": "sample string 1" }, "Unit": { "UnitId": "a9bc3259-7269-4762-b2ed-5756dce48119", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "88a9e0a5-a10a-4cae-af53-6d03d106b3b0", "CreateDate": "2025-06-25T06:08:15.9625083-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-25T06:08:15.9625083-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": "91a811d9-4a8a-47d2-ad57-676d0ed70d59", "CreateDate": "2025-06-25T06:08:15.9625083-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:08:15.9625083-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": "08a75f1e-5531-4139-ac15-907464430144", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e0f70968-96d8-4acf-aff5-ffe4a24e446d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6b85415e-2a6c-468a-a242-60edd96bb4d3", "CreateDate": "2025-06-25T06:08:15.9625083-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:08:15.9625083-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "02724047-b4d5-4920-9417-5b1d66fc76ba", "Name": "sample string 1" }, "Unit": { "UnitId": "ae69c121-d84a-449f-abbc-be739e80a009", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9bae5ebe-9d29-4084-b813-37e1909144cc", "CreateDate": "2025-06-25T06:08:15.9625083-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-25T06:08:15.9625083-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": "67912b72-3d52-44bc-99d1-bda4665c3f50", "CreateDate": "2025-06-25T06:08:15.9625083-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-25T06:08:15.9625083-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }