Poll an asynchronous bulk-reference ticket
GEThttps:/
A POST /v1/reference/bulk/byIsin that has to dispatch structured-note extractions answers with a ticket. Poll here with that ticket until HTTP 200. While any ISIN is still extracting the answer is HTTP 202 with progress counts (ready, pending, total).
A ticket is visible only to the caller that created it: an unknown ticket and another caller's ticket both answer 404 (messageCode 1040).
final=1 returns HTTP 200 with the ISINs that are ready now plus a pending list of the unfinished ones, without closing the ticket.
Authorization
Send your API key in the X-API-Key header. See Authentication.
Query parameters
ticketstringrequiredThe ticket id returned by the bulk-reference POST. Missing is a 400 (code 1001).
Example:
1234finalstring: 1, true, yes1,trueoryesreturns the ready subset now instead of a 202 while ISINs are still pending.Example:
1
Response fields
Inside the envelope's data. Every response also carries errors and meta (Envelope).
successarray of objectrequiredsuccess[].stringisin Non-structured-note answers only.
success[].objectsecurity_master Identity block in the sectioned structured-note record.
success[].string: structured_note, corporate_bond, municipal_bond, exchange_traded, cd, uit, treasury_bond, alternative_investmentproduct A product the API serves. The API resolves which product an ISIN belongs to (by its reference
type, and the table that holds its price where the type's own table has none; a Treasury iscorporate_bondunlessintraday=trueasks fortreasury_bond), sodata.productcan differ fromdata.reference.type.success[].objectrequiredreference Flat reference fields available via field-level permission. Specific columns surfaced depend on the caller's grants on the routed
<type>_referencetable.success[].stringreference. isin success[].string | nullreference. cusip success[].string | nullreference. description success[].string: structured_note, corporate_bond, municipal_bond, exchange_traded, cd, uit | nullreference. type success[].string | nullreference. issuer success[].objectfields Non-structured-note answers only:
{published_name: value}for the product's core fields, or the published names asked for infields.nullwhere the security has no value.success[].string: active, inactive, pre_issuance | nullrequiredlifecycle_status Lifecycle of the security as of the response build. The first rule that matches decides it:
inactive: the security has ended (matured, called, redeemed or
a similar status), or its
maturity_dateis pastpre_issuance: a note known before its issue date (its trade date
when no issue date is known). A price can already exist; terms may still change (see
filing_status)active: a price no more than 31 days old existsnull: indeterminate (no recent price)
success[].objectfiling_status Pricing-supplement provenance (structured-note responses only;
nullfor other asset types).unprocessedarray of objectrequiredunprocessed[].stringrequiredisin unprocessed[].stringrequiredreason not_foundarray of stringrequiredpendingarray of stringPresent only for
final=1on a ticket that is still running.
Status codes
| Status | Meaning |
|---|---|
200 | Every ISIN on the ticket has resolved (or |
202 | Extraction still running. The body is the bare progress object below, not wrapped in the envelope. |
400 | Validation / parse error |
401 | Missing or invalid API key |
403 | Key valid but lacks required scope/field grant |
404 | Identifier resolves to nothing |
500 | Unexpected server error |