Step 4 (of 5)
4. Update an ORCID record (PUT)
In the step, you will learn how to use the API to update (change) the information you have previously added to an ORCID record.
In a real-world situation, you may need to update the items that you have added to a researcher’s record. In this example we will be updating the end date on the ‘education’ affiliation we added in the last step.
In the Google Developers OAuth2 Playground Change HTTP Method to PUT
Click Add Headers and make sure that Accept and Content-type are both set to application/vnd.orcid+xml
In the Request URI field enter:
https://api.sandbox.orcid.org/v3.0/[ORCID ID]/education/[PUT CODE]
Replace [ORCID ID] with the iD for your Sandbox record, format XXXX-XXXX-XXXX-XXXX and [PUT CODE] with the put-code for your education affiliation
Grab the XML from the POST section again and the click Enter request body and paste it in.
Edit the end date for your education affiliation
Click Send the Request.
The results will appear in the Request/Response section at right. Scroll to the bottom – if you see HTTP/1.1 200 OK, your education affiliation was successfully updated! If you see an error message, check that the header values in Add headers have not been changed to garbled text, for example: application%2Fvnd.orcid%2Bxml”
Visit the public view of your Sandbox record at https://sandbox.orcid.org/[ORCID ID] to see your updated education affiliation with the new end date populated.