Skip to content

Commit

Permalink
Correct the endpoint in resubmit doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion committed Dec 2, 2024
1 parent 580c1e8 commit b87a9d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/how-to/how-to-resubmit-an-application.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -

Expand Down

0 comments on commit b87a9d8

Please sign in to comment.