NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once the access token has been generated, it will need to be included in the 'Authorization: Bearer' parameter when submitting API requests. The following example uses the accrual-services URL in the Stage environment and lists the required header and parameters values.

Method:

...

PUT

Service Endpoint:

Stage

https://trials-int.nci.nih.gov/accrual-services/trials/{idType}/{trialId}/sites/po/{id}

idTypeType of identifier you want to use to identify a study in CTRP. Possible values: pa, nci, ctep, dcp
trialIDTrial identifier value itself
idPO identifier of the organization that is the site on the study

Headers

Accept-Encodinggzip, deflate, br
Connectionkeep-alive

Authorization

Basic
Content-Type

application/xml

Accept

text/plain

...

Authorization:

Authorization TypeBearer Token

Token

Access Token generated in step 3 above

...