Not Found

The requested resource could not be found

Purple gradient wave Purple wave used to give a visual break between the header and body of the page.

Summary

The resource that was requested could not be found, which can happen if the entity has been deleted or an incorrect identifier has been specified.

 

curl -H "Authorization: ApiKey {ApiKey}" https://api.youmanage.co.uk/Companies/99

{
  "error": {
    "code": "YM0052",
    "reference": "https://developer.youmanage.co.uk/api/errors/ym0052",
    "target": null,
    "message": "The requested resouce could not be found",
    "details": null
  }
}

   

Solution

Ensure the entity exists and the correct identifier is being used before reissuing the request.

curl -H "Authorization: ApiKey {ApiKey}" https://api.youmanage.co.uk/Companies/2

{
  "id": 2,
  "name": "Fictional Data Limited",
  "enabled": true
}