GET RQ Management
Returns the list of entity records that can be processed by the 'WorkOrderReportConsumptions' service.
The following elements are required:
| pageIndex | (int) The index of the page of the list that should be returned. |
| pageSize | (int) The number of page elements that should be returned (max. is 1000). |
The following elements are optional:
| workOrder | (string) Work Order This is a query string parameter. |
| company | (string) Company This is a query string parameter. |
Response:
| When successful, the response body contains the list of entity records available for processing. See RequisitionManagementLine. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
api/{tenantKey}/{orgKey}/maintenance/rQManagements/{pageIndex}/{pageSize}?workOrder={workOrder}&company={company}
GET /maintenance/rQManagements/{pageIndex}/{pageSize}?workOrder={workOrder}&company={company}
POST RQ Management
Instructs the 'WorkOrderReportConsumptions' service to process the specified entity records.
The following elements are required:
| list | (RequisitionManagementLine) List of the entity records that should be processed. See RequisitionManagementLine. |
| companyKey | (string) The company key. |
Response:
| When successful, the response body is empty. The URL of the processed items is returned in the response location header. |
Response status codes:
| 201 | Created. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
api/{tenantKey}/{orgKey}/maintenance/rQManagements/{companyKey}
POST /maintenance/rQManagements/{companyKey}
Resources
RequisitionManagement
The following elements are required:
| selectedCount | (int) Selected Count. |
The following elements are optional:
| workOrder | (string) Work Order. |
| company | (string) Company. |
RequisitionManagementLine
The following elements are required:
| selected | (bool) Selected. |
The following elements are optional:
| requisition | (string) Requisition. |
| date | (DateTimeOffset) Date. |
| requestedBy | (string) Requested By. |
| part | (string) Part. |
| quantity | (decimal) Quantity. |
| warehouse | (string) Warehouse. |
| company | (string) Company. |
| partId | (Guid) Part Id. |
| partKey | (string) Part Key. |
| partDescription | (string) Part Description. |
| unit | (string) Unit. |
| unitKey | (string) Unit Key. |
| unitId | (Guid) Unit Id. |
| quantityByUnit | (decimal) Quantity By Unit. |
| unitBaseId | (Guid) Unit Base Id. |