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": "ef10a8c4-edb4-4778-99fd-320eeb41af5d", "Asset": { "AssetId": "b80facff-1580-451a-86d2-a47810025fc6", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f2a33808-fc11-4f22-b0b1-355b0507c736", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "813775a6-01f0-4115-8322-926aa16c2a1b", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "87665417-dec2-4f75-94af-32162d973964", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "MeasurementValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4379cc6a-5f3f-4860-8582-dae132ba7a1b", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "MeasurementValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ad3f4bd7-baf1-49d5-9568-bb2ad1a521b0", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "PropertyType": { "PropertyTypeId": "fbee334a-c6ad-4c22-bb85-6b39bb7d39e6", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f2a33808-fc11-4f22-b0b1-355b0507c736", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "813775a6-01f0-4115-8322-926aa16c2a1b", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "c3660943-c01c-4903-b6a9-0f82010fe305", "Name": "sample string 1" }, "Unit": { "UnitId": "78cd44e7-509f-4add-8e3e-af625e222d70", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6c2ab129-d97c-4ebb-8dc1-4fcfc4f8efad", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "5d8e62b7-99d1-4086-b863-ec5809aacf8c", "FieldId": "b4132277-ef2e-439c-82b1-bbd3d57a9fa9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "5d8e62b7-99d1-4086-b863-ec5809aacf8c", "FieldId": "b4132277-ef2e-439c-82b1-bbd3d57a9fa9", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "0d082858-61b9-460c-b519-da25210115f4", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "b96901ad-19ff-43b8-8b9c-78ace086635f", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-03T09:46:33.2380874-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": "d5fd51c1-db20-4edf-80a1-9d074459cb62", "Asset": { "AssetId": "3347c83a-720d-444d-80bf-24acdb62f9e7", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "d53e83e2-bfb8-4a2b-a3cf-4c2b1f8a57c4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "93098c6c-076d-4661-afc0-11c670ed6ba3", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "49bf3e82-f205-4c49-85e4-3f34e7557d8f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "MeasurementValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "SourceSystemId": "sample string 3", "CompanyId": "d1777cd7-d924-4d20-8079-2c99882abe56", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "MeasurementValueNeededDate": "2024-12-03T09:46:33.2380874-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0041d325-d979-4417-8f3a-26cabcfba6d6", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "PropertyType": { "PropertyTypeId": "1850143d-2413-42ac-a7a5-11d46975648b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "d53e83e2-bfb8-4a2b-a3cf-4c2b1f8a57c4", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "93098c6c-076d-4661-afc0-11c670ed6ba3", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "b69c93d7-a29a-4116-8bf6-de80fca2e6f1", "Name": "sample string 1" }, "Unit": { "UnitId": "5689969a-839e-4ade-ab9a-56b0327242cb", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dc81a3a5-d16f-41c4-9434-8634a105123c", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "c8b2eebe-8e86-42ae-8be3-9e9f8791c25b", "FieldId": "a62a5f98-9223-4378-9154-ac6b8ca91d56", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "c8b2eebe-8e86-42ae-8be3-9e9f8791c25b", "FieldId": "a62a5f98-9223-4378-9154-ac6b8ca91d56", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "af37977a-afd9-48eb-a3f7-a9a12f82d7dd", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f48cb728-65d5-4587-99a9-b25804d52afe", "CreateDate": "2024-12-03T09:46:33.2380874-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-03T09:46:33.2380874-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }