Constructors
constructor
- new IMI(api: Api): IMI
Returns IMI
Properties
api
Methods
getCustomerOrderLine
- getCustomerOrderLine(
params: { shopOrder: string },
): Promise<ApiResponse<ICustomerOrderLine[], { message: string }>> Parameters
- params: { shopOrder: string }
getHandlingUnits
- getHandlingUnits(
params: { contract: string; shipment: string },
): Promise<ApiResponse<IHandlingUnit[], { message: string }>> Parameters
- params: { contract: string; shipment: string }
getPurchaseOrderLines
- getPurchaseOrderLines(
params: { contract: string; purchaseOrderId: string },
): Promise<ApiResponse<IPurchaseOrderLine[], { message: string }>> Parameters
- params: { contract: string; purchaseOrderId: string }
getRequisitionsStatus
- getRequisitionsStatus(
contract: string,
requisitions: string[],
): Promise<ApiResponse<IRequisitionStatus[], { message: string }>> Parameters
- contract: string
- requisitions: string[]
getShipments
- getShipments(
params: { contract: string; shipments: string[] },
): Promise<ApiResponse<IShipment[], { message: string }>> Parameters
- params: { contract: string; shipments: string[] }
Returns Promise<ApiResponse<IShipment[], { message: string }>>
getShopOrderPartBreakdown
- getShopOrderPartBreakdown(
contract: string,
shopOrders: string[],
): Promise<ApiResponse<IShopOrderPartBreakdown[], { message: string }>> Parameters
- contract: string
- shopOrders: string[]
getShopOrders
- getShopOrders(
contract: string,
shopOrders: string[],
): Promise<ApiResponse<IShopOrder[], { message: string }>> Parameters
- contract: string
- shopOrders: string[]