List MLT History Snapshots

Retrieve a list of all history snapshots for a multi-leg transaction (MLT).

An MLT history snapshot records the state of an MLT at a specific point in time. History snapshots are created automatically based on events such as the MLT creation, edits to the MLT, and changes to the MLT status.

Endpoint

GET /v1/multi-leg-transactions/{transactionId}/histories

Authorization Header

Authorization: Bearer <access_token>

Path Parameters

transactionId  REQUIRED

string (UUID)

ID of the multi-leg transaction (MLT).

Query Parameters

sort

array [string]

Sort the response by any field in ascending or descending order. The default sort order is createdAt,DESC. For more information, see Sorting and Pagination.

page

integer (int32)

Page number to return, based on zero-based page indexing.

size

integer (int32)

Maximum number of results to return per page.

Request Body

None

Returns

Returns a paginated response with an array of MLT History Snapshot Summary objects. This object provides summary information for an MLT at a specific point in time.

SAMPLE RESPONSE

				
					{
  "totalElements": 3,
  "totalPages": 1,
  "number": 0,
  "numberOfElements": 3,
  "hasNext": false,
  "content": [
    {
      "originatingChannel": "EXTERNAL",
      "id": "9b4aff10-ad49-4f72-ae77-204a28f60196",
      "transactionId": "c0555c1a-0699-4ff4-aa9d-cd2724832be4",
      "eventType": "CREATE",
      "description": "description",
      "snapshotApiVersion": "1"
    },
    {...},
    {...}
  ]
}
				
			
Exit mobile version