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": "3920ab1b-5cf0-493f-b052-32e3cd3d5149", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "fa71cc70-4106-4db4-8a55-ea3884cc12d6", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ff3d1764-831e-47ed-868e-21ec5e1146de", "CreateDate": "2025-10-10T14:54:28.961855-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.961855-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "ffa4d40e-a4b8-499a-a01c-2baa526d8260", "Name": "sample string 1" }, "Unit": { "UnitId": "862bf314-bf1f-49eb-9975-f0f951e98868", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "93843f0e-b002-4260-a48c-374007bbabd0", "CreateDate": "2025-10-10T14:54:28.961855-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T14:54:28.961855-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b7d4f8a0-ac20-48b8-b333-e2490927daac", "FieldId": "b657adf1-0a9a-4756-b73f-f4e52d30ff8a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b7d4f8a0-ac20-48b8-b333-e2490927daac", "FieldId": "b657adf1-0a9a-4756-b73f-f4e52d30ff8a", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "773ee319-7f7b-4451-9eed-845cbb376b4a", "CreateDate": "2025-10-10T14:54:28.961855-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.961855-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": "bd4b0e08-5e99-4efd-8a6e-af9ef3a7176e", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "c7f4fc29-5045-4550-a4eb-53ec507e0263", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "19452309-c806-4bbd-a274-4548f1f08c5d", "CreateDate": "2025-10-10T14:54:28.961855-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.961855-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "01258ad6-bbe2-424f-974d-38d0c3ccbe84", "Name": "sample string 1" }, "Unit": { "UnitId": "7b2697d7-43f4-4420-aee3-a5ac6ba34135", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e2c436e3-1b7a-4a33-8bc4-ec09299336f7", "CreateDate": "2025-10-10T14:54:28.961855-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-10-10T14:54:28.961855-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9c80190e-04ca-42d5-ab8c-12bd3dd0fcf0", "FieldId": "659ab74f-01f5-46ae-83e9-bde33f6b47d4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9c80190e-04ca-42d5-ab8c-12bd3dd0fcf0", "FieldId": "659ab74f-01f5-46ae-83e9-bde33f6b47d4", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "c303501e-50ae-4fd4-b507-d2db797eb41e", "CreateDate": "2025-10-10T14:54:28.961855-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-10-10T14:54:28.961855-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }