Doing an MES integration. Looking through the API explorer, I cannot find an API that will allow us to start run time/ set up time as a team. We find plenty of start Machine Clockings, or labor clockings. I can only find start team using the virtual assistant.
Surely there’s a way to start it with one API call.
Current setupis as follows.
We insert a record into the virtual table:
POST - ...projection/v1/StartClockingsAssistantHandling.svc/StartClockingsSet
{
"TimeType":"{{TimeType}}",
"SelectedOperations":"OPERATION_NO={{operationNo}}^ORDER_NO={{orderNo}}^RELEASE_NO= {{releaseNo}}^SEQUENCE_NO={{sequenceNo}}^",
"CurrentTeamId":"{{teamID}}"
}
Then we get objkey from above:
GET - /Reference_StartClockingsVirtual
Next we start the clocking with the objkey:
POST - StartClockingsSet(Objkey={{startObjkey}})/IfsApp.StartClockingsAssistantHandling.StartClockingsVirtual_StartClockings
Then we clean up the virtual table:
DEL - /StartClockingsSet(Objkey={{startObjkey}})