curl --location 'https://stg-gateway.invora.app/api/v2/marketplace/connections//sync-events/list' \
--header 'Content-Type: application/json' \
--data '{
"connectionId": "string",
"filter": {
"part": {
"timestamp": {
"exact": "2019-08-24",
"range": {
"fromInclusive": "2019-08-24",
"toExclusive": "2019-08-24"
},
"rangeTimestamp": {
"fromInclusive": "2019-08-24T14:15:22.123Z",
"toExclusive": "2019-08-24T14:15:22.123Z"
}
},
"eventType": {
"inValues": [
"SYNC_EVENT_TYPE_UNSPECIFIED"
]
},
"marketplaceOrderId": {
"inValues": [
"string"
]
},
"importedInvoiceKey": {
"inValues": [
"string"
]
},
"invoraBranchId": {
"inValues": [
"string"
]
},
"and": {
"operands": [
{}
]
},
"or": {
"operands": [
{}
]
},
"not": {}
},
"textSearch": "string"
},
"sort": {
"rules": [
{
"timestamp": "SORT_DIRECTION_UNSPECIFIED",
"eventType": "SORT_DIRECTION_UNSPECIFIED"
}
]
},
"pagination": {
"limit": "string",
"skip": "string",
"cursor": "string"
},
"mask": "string"
}'{
"items": [
{
"eventId": "string",
"connectionId": "string",
"eventType": "SYNC_EVENT_TYPE_UNSPECIFIED",
"timestamp": "2019-08-24T14:15:22.123Z",
"marketplaceOrderId": "string",
"importedInvoiceKey": "string",
"providerIdempotencyKey": "string",
"summary": "string",
"errorMessage": "string",
"rawPayload": {},
"invoraBranchId": "string"
}
],
"totalCount": "string",
"nextPageCursor": "string"
}