curl --request GET \
--url https://api.letsdothis.com/v0/reserved-entries/participants/import/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/reserved-entries/participants/import/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/reserved-entries/participants/import/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"jobId": "664a4b5c6d7e8f901a2b3c4d",
"status": "completed",
"counts": {
"pending": 0,
"processing": 0,
"success": 1,
"failure": 0,
"cancelled": 0,
"total": 1
},
"rowCounts": {
"succeeded": 1,
"alreadyImported": 0,
"failed": 1,
"total": 2
},
"results": [
{
"rowIndex": 0,
"reservedEntryGroupId": "65a2b3c4d5e6f708192a3b4c",
"bookingId": "65a1b2c3d4e5f60718293a4b",
"entryId": "65b3c4d5e6f708192a3b4c5d",
"participantId": "8c11d86e-a472-4d4a-b1aa-0a816f715f21",
"individualReservedEntryId": "65c4d5e6f708192a3b4c5d6e",
"status": "succeeded",
"errors": []
},
{
"rowIndex": 1,
"reservedEntryGroupId": "65a2b3c4d5e6f708192a3b4c",
"status": "failed",
"errors": [
{
"code": "NO_CAPACITY_REMAINING",
"message": "Group VIP has 0 free places but the batch assigns 1. Set expandCapacity to raise it."
}
]
}
],
"capacityChanges": []
}{
"statusCode": 400,
"error": "<string>",
"message": "<string>"
}Get reserved entry participant import status
Returns the progress of a reserved entry import and the result for each participant so far. See reading a job.
How to use it
- Poll until
statusiscompletedbefore treatingresultsas final. - Results are per participant: a row naming a
bookingIdhas one result for each participant on the booking, all with that row’srowIndex. - Each result includes
bookingId,entryIdandparticipantId, so you can match on whichever you hold. StoreparticipantId: it’s the id the reserved entry links to.
curl --request GET \
--url https://api.letsdothis.com/v0/reserved-entries/participants/import/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/reserved-entries/participants/import/{jobId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.letsdothis.com/v0/reserved-entries/participants/import/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"jobId": "664a4b5c6d7e8f901a2b3c4d",
"status": "completed",
"counts": {
"pending": 0,
"processing": 0,
"success": 1,
"failure": 0,
"cancelled": 0,
"total": 1
},
"rowCounts": {
"succeeded": 1,
"alreadyImported": 0,
"failed": 1,
"total": 2
},
"results": [
{
"rowIndex": 0,
"reservedEntryGroupId": "65a2b3c4d5e6f708192a3b4c",
"bookingId": "65a1b2c3d4e5f60718293a4b",
"entryId": "65b3c4d5e6f708192a3b4c5d",
"participantId": "8c11d86e-a472-4d4a-b1aa-0a816f715f21",
"individualReservedEntryId": "65c4d5e6f708192a3b4c5d6e",
"status": "succeeded",
"errors": []
},
{
"rowIndex": 1,
"reservedEntryGroupId": "65a2b3c4d5e6f708192a3b4c",
"status": "failed",
"errors": [
{
"code": "NO_CAPACITY_REMAINING",
"message": "Group VIP has 0 free places but the batch assigns 1. Set expandCapacity to raise it."
}
]
}
],
"capacityChanges": []
}{
"statusCode": 400,
"error": "<string>",
"message": "<string>"
}403. Contact your Let’s Do This representative if you’d like access.Authorizations
Response
The job's progress so far, and the result for each participant it has finished.
The state of a reserved entry participant import.
results holds one entry per result, with its status and errors. It's the only field that says whether a result was imported, so act on it. It fills up while the job runs, so a processing job shows only the results finished so far: poll until status is completed.
rowCounts totals results, so a non-zero rowCounts.failed means some results need attention. status is completed once the job has finished, even if every result failed. counts tracks the job's background work, not your results. Results are per participant, so a row that names a booking produces one for each participant on it, and rowCounts.total can be more than the rows you sent.
Progress of the job's background work. These count units of work, not your rows: one unit can cover several rows, and a finished unit counts as success even if all its rows failed. Read results for each row's outcome.
Show child attributes
Show child attributes
Outcome totals for an import job, folded from results: one count per reported result, not per submitted row. Most imports report one result per submitted row, but an endpoint can report several — a reserved-entry participant row covering a booking reports one result per participant — so total can legitimately exceed the submitted row count and is not a reconciliation check against it. The totals accumulate the same way results does: a processing job counts the results reported so far. A non-zero failed is the signal to inspect results and act on the failures.
Show child attributes
Show child attributes
Was this page helpful?

