Work | Report Consumption
Service to manage entities of type 'WorkOrderTaskReportConsumption'.
Overview
URL | api/{tenantKey}/{orgKey}/maintenance/workOrderReportConsumptions |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set Custom Attribute WorkOrderReportConsumption
- PUT Set Custom Attribute WOConsumptionLine
- PUT Set IsActive WorkOrderReportConsumption
- PUT Set WorkOrderReportConsumptionKey WorkOrderReportConsumption
- PUT Set ReportDate WorkOrderReportConsumption
- PUT Set Employee WorkOrderReportConsumption
- PUT Set AssetType WorkOrderReportConsumption
- PUT Set Location WorkOrderReportConsumption
- PUT Set Equipment WorkOrderReportConsumption
- PUT Set Tool WorkOrderReportConsumption
- PUT Set Company WorkOrderReportConsumption
- PUT Set Currency WorkOrderReportConsumption
- PUT Set Remarks WorkOrderReportConsumption
- PUT Set IsLocked WorkOrderReportConsumption
- PUT Set ExchangeRate WorkOrderReportConsumption
- PUT Set ExchangeRateDate WorkOrderReportConsumption
- PUT Set MaintenanceRoute WorkOrderReportConsumption
- PUT Set AutomaticSparePartConsumption WorkOrderReportConsumption
- PUT Set Date WOConsumptionLine
- PUT Set Quantity WOConsumptionLine
- PUT Set Description WOConsumptionLine
- PUT Set Unit WOConsumptionLine
- PUT Set Price WOConsumptionLine
- PUT Set TotalCost WOConsumptionLine
- PUT Set Currency WOConsumptionLine
- PUT Set Remarks WOConsumptionLine
- PUT Set WorkOrderMaintenancePlan WOConsumptionLine
- PUT Set WOMaintenancePlanId WOConsumptionLine
- PUT Set WOMaintenancePlanTaskId WOConsumptionLine
- PUT Set WOTaskId WOConsumptionLine
- PUT Set Task WOConsumptionLine
- PUT Set RequisitionLineId WOConsumptionLine
- DELETE:
All Resources
This service uses the following resources:
- ApiWorkOrderReportConsumptionResource
- ApiWorkOrderReportConsumptionWOConsumptionLinesResource
- MoneyResource
- WorkOrderReportConsumptionInfoResource
- WorkOrderReportConsumptionResource
- ExtensibilityCustomAttributeValueResource
All Enumerations
This service uses the following enumerations:
GET WorkOrderReportConsumptions (odata)
Returns a page of the list of all the entity records available.
The following elements are optional:
opts | (ODataQueryOptions) OData query option. |
Response:
When successful, the response body contains the list of records available. See WorkOrderReportConsumptionResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET WorkOrderReportConsumption by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See WorkOrderReportConsumptionResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET WorkOrderReportConsumption by key
Returns the entity record that matches the specified key.
The following elements are required:
companyKey | (string) The company key. |
workOrderReportConsumptionKey | (string) Report Consumption. |
Response:
When successful, the response body contains the entity record. See WorkOrderReportConsumptionResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
POST WorkOrderReportConsumptions
Creates a new entity record.
The following elements are required:
workOrderReportConsumptionResource | (ApiWorkOrderReportConsumptionResource) The request body should contain the entity record that should be created. See ApiWorkOrderReportConsumptionResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiWorkOrderReportConsumptionResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Work Order Consumption Line
Inserts a new 'Work Order Consumption Line' in the 'Work Order Report Consumption'.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (ApiWorkOrderReportConsumptionWOConsumptionLinesResource) The ApiWorkOrderReportConsumptionWOConsumptionLinesResource instance. See ApiWorkOrderReportConsumptionWOConsumptionLinesResource. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
POST Update Work Order Report Consumption Info
Custom operation 'UpdateWorkOrderReportConsumptionInfo'.
The following elements are required:
companyKey | (string) CompanyKey. |
workOrderReportConsumptionKey | (string) WorkOrderReportConsumptionKey. |
workOrderReportConsumptionInfo | (WorkOrderReportConsumptionInfoResource) WorkOrderReportConsumptionInfo. |
The following elements are optional:
customAttributes | (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity. The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName". While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required. |
Response:
When successful, the response body contains a resource of type 'WorkOrderReportConsumptionInfoResource'. See WorkOrderReportConsumptionInfoResource. |
Resource URL:
PUT Set AssetType WorkOrderReportConsumption
Updates the value of attribute 'AssetType' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (enum ReportAssetType) The request body should contain the new value for the attribute. See ReportAssetType. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AutomaticSparePartConsumption WorkOrderReportConsumption
Updates the value of attribute 'AutomaticSparePartConsumption' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Company WorkOrderReportConsumption
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency WOConsumptionLine
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Currency WorkOrderReportConsumption
Updates the value of attribute 'Currency' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Date WOConsumptionLine
Updates the value of attribute 'Date' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Description WOConsumptionLine
Updates the value of attribute 'Description' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Employee WorkOrderReportConsumption
Updates the value of attribute 'Employee' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Equipment WorkOrderReportConsumption
Updates the value of attribute 'Equipment' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ExchangeRate WorkOrderReportConsumption
Updates the value of attribute 'ExchangeRate' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (decimal) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ExchangeRateDate WorkOrderReportConsumption
Updates the value of attribute 'ExchangeRateDate' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (DateTime) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive WorkOrderReportConsumption
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsLocked WorkOrderReportConsumption
Updates the value of attribute 'IsLocked' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Location WorkOrderReportConsumption
Updates the value of attribute 'Location' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set MaintenanceRoute WorkOrderReportConsumption
Updates the value of attribute 'MaintenanceRoute' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Price WOConsumptionLine
Updates the value of attribute 'Price' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (decimal) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Quantity WOConsumptionLine
Updates the value of attribute 'Quantity' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (decimal) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Remarks WOConsumptionLine
Updates the value of attribute 'Remarks' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Remarks WorkOrderReportConsumption
Updates the value of attribute 'Remarks' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set ReportDate WorkOrderReportConsumption
Updates the value of attribute 'ReportDate' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (DateTimeOffset) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set RequisitionLineId WOConsumptionLine
Updates the value of attribute 'RequisitionLineId' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (Guid) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Task WOConsumptionLine
Updates the value of attribute 'Task' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Tool WorkOrderReportConsumption
Updates the value of attribute 'Tool' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TotalCost WOConsumptionLine
Updates the value of attribute 'TotalCost' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (decimal) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Unit WOConsumptionLine
Updates the value of attribute 'Unit' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WOMaintenancePlanId WOConsumptionLine
Updates the value of attribute 'WOMaintenancePlanId' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (Guid) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WOMaintenancePlanTaskId WOConsumptionLine
Updates the value of attribute 'WOMaintenancePlanTaskId' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (Guid) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkOrderMaintenancePlan WOConsumptionLine
Updates the value of attribute 'WorkOrderMaintenancePlan' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WorkOrderReportConsumptionKey WorkOrderReportConsumption
Updates the value of attribute 'WorkOrderReportConsumptionKey' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set WOTaskId WOConsumptionLine
Updates the value of attribute 'WOTaskId' in the specified entity record.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
lineId | (string) The detail identifier. |
companyKey | (string) The company key. |
value | (Guid) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Custom Attribute WorkOrderReportConsumption
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
companyKey | (string) The company key. |
workOrderReportConsumptionKey | (string) Report Consumption |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Custom Attribute WOConsumptionLine
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
companyKey | (string) The company key. |
workOrderReportConsumptionKey | (string) Report Consumption |
lineId | (string) The detail identifier. |
customAttributeName | (string) The custom attribute name. |
value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE Work Order Consumption Line by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
companyKey | (string) The company key. |
lineId | (string) The line identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | NoContent. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE WorkOrderReportConsumption by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE WorkOrderReportConsumption by key
Deletes the entity record that matches the specified key.
The following elements are required:
companyKey | (string) The company key. |
workOrderReportConsumptionKey | (string) Report Consumption. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiWorkOrderReportConsumptionResource
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
workOrder | (string) Work Order. |
employee | (string) Employee. |
assetType | (enum ReportAssetType) Type.
See ReportAssetType. |
company | (string) Company. |
currency | (string) Currency. |
isLocked | (bool) Is Locked. |
exchangeRate | (decimal) Exchange Rate. |
The following elements are optional:
reportDate | (DateTimeOffset) Report Date. |
location | (string) Location. |
equipment | (string) Equipment. |
tool | (string) Tool. |
remarks | (string) Remarks. |
wOConsumptionLines | (List of ApiWorkOrderReportConsumptionWOConsumptionLinesResource) Report Consumptions Line.
See ApiWorkOrderReportConsumptionWOConsumptionLinesResource. |
exchangeRateDate | (DateTime) Exchange Rate Date. |
maintenanceRoute | (string) Route. |
automaticSparePartConsumption | (bool) Automatic Spare Part Consumption. |
ApiWorkOrderReportConsumptionWOConsumptionLinesResource
The following elements are required:
date | (DateTimeOffset) Date. |
quantity | (decimal) Quantity. |
part | (string) Part. |
unit | (string) Unit. |
price | (MoneyResource) Price.
See MoneyResource . |
totalCost | (MoneyResource) Total Cost.
See MoneyResource . |
currency | (string) Currency. |
The following elements are optional:
description | (string) Description. |
warehouse | (string) Warehouse. |
remarks | (string) Remarks. |
workOrderMaintenancePlan | (string) Maintenance Plan. |
wOMaintenancePlanId | (Guid) WO Maintenance Plan Id. |
wOMaintenancePlanTaskId | (Guid) WO Maintenance Plan Task Id. |
wOTaskId | (Guid) WO Task Id. |
task | (string) Task. |
requisitionLineId | (Guid) Requisition Line Id. |
MoneyResource
The following elements are required:
amount | (decimal) The amount. |
The following elements are optional:
baseAmount | (decimal) The base amount. |
reportingAmount | (decimal) The reporting amount. |
fractionDigits | (int) The fraction digits. |
symbol | (string) The symbol. |
Notes: For the POST operation it is not necessary to send the fields: BaseAmount, ReportingAmount, FractionDigits and Symbol. Will be ignored.
WorkOrderReportConsumptionInfoResource
The following elements are required:
employee | (string) Employee. |
date | (DateTimeOffset) Date. |
part | (string) Part. |
quantity | (decimal) Quantity. |
unit | (string) Unit. |
The following elements are optional:
reportDate | (DateTimeOffset) Report Date. |
remarks | (string) Remarks. |
description | (string) Description. |
remarks | (string) Remarks. |
wOConsumptionLines | (string) Report Consumptions Line. |
workOrderMaintenancePlan | (string) Maintenance Plan. |
wOMaintenancePlanId | (Guid) WO Maintenance Plan Id. |
wOMaintenancePlanTaskId | (Guid) WO Maintenance Plan Task Id. |
wOTaskId | (Guid) WO Task Id. |
warehouse | (string) Warehouse. |
requisitionLineId | (Guid) Requisition Line Id. |
WorkOrderReportConsumptionResource
The following elements are required:
workOrderReportConsumptionKey | (string) Report Consumption. |
workOrder | (string) Work Order.
(fk) Allowed value: the natural key of a record of type WorkOrder. These records are accessibly through the WorkOrders service. |
employee | (string) Employee.
(fk) Allowed value: the natural key of a record of type Employee. These records are accessibly through the Employees service. |
assetType | (enum ReportAssetType) Type.
See ReportAssetType. |
company | (string) Company.
(fk) Allowed value: the natural key of a record of type Company. These records are accessibly through the Companies service. |
currency | (string) Currency.
(fk) Allowed value: the natural key of a record of type Currency. These records are accessibly through the Currencies service. |
isLocked | (bool) Is Locked. |
exchangeRate | (decimal) Exchange Rate. |
The following elements are optional:
reportDate | (DateTimeOffset) Report Date. |
location | (string) Location.
(fk) Allowed value: the natural key of a record of type Location. These records are accessibly through the Locations service. |
equipment | (string) Equipment.
(fk) Allowed value: the natural key of a record of type EquipmentItem. These records are accessibly through the EquipmentItems service. |
tool | (string) Tool.
(fk) Allowed value: the natural key of a record of type EquipmentItem. These records are accessibly through the EquipmentItems service. |
remarks | (string) Remarks. |
wOConsumptionLines | (List of WOConsumptionLineResource) Report Consumptions Line.
See WOConsumptionLineResource. |
exchangeRateDate | (DateTime) Exchange Rate Date. |
maintenanceRoute | (string) Route.
(fk) Allowed value: the natural key of a record of type Route. These records are accessibly through the Routes service. |
automaticSparePartConsumption | (bool) Automatic Spare Part Consumption. |
ExtensibilityCustomAttributeValueResource
The following elements are required:
value | (object) The custom attribute value. |