Retrieve Process Templates
GET
process-templates
Retrieves a paginated list of process templates.
Resource Information
| Method and URI | GET https://api.aps.autodesk.com/fusion-operations/v2/process-templates |
| Authentication Context | No security required |
| Required OAuth Scopes | data:read data:write |
| Data Format | JSON |
Request
Headers
| Authorization* string | JWT Access Token |
* Required
Request
Query String Parameters
| filter[id] string | Filter Process Templates matching the specified id. |
| filter[code] string | Filter Process Templates matching the specified code. Pass the value as URL‑encoded. |
| filter[processTemplateFamily.id] int | Filter Process Templates associated with the provided Process Template Family Id. Pass the value as URL‑encoded. |
| filter[processTemplateFamily.code] string | Filter Process Templates associated with the provided Process Template Family code. Pass the value as URL‑encoded. |
| limit int | The maximum number of results. Defaults to 25. |
| offset int | Page offset. Default value is 0. |
| sort string | Comma separated fields to sort items by. Fields: id, code, name. Default: “id desc”. |
Response
HTTP Status Code Summary
| 200 OK | A list of process templates. |
| 400 Bad Request | Bad request due to invalid data. |
| 401 Unauthorized | The access token is invalid. It may have either expired or may not be a three-legged access token. Please verify the token and retry the request. |
| 403 Forbidden | The request was successfully validated but lacked required permission. Please verify your token permissions and retry the request. |
| 429 Too Many Requests | Rate limit exceeded; wait some time before retrying. |
| 500 Internal Server Error | An unknown server-side error occurred. Please try again later. If the problem persists, please contact support. |
Response
Header (429)
| Retry-After integer | The number of seconds to wait before retrying the request. |
Response
Body Structure (200)
Expand all
| results array: object | List of process templates |
| id int | Unique identifier of the Process Template. |
| code string | Unique code of the Process Template.
Max length: 255 |
| name string | Display name of the Process Template.
Max length: 255 |
| processTemplateFamily object | Associated Process template family. |
| id int | The unique identifier of the Process template Family to retrieve. |
| code string | Max length: 255 |
| name string | Max length: 255 |
| operations array: object | Operations defined in the Process Template. |
| id int | Unique identifier of the referenced entity. |
| code string | Code of the referenced entity.
Max length: 255 |
| name string | Name of the referenced entity.
Max length: 255 |
| anyOf | |
| 0 | |
| 1 | |
| pagination object | |
| limit int | Maximum number of results returned in this page. |
| offset int | Number of results skipped before this page. |
| nextUrl string | URL for the next page of results. Null when there are no additional pages. |
Example
A list of process templates.
Request
curl -v 'https://developer.api.autodesk.com/fusion-operations/v2/process-templates' \
-H 'Authorization: '
Response
{
"results": [
{
"id": 12,
"code": "StandardAssembly",
"name": "Standard Assembly Process",
"processTemplateFamily": {
"id": 3,
"code": "Assembly",
"name": "Assembly Templates"
},
"operations": [
{
"id": 2,
"code": "Setup",
"name": "Setup"
},
{
"id": 3,
"code": "Mounting",
"name": "Mounting"
}
]
},
{
"id": 15,
"code": "PackagingTemplate",
"name": "Packaging Process",
"processTemplateFamily": {
"id": 4,
"code": "Packaging",
"name": "Packaging Templates"
},
"operations": [
{
"id": 9,
"code": "Boxing",
"name": "Boxing"
}
]
}
],
"pagination": {
"limit": 20,
"offset": 0,
"nextUrl": null
}
}
Show More