Work Order Lines

A Work Order Line is a segmented amount of materials that need to be picked from a specific location for a specific order.

Attributes

  • id string

    Unique identifier for the object.

Endpoints

List Work Order Lines

get /api/work_order_lines

Arguments

  • handlingUnit string

  • handlingRank string

  • batchId uuid

  • directionType integer/string

    Only return orders that have the given direction type. Can use integer or string.

    Possible values:

    1 or "put"
    2 or "pick"
    3 or "return"
    4 or "transport"
    5 or "count"
    7 or "production"

  • id uuid

    Unique identifier for a work order.

  • locContentId uuid

  • name string

    Only return work order lines of that given name.

  • orderLineId uuid

    Unique identifier for an order line.

  • pickError string

  • progressType integer

    Status of the individual line.

    Possible values:

    1 = Not Started
    2 = In Progress/Complete

  • putError string

  • quantity decimal

  • limit integer

    A limit on the number of objects to be returned. Limit can range between 1 and 1000.

    Default value: 250

  • page integer

    Page-numbering is based on the value of the "limit" argument. If limit=20, then page=0 will display the hits from 1 to 20. (Page numbers are zero-based.) Using page without a limit returns all items.

  • countOnly boolean

    When "true", will only return a count of the amount of items in the query.

    Default value: false

Request with curl
curl "http://[Your IP] /api/work_order_lines" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "work_order_lines": [{ "id": " string ", }] }] }

Show Work Order Line

get /api/work_order_line/[id]

Get a single work order line from the PPG database and return a JSON response.

Request with curl
curl "http://[Your IP] /api/work_order_line/[id]" \ -X get \ -H "Content-Type: application/json" \ -H "Authorization: Bearer [Your JWT Access Token]"
Example Response
{ "work_order_lines": [{ "id": " string ", }] }] }