![]() |
Page History
...
Method: POST
Service Endpoints:
Int | https://bioappdev.okta.com/oauth2/aus3ym6wniM6O3MGE297/v1/token |
Stage | https://bioappdev.okta.com/oauth2/aus478s3eb0x3du23297/v1/token |
Production |
Headers
Content-Type | application/x-www-form-urlencoded |
Accept | application/json |
Parameters:
grant_type | client_credentials |
Authorization:
Authorization Type | Basic |
Username | Client ID generated by CTRP Support for the user account |
Password | Client Secret generated by CTRP Support for the user account |
...
Method: GET
Service Endpoint:
Stage | https://trials-int.nci.nih.gov/accrual-services/trials/sites/{id} |
{id} | CTRP numeric identifier of a participating site |
curl --location --request GET "https://trials-stage.nci.nih.gov/services/trials/<NCI ID>" \
...
--header "Authorization: Bearer <accessToken>"
Headers
Content-Type | application/json |
Accept | application/xml |
Parameters:
NCI ID | Trial ID (e.g NCI-2017-02883) |
Authorization:
Authorization Type | Bearer Token |
Token | Access Token generated in step 3 above |
Body:
grant_type | client_credentials |
Response:
JSON or XML data, depending on which service is being used.
...