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": "d9b065e5-49af-480b-be3d-8ecd71f339e3", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "abbd11f7-7a9c-478d-8eef-ed3184ebd444", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "df641e71-38a3-4bc5-a931-f208599a147a", "CreateDate": "2025-08-23T22:42:27.6341809-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:42:27.6341809-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "2039051f-d1ee-441b-a37f-eb55b95f855b", "Name": "sample string 1" }, "Unit": { "UnitId": "99e9d16c-baef-4b9b-8436-0e26e9aabd15", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d66e73c0-5182-4e25-af21-41857df27f4e", "CreateDate": "2025-08-23T22:42:27.6341809-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:42:27.6341809-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "515a2092-c314-45d5-b939-63e65905f9f3", "FieldId": "afe1ca98-c348-4082-969a-c65182e574f1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "515a2092-c314-45d5-b939-63e65905f9f3", "FieldId": "afe1ca98-c348-4082-969a-c65182e574f1", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "063c5b39-f974-4103-85b8-6852d70bd9c3", "CreateDate": "2025-08-23T22:42:27.6341809-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:42:27.6341809-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": "f400010d-9f91-4120-bc14-918a30d19d39", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c8bef97a-e9f2-4324-a99a-71fdc91e092a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b0996ee1-df3a-4b57-93c6-131f3285ae18", "CreateDate": "2025-08-23T22:42:27.6498052-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:42:27.6498052-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "9c4812fb-3019-4bc5-9d1f-fc79062fd82c", "Name": "sample string 1" }, "Unit": { "UnitId": "ddc298b4-353c-4bc4-a893-42b20f0303b0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "69a5da34-a019-4761-a69a-16b51d1773f5", "CreateDate": "2025-08-23T22:42:27.6498052-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-23T22:42:27.6498052-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "3dc29365-70bb-450e-b177-4c32cdb7db5a", "FieldId": "9607e949-f478-4ce2-8337-cacbbb38c183", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "3dc29365-70bb-450e-b177-4c32cdb7db5a", "FieldId": "9607e949-f478-4ce2-8337-cacbbb38c183", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "fbf00778-61dc-476d-a2d6-25330cf3da29", "CreateDate": "2025-08-23T22:42:27.6498052-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-23T22:42:27.6498052-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }