Download OpenAPI specification:Download
Gets the list of forms available to a user. The response can be paginated.
Successful request.
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Request timed out. An operation has timed out on the client.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "items": [
- {
- "id": "string",
- "path": "string",
- "description": "string",
- "title": "string",
- "tags": [
- "string"
]
}
], - "cursor": "string"
}
Gets the definition of the given form.
If you are using site components within forms, please refer to the API Documentation for detailed information.
As an example, to access form definition for a form containing site components at path /content/forms/af/registration
you can use the following URL to fetch form definition /content/forms/af/registration/jcr:content/guideContainer.model.json
Otherwise, feel free to explore the below API.
Successful request.
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Not Found
Request timed out. An operation has timed out on the client.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "afModelDefinition": { },
- "dataSchema": "string",
- "allowedSubmissionTypes": [
- "application/json"
]
}
Gets the localised definition of the given form.
Successful request.
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Request timed out. An operation has timed out on the client.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "afModelDefinition": { },
- "dataSchema": "string",
- "allowedSubmissionTypes": [
- "application/json"
]
}
Gets the form data
Form Data
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Request timed out. An operation has timed out on the client.
The server encountered an unexpected error. Retrying the request after a certain time could help.
Invalid request.
{- "data": { },
- "metadata": {
- "lastFocusField": "string",
- "formSaveTime": "2019-08-24T14:15:22Z",
- "formSubmitTime": "2019-08-24T14:15:22Z"
}
}
Submits the given form
Request body to submit form
Successful request.
Bad Request. The request was invalid or cannot be served.
Forbidden
Request timed out. An operation has timed out on the client.
The server encountered an unexpected error. Retrying the request after a certain time could help.
Invalid request.
{- "submissionId": "string",
- "redirectUrl": "string",
- "thankYouMessage": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
Generates the Document of Record for the given form. It will not perform server-side validation of form data.
Request body to submit form
Successful request.
Bad Request. The Problem Details object will provide more information about the exact cause.
Forbidden
Request timed out. An operation has timed out on the client.
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "status": 0,
- "title": "string",
- "type": "string",
- "detail": "string",
- "instance": "string"
}
Register a new callback endpoint to be executed on an action in AEM Forms like submission of an Adaptive Form. A callbackUrl is registered from a source, for example, WORKFRONT_FUSION to be executed on 'AFSubmission'.
Successful operation
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "title": "string",
- "description": "string",
- "callbackUrl": "string",
- "status": "ACTIVE",
- "source": "WORKFRONT_FUSION",
- "callbackOn": [
- "AF_SUBMISSION"
], - "additionalData": {
- "workflowName": "string"
}, - "lastModifiedBy": "string",
- "targetServiceId": "string"
}
{- "id": "string",
- "title": "string",
- "description": "string",
- "callbackUrl": "string",
- "status": "ACTIVE",
- "source": "WORKFRONT_FUSION",
- "callbackOn": [
- "AF_SUBMISSION"
], - "additionalData": {
- "workflowName": "string"
}, - "lastModifiedBy": "string",
- "targetServiceId": "string"
}
Update existing callback endpoint
Update an existing callback
Successful operation
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "title": "string",
- "description": "string",
- "callbackUrl": "string",
- "status": "ACTIVE",
- "source": "WORKFRONT_FUSION",
- "callbackOn": [
- "AF_SUBMISSION"
], - "additionalData": {
- "workflowName": "string"
}, - "lastModifiedBy": "string",
- "targetServiceId": "string"
}
{- "id": "string",
- "title": "string",
- "description": "string",
- "callbackUrl": "string",
- "status": "ACTIVE",
- "source": "WORKFRONT_FUSION",
- "callbackOn": [
- "AF_SUBMISSION"
], - "additionalData": {
- "workflowName": "string"
}, - "lastModifiedBy": "string",
- "targetServiceId": "string"
}
Returns a single callback endpoint by Id
successful operation
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "id": "string",
- "title": "string",
- "description": "string",
- "callbackUrl": "string",
- "status": "ACTIVE",
- "source": "WORKFRONT_FUSION",
- "callbackOn": [
- "AF_SUBMISSION"
], - "additionalData": {
- "workflowName": "string"
}, - "lastModifiedBy": "string",
- "targetServiceId": "string"
}
Deletes a single callback endpoint
successful operation
Bad Request. The Problem Details object will provide more information about the exact cause.
Unauthorized
Forbidden
The server encountered an unexpected error. Retrying the request after a certain time could help.
{- "status": 0,
- "title": "string",
- "type": "string",
- "detail": "string",
- "instance": "string"
}