Skip to navigation

Bulk create StudyItemAssociation

Bulk create StudyItemAssociation asynchronously. Returns a task link that can be polled for the result.

Idempotency

Submitted inputs with a (studyId, itemId) pair that already exists, including duplicate pairs in the submitted items, are accepted and ignored. They do not produce an error or create a duplicate association.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
fileIdstringRequired

The API ID of the scratch file (scrfile_XXXXXXXX) containing the items to import. The referenced file must be a scratch file whose upload has completed successfully.

Response

Task started
pollingUristringOptionalformat: "uri"
taskIdstringOptional

Errors

400
Study Item Association Bulk Create Request Bad Request Error
403
Study Item Association Bulk Create Request Forbidden Error
404
Study Item Association Bulk Create Request Not Found Error
409
Study Item Association Bulk Create Request Conflict Error
429
Study Item Association Bulk Create Request Too Many Requests Error
500
Study Item Association Bulk Create Request Internal Server Error