Restore Note
POST/notes/:id/restore
Restore Note
Request
Version stringrequired
API Version
Available options
2021-04-15id stringrequired
Note Id
locationId stringrequired
Location Id
- application/json
- Body
- Example (auto)
Bodyrequired
forceRestoreboolean
Whether to force restore the note even if conflicts exist
modelstring
The model type of the record to restore the note to
recordIdstring
The record ID to restore the note to
{
"forceRestore": true,
"model": "VWTbKSJtS4ueEPV3inr1",
"recordId": "VWTbKSJtS4ueEPV3inr1"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
noteobject
The note object
{
"note": {
"id": "HGPcayliwcdoUFzvbTok",
"body": "lorem ipsum",
"userId": "TUcmRxWrjqzJS8EjkxNK",
"dateAdded": "2021-07-08T12:02:11.285Z",
"title": "Follow-up summary",
"color": "#FFAA00",
"pinned": false
}
}