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": "d35ce352-d0f8-41a1-a9e2-763eaab83593", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "653d9f1e-5bda-45d5-ba79-dddf76708eb3", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6f826ac7-2291-4dfe-ac22-8529a2a7e2a4", "CreateDate": "2025-10-13T18:06:16.3508672-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T18:06:16.3508672-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "dc9fec5f-f679-441f-9b01-3a25a918106a", "Name": "sample string 1" }, "Unit": { "UnitId": "b9e0ae63-daa6-4cfe-bd7c-4616d8db72bf", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "2e337806-bb43-40db-a06a-4138ba4205a7", "CreateDate": "2025-10-13T18:06:16.3508672-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T18:06:16.3508672-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": "8aaffac3-c581-40e2-b54e-f59eee6e8707", "CreateDate": "2025-10-13T18:06:16.3508672-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T18:06:16.3508672-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": "16fe71f3-59fd-4751-a832-05b2d73ff843", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c868db5c-bcbc-469d-88f3-40a4029ef1de", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3840b1d0-dfce-41cc-8853-347dc5c66ceb", "CreateDate": "2025-10-13T18:06:16.3508672-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T18:06:16.3508672-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "e7fd93b5-d300-4c6a-8b89-693f70964efa", "Name": "sample string 1" }, "Unit": { "UnitId": "d5381482-5860-41ce-ac48-86db2d243c9a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b3d6b19a-1533-417f-899d-5ef0a626cc75", "CreateDate": "2025-10-13T18:06:16.3508672-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-13T18:06:16.3508672-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": "c21a8ebf-5cc1-4729-96fe-7dc62edd5582", "CreateDate": "2025-10-13T18:06:16.3508672-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-13T18:06:16.3508672-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }