Create a job to upload respondent exclusions by file
POST/demand/accounts/:account_id/projects/:project_id/target-groups/:target_group_id/exclusions/jobs/upload-respondents-by-file
Creates a job to upload new respondent exclusions by file for the specified target group ID. The new IDs will be added to the existing ones. The total number of IDs, both existing and new, must not exceed 100,000 IDs. This will return an identifier that can be used to retrieve the job execution information, including the status. Only one job can run at a time for a target group. If another job is already running before the endpoint is called for the same target group, a conflict response will be returned. The file must be in CSV or TXT format, without a header row. Each line should contain a single identifier. Only one single file can be uploaded and the file size must be less than 5MB. While execution time may vary, storing 10,000 new respondents typically takes between 3 and 5 minutes.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
- 413
- 415
- 500
The generated Job ID of the uploaded respondents by file operation.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
An already existing resource has conflicts with the request.
The request entity was larger than limits defined by the server.
The request content format is not supported.
A request failed due to an internal error.