NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

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.

idTypenci
trialIDNCI-2019-00038
id7434

...