![]() |
Page History
...
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 "Content-Type: application/json" \
--header "Accept: application/xml" \
--header "Authorization: Bearer <accessToken>"
Headers
Content-Type | application/json |
Accept | application/xml |
...
Authorization Type | Bearer Token |
Token | Access Token generated in step 3 above |
Body:
...
grant_type
...
Code Block | ||
---|---|---|
| ||
<tns:studySubjects xmlns:tns="gov.nih.nci.accrual.webservices.types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="gov.nih.nci.accrual.webservices.types ../../src/resources/ws.xsd ">
<tns:studySubject>
<tns:identifier>SU001</tns:identifier>
<tns:birthDate>2002-01-01</tns:birthDate>
<tns:gender>Female</tns:gender>
<tns:race>Black or African American</tns:race>
<tns:ethnicity>Not Hispanic or Latino</tns:ethnicity>
<tns:country>USA</tns:country>
<tns:zipCode>22201</tns:zipCode>
<tns:registrationDate>2014-01-01</tns:registrationDate>
<tns:methodOfPayment>MEDICAID_AND_MEDICARE</tns:methodOfPayment>
<tns:disease codeSystem="ICD9">861.20</tns:disease>
</tns:studySubject> |
Response:
JSON or XML data, depending on which service is being used.
...