function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Luciano Arango 9Luciano Arango 9 

NOT_FOUND Case object searching by CaseId field of LiveChatTranscript

Hi,

I am using /services/data/v55.0/sobjects/LiveChatTranscript/{ID} api to fetch chat transcript data. From the response i am receiving valid CaseId field.

When trying to fetch Case Object using /services/data/v55.0/sobjects/Case/{ID}, passing CaseId received from above response. I returned 404 code with

[
    {
        "errorCode": "NOT_FOUND",
        "message": "The requested resource does not exist"
    }
]

 

Can someone help me on that.

 

Also, when fetching updated Case ids list for 20 days, i am receiving empty list. using the api salesforce doc (https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_get_updated.htm)

/services/data/v55.0/sobjects/Case/updated/?start=2022-06-01T00%3A00%3A00%2B0000&end=2022-06-21T00%3A00%3A00%2B0000

{
    "ids": [],
    "latestDateCovered": "2022-06-21T00:00:00.000+0000"
}
MagulanDuraipandianMagulanDuraipandian
Lucianano,
It might be due to the integration without access to these records. share the records with the integration user and check.

--
Magulan Duraipandian
https://www.infallibletechie.com/