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": "0b6c8410-d6c4-4e6e-a0dd-d5ecae68f895", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "5c72ca25-7e40-446b-96c2-ffe17853dcdc", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c67af3a0-a45e-4c4b-b5b4-b9e10130ebf2", "CreateDate": "2025-08-24T10:03:00.8516409-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.8516409-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "6d52d870-2c72-4ccf-8903-879b1b59bf5f", "Name": "sample string 1" }, "Unit": { "UnitId": "bec59084-4cf8-4a0f-88a3-528a4f9c701d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "08b08ad8-a925-4e79-95ef-5805feb56eb8", "CreateDate": "2025-08-24T10:03:00.8516409-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:03:00.8516409-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "609e453f-83c2-404f-a80e-677989420af5", "FieldId": "7b9d585b-bd00-4449-83e3-b118d89581da", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "609e453f-83c2-404f-a80e-677989420af5", "FieldId": "7b9d585b-bd00-4449-83e3-b118d89581da", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "bc3068aa-1a37-4d82-9c87-0bc8ef11ec9d", "CreateDate": "2025-08-24T10:03:00.8516409-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.8516409-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": "36f45696-fef6-4afb-bacb-fbc128dcb4fc", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "8c319437-b784-42c5-886e-5d042afd4afb", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b23da76f-c3eb-4aa0-86f5-590f04ff1cdc", "CreateDate": "2025-08-24T10:03:00.8516409-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.8516409-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "099dc11e-a0dd-42ed-a131-631387e0be31", "Name": "sample string 1" }, "Unit": { "UnitId": "7edad72a-f7b9-4a20-a8e8-0c9dd2c79b65", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "9175cee3-b107-427d-96bf-1f5bc40b3497", "CreateDate": "2025-08-24T10:03:00.8516409-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-24T10:03:00.8516409-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "2d774fb8-446c-4c3f-b6c6-7da8777bdb06", "FieldId": "a696760a-31ae-4ffe-8403-b29644051e03", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "2d774fb8-446c-4c3f-b6c6-7da8777bdb06", "FieldId": "a696760a-31ae-4ffe-8403-b29644051e03", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "0e68f114-57cd-440c-a3fc-d1c591abc6a1", "CreateDate": "2025-08-24T10:03:00.8516409-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-24T10:03:00.8516409-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }