Backfills
Import activities
Backfills
Import activities
Imports activities into your workspace. If you’d like access to this route, please reach out to your Customer Success rep.
POST
/
activities
/
import
curl --request POST \
--url https://api.rallyuxr.com/api/public/v1/activities/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"peopleActivities": [
{
"personId": "<string>",
"activities": [
{
"type": "SCREENER_COMPLETED",
"activityAt": "2023-11-07T05:31:56Z",
"participantId": "<string>"
}
]
}
]
}'
{
"message": "<string>",
"peopleCount": 123,
"activitiesCount": 123,
"importId": "<string>",
"errors": [
{
"message": "<string>",
"path": [
"<string>"
]
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
202
application/json
Incentive search response
The response is of type object
.
curl --request POST \
--url https://api.rallyuxr.com/api/public/v1/activities/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"peopleActivities": [
{
"personId": "<string>",
"activities": [
{
"type": "SCREENER_COMPLETED",
"activityAt": "2023-11-07T05:31:56Z",
"participantId": "<string>"
}
]
}
]
}'
{
"message": "<string>",
"peopleCount": 123,
"activitiesCount": 123,
"importId": "<string>",
"errors": [
{
"message": "<string>",
"path": [
"<string>"
]
}
]
}