All pages
Powered by GitBook
1 of 1

Loading...

AM/FA/Inv - Add Tender Request Correlation ID

Details

/external/v1/tender-offers/requests/{tradeId}/correlation-id/add

Synopsis

Add Tender Request Correlation ID

put

This route is used to add a correlation ID to an existing tender request. This correlation ID is an externally provided id that uniquely identifies the tender request within the organization making this call.

This correlation ID can't be in use by another tender request. This correlation ID can be broadcast to all the counterparties that have access to this tender request.

If the ID is to be broadcast, then it will trigger an asynchronous process (the id of which is returned on the success response) which can be monitored using the "Transactions API" endpoints.

This endpoint can be called by applications with access to scope "manageReferenceData".

Authorizations
Path parameters
tradeIdanyRequired

The unique identifier of the tender request on the blockchain

Example: US9QIMAOAS1Q
Body
correlationIdstring · max: 100Required

Externally provided id that uniquely identifies an entity within an organization.

Example: 123245573717
broadcastToCounterpartybooleanOptional

This property defines if correlation information will be sent to all counterparties.

Default: falseExample: true
originstringOptional

The organization origin system that created this entity correlation id

Example: Backoffice-system-123
transactionDataall ofRequired

This property contains the transactional data information, i.e. which is the security where we are adding a correlation id to a entity

Example: {"securityId":"USS3JKS01I00","signer":{"email":"[email protected]","name":"John Doe"}}
Responses
200
Successfully added (or, if the action is being broadcast, triggered the addition of) the correlation id to the security.
application/json
400
The following error codes can be returned: - GN0002 Please refer to the error code dictionary for the details of each error code.
application/json
401
The following error codes can be returned: - AU0001 Please refer to the error code dictionary for the details of each error code.
application/json
403
The following error codes can be returned: - AU0002 Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned: - IS0009 - TD0001 Please refer to the error code dictionary for the details of each error code.
application/json
409
The following error codes can be returned: - TO0019 - TD0005 - IS0108 Please refer to the error code dictionary for the details of each error code.
application/json
put
PUT /external/v1/tender-offers/requests/{tradeId}/correlation-id/add HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 268

{
  "extraData": {
    "externalId": "123456789",
    "some": "Custom Property"
  },
  "correlationId": "123245573717",
  "broadcastToCounterparty": true,
  "origin": "Backoffice-system-123",
  "transactionData": {
    "securityId": "USS3JKS01I00",
    "signer": {
      "email": "[email protected]",
      "name": "John Doe"
    }
  }
}
{
  "processData": {
    "processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
    "orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
  }
}