Import reserved entry participants
curl --request POST \
--url https://api.letsdothis.com/v0/reserved-entries/participants/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assignments": [
{
"reservedEntryGroupId": "<string>",
"bookingId": "<string>",
"entryId": "<string>",
"participantId": "<string>",
"reservationCode": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assignments: [
{
reservedEntryGroupId: '<string>',
bookingId: '<string>',
entryId: '<string>',
participantId: '<string>',
reservationCode: '<string>'
}
]
})
};
fetch('https://api.letsdothis.com/v0/reserved-entries/participants/import', 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"
payload = { "assignments": [
{
"reservedEntryGroupId": "<string>",
"bookingId": "<string>",
"entryId": "<string>",
"participantId": "<string>",
"reservationCode": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"jobId": "664a4b5c6d7e8f901a2b3c4d",
"status": "queued"
}{
"statusCode": 400,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 409,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 413,
"error": "<string>",
"message": "<string>"
}{
"error": "validation_failed",
"message": "<string>",
"totalRows": 123,
"rowsWithErrors": 123,
"errorCount": 123,
"summary": [
{
"code": "<string>",
"count": 1,
"message": "<string>",
"examples": [
{
"rowIndex": 123,
"reservedEntryGroupId": "<string>",
"bookingId": "<string>",
"entryId": "<string>",
"participantId": "<string>",
"value": "<string>"
}
]
}
],
"errors": [
{
"rowIndex": 123,
"errors": [
{
"code": "<string>",
"message": "<string>"
}
],
"reservedEntryGroupId": "<string>"
}
],
"truncated": true
}{
"statusCode": 429,
"error": "<string>",
"message": "<string>"
}Reserved entries
Import reserved entry participants
Places participants you’ve already imported into reserved entry groups, in the background as a job you poll. See how imports work.
How to use it
- Each row names a group and exactly one of
bookingId,entryIdorparticipantId. AbookingIdrow covers every participant on that booking, so results are per participant and can outnumber your rows. - Each participant is placed in a group once. Sending them again for the same group reports
alreadyImportedand uses no extra place. - A participant who already holds a place in a different group isn’t moved, and their result fails.
POST
/
v0
/
reserved-entries
/
participants
/
import
Import reserved entry participants
curl --request POST \
--url https://api.letsdothis.com/v0/reserved-entries/participants/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assignments": [
{
"reservedEntryGroupId": "<string>",
"bookingId": "<string>",
"entryId": "<string>",
"participantId": "<string>",
"reservationCode": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
assignments: [
{
reservedEntryGroupId: '<string>',
bookingId: '<string>',
entryId: '<string>',
participantId: '<string>',
reservationCode: '<string>'
}
]
})
};
fetch('https://api.letsdothis.com/v0/reserved-entries/participants/import', 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"
payload = { "assignments": [
{
"reservedEntryGroupId": "<string>",
"bookingId": "<string>",
"entryId": "<string>",
"participantId": "<string>",
"reservationCode": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"jobId": "664a4b5c6d7e8f901a2b3c4d",
"status": "queued"
}{
"statusCode": 400,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 409,
"error": "<string>",
"message": "<string>"
}{
"statusCode": 413,
"error": "<string>",
"message": "<string>"
}{
"error": "validation_failed",
"message": "<string>",
"totalRows": 123,
"rowsWithErrors": 123,
"errorCount": 123,
"summary": [
{
"code": "<string>",
"count": 1,
"message": "<string>",
"examples": [
{
"rowIndex": 123,
"reservedEntryGroupId": "<string>",
"bookingId": "<string>",
"entryId": "<string>",
"participantId": "<string>",
"value": "<string>"
}
]
}
],
"errors": [
{
"rowIndex": 123,
"errors": [
{
"code": "<string>",
"message": "<string>"
}
],
"reservedEntryGroupId": "<string>"
}
],
"truncated": true
}{
"statusCode": 429,
"error": "<string>",
"message": "<string>"
}This endpoint is restricted and not generally available: organizations that have not been enabled receive a
403. Contact your Let’s Do This representative if you’d like access.Authorizations
Body
application/json
A batch of entries to place in reserved entry groups. If any row fails the check, nothing is imported.
Whether to raise a group's maxCapacity to fit the batch rather than rejecting it. Off by default. When several groups are short, each is raised by its own shortfall. A group's capacity is the number of places in it, so raising it creates the additional places.
Every raise is reported in capacityChanges on the job status, so the resulting block sizes can be audited from the API.
Was this page helpful?

