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

Set the machining strategy of a part service

The body is the machining strategy — an array of setups or a single object — not wrapped in a machiningStrategy field. The service id comes from the path.

PUT/ticket-model/{ticketModelId}/machining-strategy/{serviceId}
Authorization
AuthorizationAPI key · headerrequired

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

Path parameters
ticketModelIdstringrequired
serviceIdstringrequired
Request body
application/json
One of:
object[]
Array of object
object
object
object
Responses
200

OK. Returns only the id — fetch the full entity with the corresponding GET.

idinteger | stringrequired

Id of the updated entity.

Show properties
One of:
integer
integer
string
string
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/ticket-model/string/machining-strategy/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '[
  {}
]'
Response
{
  "id": 0
}