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 Int environment and lists the required header and parameters values.

...

GET:

curl --location --request PUT GET "https://trials-int.nci.nih.gov/accrual-services/trials/nci/NCI-2019-00038/sites/po/7434<NCT>" \

--header "Content-Type: application/json" \

...

accessToken

Access Token generated in step 3.

idTypenci
NCTTrial ID (e.g trialID NCI-2019-00038id74342017-02883)

Response:

JSON or XML data, depending on which service is being used.

...