Page History
...
Production: <Provide Prod URL here>
POST:
curl --request POST “https--user <clientId>:<clientSecret> \
--url https://<clientId>:<clientSecret>@bioappdev.okta.com/oauth2/aus3ym6wniM6O3MGE297aus478s3eb0x3du23297/v1/token” \
--header “Accept"Accept: application/json” json" \
--header “Content-Type: application/x-www-form-urlencoded” \
--data-urlencode “grant"grant_type=client_credentials" \
Parameters:
clientId | Client ID generated by CTRP Support for the user account |
clientSecret | Client Secret generated by CTRP Support for the user account |
...
curl --location --request PUT '"https://trials-int.nci.nih.gov/accrual-services/trials/nci/NCI-2019-00038/sites/po/7434" ' \
--header '"Content-Type: application/json' " \
--header '"Accept: application/xml' " \
--header '"Authorization: Bearer <accessToken>'"
Parameters:
accessToken | Access Token generated in step 3. |
idType | nci |
trialID | NCI-2019-00038 |
id | 7434 |
...