Shift Handover examples - j5 - 30 - Reference - Hexagon

j5 Framework IndustraForm API Reference

Language
English
Product
j5
Search by Category
Reference
j5 Version
30
  • To query all of the shift handovers Completed since 1 May 2023.

    curl -X GET "https://[j5 Server URL]/restserver/30/industraform/logbook-query-v2/handover_logbook?attribute_names=$Form.Area,ShiftSummary,$Form.Status,$Form.SpecificationName,$Form.Category,$Participants.OutgoingOperator.DisplayValue,$Participants.IncomingOperator.DisplayValue&pretty=true&status=Complete&from_date_time=2023-05-01T00:00:00Z" -H "accept: text/csv" -H "authorization: Basic [Base 64 encoded username and password]"

  • To query all of the shift handovers Not Approved since 1 January 2023 for a particular shift report IndustraForm (form_spec_name).

    Replace [form_spec_name] with the form_spec_name of the shift report IndustraForm you want to query.

    curl -X GET "https://[j5 Server URL]/restserver/30/industraform/logbook-query-v2/handover_logbook?attribute_names=$Form.Area,ShiftSummary,$Form.Status,$Form.SpecificationName,$Form.Category,$Participants.OutgoingOperator.DisplayValue,$Participants.IncomingOperator.DisplayValue&pretty=true&=[form_spec_name]&status=Not%20Approved&from_date_time=2023-01-01T00:00:00Z" -H "accept: text/csv" -H "authorization: Basic [Base 64 encoded username and password]"

The RoleID in $Participants.<RoleID>.<AttributeName> should have all of the spaces removed. For example, the shift handover Incoming Operator role is noted as $Participants.IncomingOperator.DisplayValue.