Update the maturity action(s) for a holding
Changed onUpdates the maturity action(s) for an existing holding.
Send action to apply a single action to the holding's entire maturity value, or actions to split that value across several actions — for example auto-extending part of an extendable holding and withdrawing the rest. Either form replaces every maturity action currently set on the holding, so send the complete instruction each time. Any part of maturityValue left unallocated by actions becomes a HOLD action.
Request
- Base URLhttps://api.treasuryspring.com/api/v1
- AuthHTTP bearer
Path parameters
Entity code
uid of the holding whose maturity action is being modified.
Request body
Example request
{
"actions": [
{
"amount": 5000,
"indicationUid": "f952ed5df4g84f8gh148f4f8sf6g4"
}
],
"indicationUid": "f952ed5df4g84f8gh148f4f8sf6g4"
}Response
Maturity actions
Example response
{
"entityCode": "TEST0001",
"holdingUid": "16cdb3fe25e743fc9eed4b9742869424",
"maturityActions": [
{
"amount": 5000,
"currency": "GBP",
"holdingUid": "74628ebad0f54881b3c76acf146eb3c3",
"subscriptionUid": "dade0389c66241bd8366b017f1ffe19a",
"type": "ROLL",
"uid": "96cd54e5ddfd41b0a77afef15a96660d"
}
]
}Changes
- breaking
removed the enum value
HOLDof the request property - breaking
removed the enum value
REDEEMof the request property - breaking
removed the enum value
ROLLof the request property - breaking
removed the enum value
SWITCHof the request property - breaking
the
request property type changed fromstringto no type - info
added the new optional request property
- info
added
subschema #2to therequest propertyanyOflist - info
the request property
became optional
- breaking