From b87a9d8c7616bcb542238b7d2573fee821a83aed Mon Sep 17 00:00:00 2001 From: Jo Humphrey <31373245+jamdelion@users.noreply.github.com> Date: Mon, 2 Dec 2024 10:50:34 +0000 Subject: [PATCH] Correct the endpoint in resubmit doc --- doc/how-to/how-to-resubmit-an-application.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/how-to/how-to-resubmit-an-application.md b/doc/how-to/how-to-resubmit-an-application.md index 43a35f3fa6..95ba599d7b 100644 --- a/doc/how-to/how-to-resubmit-an-application.md +++ b/doc/how-to/how-to-resubmit-an-application.md @@ -27,15 +27,15 @@ In the near future, this process should be replaced by a re-submission API which * `bops_application.response.message` should be changed from `"Application created"` to `"FAILED"` 6. In Insomnia (or HTTP client of choice), prepare to re-submit the payload - - * API Endpoint - `https://api.editor.planx.uk/${destination}/${localAuthority}` - * For example, https://api.editor.planx.uk/uniform/aylesbury-vale + * API Endpoint - `https://api.editor.planx.uk/create-send-events/${sessionId}` + * For example, https://api.editor.planx.uk/create-send-events/a535510n-1d-a535510n-1d * HTTP Method - POST * Headers - `{ "Authorization": ${HASURA_PLANX_API_KEY} }` * This secret can be found via Pulumi or your `.env` file -This can also be done directly from the [Swagger docs](https://api.editor.planx.uk/docs/#/admin). +This can also be done directly from the [Swagger docs](https://api.editor.planx.uk/docs/). -> ⚠️ *Uniform instances do not neatly map to local authorities. Please take care to ensure that the value for `localAuthority` is taken from `uniform_applications.destination` when re-submitting to Uniform* +> ⚠️ *Uniform instances do not neatly map to local authorities. Please take care to ensure that the value for `localAuthority` in the payload is taken from `uniform_applications.destination` when re-submitting to Uniform* 7. Prepare the payload copied from Step 3. Ensure the structure is correct, see example -