Completes a fielding run
POST/demand/accounts/:account_id/projects/:project_id/target-groups/:target_group_id/fielding-runs/:fielding_run_id/complete
Immediately completes a live or scheduled fielding run, setting its status to completed.
This action will close the target group to new respondents, regardless of whether its completes goal or end date has been reached.
This endpoint uses optimistic locking. You must provide the fielding run's current version in the If-Match header.
You can get this value from the ETag header of a GET request for this resource.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 412
- 422
- 429
- 500
The request to complete the fielding run was accepted successfully.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
The ETag header provides a unique identifier that represents the current version of a resource. It's used for caching and to prevent concurrent modification issues.
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A requested resource isn't found.
The resource could not be modified because the ETag in the If-Match header does not match the current version. This means the resource was updated by another request after you retrieved it.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
A request failed due to invalid state of the entity
The request was rate limited. Please retry after the specified delay.
Response Headers
The traceparent header carries the trace ID and parent span ID, as defined by the W3C Trace Context specification. It's used to trace a single request as it moves through multiple services.
The tracestate header complements the traceparent header by carrying vendor-specific trace information. This allows different services to add their own data to a trace.
The number of seconds to wait before making a follow-up request.
A request failed due to an internal error.