curl --request GET \
--url https://api.letsdothis.com/v0/teams/import/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/teams/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/teams/import/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"jobId": "<string>",
"status": "queued",
"counts": {
"pending": 123,
"processing": 123,
"success": 123,
"failure": 123,
"cancelled": 123,
"total": 123
},
"rowCounts": {
"succeeded": 123,
"alreadyImported": 123,
"failed": 123,
"total": 123
},
"results": [
{
"externalTeamId": "<string>",
"status": "succeeded",
"errors": [
{
"code": "<string>",
"message": "<string>",
"participantId": "<string>"
}
],
"teamId": "<string>"
}
]
}Get team import status
Returns the progress of a team import and the result for each team imported so far. See reading a job.
Poll until status is completed, then read results.
curl --request GET \
--url https://api.letsdothis.com/v0/teams/import/{jobId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.letsdothis.com/v0/teams/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/teams/import/{jobId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"jobId": "<string>",
"status": "queued",
"counts": {
"pending": 123,
"processing": 123,
"success": 123,
"failure": 123,
"cancelled": 123,
"total": 123
},
"rowCounts": {
"succeeded": 123,
"alreadyImported": 123,
"failed": 123,
"total": 123
},
"results": [
{
"externalTeamId": "<string>",
"status": "succeeded",
"errors": [
{
"code": "<string>",
"message": "<string>",
"participantId": "<string>"
}
],
"teamId": "<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 team it has finished.
The state of a team import.
results holds one entry per team, with its status and errors. It's the only field that says whether a team was imported, so act on it. It fills up while the job runs, so a processing job shows only the teams finished so far: poll until status is completed.
rowCounts totals results, so a non-zero rowCounts.failed means some teams need attention. status is completed once the job has finished, even if every team failed. counts tracks the job's background work, not your teams.
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?

