If you are using one of the documented API calls available in L2L, and the results are not as expected, the guidelines below are good troubleshooting starting points.
- Event Schedules API - scenario
- Your returned results via API do not match what is reflected in the UI
- The Event_Schedule API returns all active Scheduled Events, including those that do not have Assigned Machines
- Filter your view of ALL Schedules to include Empty (No Machines) to display those Schedules
- Note that this scenario is not unique to the Event Schedules API.
- If your results vary between API and UI, make sure you are not inadvertently narrowing the returned results by filtering options.
- Dispatch_Method: changetype API
- This Method provides a way to change the type (Dispatch Type) of a given Dispatch.
- Requires the Dispatch Type ID, not the Dispatch Type Code
- When utilizing this Method in Postman, the Parameters must be in the 'Body' in x-www-form-urlencoded not in Params.
- This Method provides a way to change the type (Dispatch Type) of a given Dispatch.
- Product Orders _ Sync Orders to update status
- ProductOrders/SyncOrder
- When utilizing this Sync_Orders Method to update "status" field
- Note: Manually starting a Product Order updates the status (i.e., when trying to use this Method to schedule an order prior to the order being started)
- Note: Best practice is to use the entire status word rather than the associated integer to update the Product Order status.
- When utilizing this Sync_Orders Method to update "status" field
- ProductOrders/SyncOrder
- Pitch Detail Records
- Pitch_Detail_Records API
- If this API is being used to populate and update production values and suddenly stops reporting as usual, check to see if any operators have inadvertently checked into the line in the future rather than at the present time.
- Pitch_Detail_Records API
- Bin Location / Delete (Bin) Location
- HTTP Method > POST
- The purpose of this API is to delete Spare Parts Bin Location(s)
- If specified Bin Location(s) are not deleted, verify that these required parameters were entered correctly:
- The auth (Authentication Token) was input correctly
- The site code was entered correctly. This is an integer, not alpha characters or a 'name'
- id > Bin ID > you can located the Bin ID in the URL or via export
- If specified Bin Location(s) are not deleted, verify that these required parameters were entered correctly: