Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Update a service job production

PUT/service-job/{id}/production/{ppsId}
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Path parameters
idstringrequired
ppsIdstringrequired
Request body
application/json
object
Responses
200

OK.

successboolean
401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'https://next.amfg.ai/engine-service/public-api/v1/service-job/string/production/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "<ticketModelId>": {
    "produced": 1,
    "failed": 0
  }
}'
Response
{
  "success": true
}