You need to sign in to do that
Don't have an account?

sobject update API returning NOT_FOUND error code
I have created and updated a few Contacts and have also encoded start and end parameters
Following is my REST call
GET https://xxx.xxx.xxx/services/data/v49.0/sobjects/Contact/updated?start=2020-11-01T00%3A00%3A00%2B05%3A30&end=2020-11-06T14%3A56%3A00%2B05%3A30
But I keep getting
[
{
"errorCode": "NOT_FOUND",
"message": "The requested resource does not exist"
}
]
What am I missing here ?
Thanks
Suhel
Following is my REST call
GET https://xxx.xxx.xxx/services/data/v49.0/sobjects/Contact/updated?start=2020-11-01T00%3A00%3A00%2B05%3A30&end=2020-11-06T14%3A56%3A00%2B05%3A30
But I keep getting
[
{
"errorCode": "NOT_FOUND",
"message": "The requested resource does not exist"
}
]
What am I missing here ?
Thanks
Suhel
https://xxx.xx.xxx/services/data/v49.0/query?q=select+Id,Name+from+Contact+WHERE+LastModifiedDate>=2020-11-01T05%3A27%3A00%2B00%3A00+AND+LastModifiedDate<=2020-11-09T05%3A40%3A00%2B00%3A00
All Answers
Good to know it works on Dev edition. But for me, its still not working.
I enabled API access through a new permission set for my user (System administrator)
https://xxx.xx.xxx/services/data/v49.0/sobjects/Contact/updated/?start=2020-11-01T05%3A27%3A00%2B00%3A00&end=2020-11-09T05%3A40%3A00%2B00%3A00
I double checked that my object was created before end datetime (2020-11-09T05:40:00+00:00)
Object creation time fetched using GET Contact REST API
"CreatedDate": "2020-11-09T05:26:07.000+0000"
I am not sure what am I still missing ? I am trying this out through Postman.Any suggestions / help will be highly appreciated.
Regards,
Suhel
https://xxx.xx.xxx/services/data/v49.0/query?q=select+Id,Name+from+Contact+WHERE+LastModifiedDate>=2020-11-01T05%3A27%3A00%2B00%3A00+AND+LastModifiedDate<=2020-11-09T05%3A40%3A00%2B00%3A00