API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

POST/contracts/{id}/exercise_urlOther

Create an Exercise URL

https://fintech.staging.htsapis.com/flights-dafar/v2/contracts/{id}/exercise_url

Create a link to the self serve exercise portal, which provides customers the ability to exercise their product.

Parameters

id
path · string
required

A unique identifier for a contract.

Responses

201
exercise_url
string
required
400Syntactic errors were encountered while handling the request
Array of error
message
string
required
code
string
required
Example
[
  {
    "message": "string",
    "code": "string"
  }
]
401The client could not be authenticated
No body.
403The authenticated client does not have permission to call this endpoint
No body.
404The requested resource could not be found
No body.
499The client cancelled the request
No body.
500The server encountered an internal error
No body.
Request
curl -X POST "https://fintech.staging.htsapis.com/flights-dafar/v2/contracts/<id>/exercise_url" \
  -H "X-Api-Key: $HTS_API_KEY"
Response 201
{
  "exercise_url": "string"
}

Examples are generated from the schema where the spec publishes none; field values are illustrative.