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. |
|
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": "88ae5f54-4cf2-4359-81ad-c65221f60a84", "Asset": { "AssetId": "0b0f6791-a3ba-49bf-bee5-e136a261caef", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "60f5b17a-b6e7-4e08-bbac-ba11c75dabb5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7cf0af1-eab2-43c5-ad74-1c6d885f40bf", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "09106c0e-4be7-4ccd-b893-850f3d1ff932", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "MeasurementValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "SourceSystemId": "sample string 3", "CompanyId": "67a71e9d-6430-4b42-bea5-fb12cc4c3d1f", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "MeasurementValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0bde438e-e352-473a-91cb-c790cd59ff57", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "PropertyType": { "PropertyTypeId": "9fb7404b-7e2a-4598-83be-6c732fc51ce3", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "60f5b17a-b6e7-4e08-bbac-ba11c75dabb5", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7cf0af1-eab2-43c5-ad74-1c6d885f40bf", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "1049c00f-dfc4-4bce-9e1d-216769d1648d", "Name": "sample string 1" }, "Unit": { "UnitId": "0c802a87-87e7-4b46-ad51-0b5f97e4a2c4", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a3334692-51eb-4c86-aa1f-b3d36de3a38c", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "97270a3a-f1f6-46c4-b993-28abdbe7d6f3", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "7fb4ef6d-0bde-4263-9747-d3e585106887", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }
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": "d39ba010-38e8-4d94-b40c-dedf615aa65f", "Asset": { "AssetId": "4ed852c6-ac0d-4495-85eb-937524a372aa", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7860feb7-bf45-4add-b131-adceaebe969d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58d64650-6899-4ab5-a214-549beeca9049", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "674b27b8-c039-4e23-a16b-37d0f96f0238", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "MeasurementValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "SourceSystemId": "sample string 3", "CompanyId": "6c5e4a3e-59e8-4c88-9d99-c7138323eb1a", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "MeasurementValueNeededDate": "2024-03-28T04:19:27.4289794-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "0879c661-f91e-4ad5-b27f-5384993ec4a8", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 8" }, "ValueText": "sample string 1", "PropertyType": { "PropertyTypeId": "d41f94e0-c2f3-4f30-b6dc-d12c368880a8", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7860feb7-bf45-4add-b131-adceaebe969d", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "58d64650-6899-4ab5-a214-549beeca9049", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "DataType": { "DataTypeId": "5a4004eb-65ff-4418-92c9-36e1e0ec93cf", "Name": "sample string 1" }, "Unit": { "UnitId": "64272096-13ff-48a1-b410-b609d5becfc7", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "25465b7c-b0e3-467d-b689-9219c482c773", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "SourceSystemId": "sample string 4", "CompanyId": "2a6745ac-52d3-4a91-a7ec-3652c922369a", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "IsValid": true, "IsValidMessage": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "0053f352-87b6-4f8c-8c11-44951e89332e", "CreateDate": "2024-03-28T04:19:27.4289794-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-03-28T04:19:27.4289794-07:00", "LastModifiedUser": "sample string 7" }, "Total": 1, "Message": "sample string 1" }