POST Properties
Creates a new property.
Request Information
URI Parameters
None.
Body Parameters
Property to be created. PropertyId should not be filled in.
PropertyName | Description | Type | Additional information |
---|---|---|---|
PropertyId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
ValueText | string |
None. |
|
DisplayText | string |
None. |
|
PropertyType | PropertyType |
None. |
|
IsValid | boolean |
None. |
|
IsValidMessage | 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:
{ "PropertyId": "83bb5471-046a-4f23-84b8-afce3076db3c", "Asset": { "AssetId": "da8c9932-e23a-49db-ab15-334998d58da6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "306fc883-a47d-47b4-9ae1-95a89c823435", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "34f7e302-7cc6-4f66-8213-72799cead5b0", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "3d290f18-050c-4adc-af8a-2b5fb12780e1", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "MeasurementValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a42a5140-07de-4a26-b61a-5f799771ee87", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "MeasurementValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "cc7fa2cf-030a-4e23-9b1b-0aad5eba994b", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "PropertyType": { "PropertyTypeId": "94eb52b2-bb64-42d6-8b2a-3560ca199ad8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "306fc883-a47d-47b4-9ae1-95a89c823435", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "34f7e302-7cc6-4f66-8213-72799cead5b0", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "a02c3a75-bad7-4b56-9ff2-929587e9670b", "Name": "sample string 1" }, "Unit": { "UnitId": "44e44d7d-978a-488b-904d-bfdbb9b55ea7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "b3091e51-9bc2-49ac-9c02-fb610666292f", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "7764500b-0b58-4b4f-8bdc-4dfca4f93b51", "FieldId": "bc5e37ea-916c-41b7-9715-2c6116e09487", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "7764500b-0b58-4b4f-8bdc-4dfca4f93b51", "FieldId": "bc5e37ea-916c-41b7-9715-2c6116e09487", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "a9da55ca-d9c7-4ad7-b0d9-a412644042a6", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d6bb37d7-0741-4ba7-a0e2-56b7f47fff3f", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the created property.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Property |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "PropertyId": "3a5a7274-572e-4338-8cd2-d4ed1a0e13bc", "Asset": { "AssetId": "fa08ab9e-cddd-449f-9e2d-edfa9f9f68e3", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "bdb9b0a7-4019-478a-98d1-76543b64a7e8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b8bc0d45-f7b9-4ff3-8a52-13b282839712", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "12031ea8-1cc3-4e2d-8d9a-54131971d534", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "MeasurementValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c8d682ec-b121-4083-93fd-246535c18be9", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "MeasurementValueNeededDate": "2025-02-21T16:37:21.4027261-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ba59ef5a-c936-427f-86a3-5876b66d11d1", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "PropertyType": { "PropertyTypeId": "ebb8b646-30b2-4c04-b81d-fa35ec1d7029", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "bdb9b0a7-4019-478a-98d1-76543b64a7e8", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b8bc0d45-f7b9-4ff3-8a52-13b282839712", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "fc8b1db6-968b-4ffd-8cba-7fd466c06da9", "Name": "sample string 1" }, "Unit": { "UnitId": "da3f3c73-f856-46cf-8504-663bdcdaeff3", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "d80bc8ad-2e46-4b09-bd78-c64b4d248c7a", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b439ae32-9579-4d49-a546-86cb42cf189a", "FieldId": "a76a937e-b69a-4e36-8e9d-6c4be0c5d626", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b439ae32-9579-4d49-a546-86cb42cf189a", "FieldId": "a76a937e-b69a-4e36-8e9d-6c4be0c5d626", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "e141ea9d-b7c1-48f6-9b8f-a5f6c2482c33", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f8f38037-2201-4190-a74f-85b6749b0122", "CreateDate": "2025-02-21T16:37:21.4027261-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-02-21T16:37:21.4027261-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }