Update partnership
PUT {{baseUrl}}/entities/partnerships/:entityId
Fully updates an existing Partnership.
Expects same input as the POST Partnership
endpoint.
This endpoint supports concurrency control through the If-Match
header expecting an Etag
value returned by the GET endpoint.
Allowed roles : EDITOR
Request Body
{"id"=>"78c483d7-5e6d-488b-981c-2ac4bccca2a5", "name"=>"Joint account", "members"=>[{"entityId"=>"sed magna irure eiusmod", "sharePercentage"=>"50"}, {"entityId"=>"ei", "sharePercentage"=>"50"}], "address"=>{"country"=>"GB", "city"=>"SOUTHAMPTON", "postcode"=>"SO53 5PD", "streetName"=>"71 Cherry Court", "streetNumber"=>"A. 813"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
tangany-version | number | (Required) API version | |
If-Match | string | (Optional header) Avoid mid-air collisions by matching a resources etag | |
Content-Type | string | ||
Accept | string | ||
_tangany-data | string |
RESPONSES
status: OK
{"id":"78c483d7-5e6d-488b-981c-2ac4bccca2a5","name":"Joint account","members":[{"entityId":"sed magna irure eiusmod","sharePercentage":"50"},{"entityId":"ei","sharePercentage":"50"}],"address":{"country":"GB","city":"SOUTHAMPTON","postcode":"SO53 5PD","streetName":"71 Cherry Court","streetNumber":"A. 813"}}