Skip to main content

Update Annexures

Description: To update the annexures attached to a form, a HTTP PUT request is made to the URL with the form ID, annexure ID's and a session token.

info

Calling this end point will clear any existing annexures (and pdf annexures if supported) and attach only those passed in the parameters.

Method: PUT

URI: /forms/form_id/annexures

URI Parameters

  • form_id: The ID of the form.

Parameters

Headers: Authorization: Third party based authorization header

Example

Request
curl https://app-api.reiformslive.com.au/forms/1/annexures \
--request PUT \
--header "content-type: application/json" \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ==" \
--data '{
annexures: [1,2],
pdfs: [1]
}'