Modify Agreement
PATCH/agreements/:id
Modify an existing agreement. Rules
-
Excluding the
initiatingPartythere must only beuniLateralorbiLateralfields present. They are mutually exclusive. -
If
uniLateral.destination.account.typeis "BSB" thenuniLateral.destination.account.bsbanduniLateral.destination.account.numberare required. -
If
uniLateral.destination.account.typeis "alternateIdentification" thenuniLateral.destination.account.alternateIdentification.typeanduniLateral.destination.account.alternateIdentification.valueare required.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 422
- 500
- 503
Accepted
Response Headers
Bad Request
Request is not well-formed, syntactically incorrect, or violates schema.
Response Headers
Unauthorized
Requires authentication
Response Headers
Forbidden
Token is missing required authorization scope
Response Headers
Not Found
Response Headers
Unprocessable Entity
The API cannot complete the requested action, or the request action is semantically incorrect or fails business validation.
Response Headers
Internal Server Error
An internal server error has occurred.
Response Headers
Service Unavailable - Temporarily Unavailable