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": "8d542549-ade8-4222-995a-e495ab82ee23", "Asset": { "AssetId": "e3314f9e-ec1d-4088-a257-bd7e13e8328a", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "585330c7-8623-4fa9-90f1-b53dde202d6a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7d9eb94-23c7-4169-b80c-79601e7ced00", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:07:30.7610614-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "91634dd8-30cf-4978-ac83-7d21543abfcc", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-20T20:07:30.7610614-08:00", "MeasurementValueNeededDate": "2025-01-20T20:07:30.7610614-08:00", "SourceSystemId": "sample string 3", "CompanyId": "b1428f50-08cb-431a-ae37-b2a26b32decb", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:07:30.7610614-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-01-20T20:07:30.7610614-08:00", "MeasurementValueNeededDate": "2025-01-20T20:07:30.7610614-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d9706ff9-fb4c-458d-8058-f3d5bc44c45b", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-20T20:07:30.7610614-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "PropertyType": { "PropertyTypeId": "0047eac7-31a5-412f-b491-e66634126bb9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "585330c7-8623-4fa9-90f1-b53dde202d6a", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7d9eb94-23c7-4169-b80c-79601e7ced00", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:07:30.7610614-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "d7de34b1-0715-4f16-b5c6-3135692e4fad", "Name": "sample string 1" }, "Unit": { "UnitId": "1154c0d9-bcff-4e52-8605-d82e7acbdd6d", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dac8fd75-17a0-41d5-98a8-512262e1a1ae", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:07:30.7610614-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "6d8d99f7-0b71-465f-bc41-0d18d9560fc1", "FieldId": "aeb02659-2d1f-49b0-aeeb-8526f88cf106", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "6d8d99f7-0b71-465f-bc41-0d18d9560fc1", "FieldId": "aeb02659-2d1f-49b0-aeeb-8526f88cf106", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "e1fb4b00-07a7-42b3-a7c7-46daab7b7393", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:07:30.7610614-08:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "66ecf63b-36d9-4ef2-b245-0c28017ddccb", "CreateDate": "2025-01-20T20:07:30.7610614-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-20T20:07:30.7610614-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": "3765ad7a-f944-4ba2-beb2-407a31784534", "Asset": { "AssetId": "4bbfcf86-d2b0-4873-a06a-310579ddc9a8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "752f7862-79f9-48b3-87b4-84da7fc0d81b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f7a6a6a4-470f-48b3-a4f0-05d62be40410", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "83235192-dd0c-4571-9efb-c8f3b99771da", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-20T20:07:30.8391926-08:00", "MeasurementValueNeededDate": "2025-01-20T20:07:30.8391926-08:00", "SourceSystemId": "sample string 3", "CompanyId": "c882ba4d-b386-457a-a5b5-af602d015160", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-01-20T20:07:30.8391926-08:00", "MeasurementValueNeededDate": "2025-01-20T20:07:30.8391926-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b54238c2-18d2-43d7-9ab1-3fb2405617eb", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "DisplayText": "sample string 2", "PropertyType": { "PropertyTypeId": "51319d23-f004-485f-ae83-e0b7e48a2341", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "752f7862-79f9-48b3-87b4-84da7fc0d81b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f7a6a6a4-470f-48b3-a4f0-05d62be40410", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "8d8d6e2c-8c12-4e78-9ff8-47972df01096", "Name": "sample string 1" }, "Unit": { "UnitId": "0778ada9-1f36-4245-82e6-4cea55ed1e44", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dd60a194-fa4f-4c46-9128-779d72f7261e", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "11ad32b4-c2b8-43b0-88c4-a8cc59d31edb", "FieldId": "c4cda018-1774-451a-904a-60f11af8a006", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "11ad32b4-c2b8-43b0-88c4-a8cc59d31edb", "FieldId": "c4cda018-1774-451a-904a-60f11af8a006", "FieldName": "sample string 1", "FieldLabel": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "SourceSystemId": "sample string 4", "CompanyId": "2727e6e5-6fc4-481b-b38a-e6793989d0ff", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "afd6b442-b756-451c-8214-cf3e557b850e", "CreateDate": "2025-01-20T20:07:30.8391926-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-20T20:07:30.8391926-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }