Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Additional Single quote in Incident Created date in API Response — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Additional Single quote in Incident Created date in API Response

Received Response
16
Views
2
Comments
edited Jun 8, 2022 12:11PM in General Technical Discussions 2 comments

Summary

REST API returning additional single quote for all date fields

Content

Hi,

I am using REST API analyticsReportResults for custom report result. Every time I get date fields i.e. incident.created and incident.closed fields in single and double quotes as shown below

https://customer.custhelp.com/services/rest/connect/v1.4/analyticsReportResults

Method - POST

Body

{

"id" :10033

}

Response

{
    "count": 10000,
    "name": "Incidents by Orgs Collection",
    "columnNames": [
        "CreatedDate",
        "ClosedDate",
        
    ],
    "rows": [
        [
            " ' 2021-01-05 12:38:59 ' ",
            " ' 2021-02-03 01:30:25 ' ",
        ]
}

 

 

Is there a way to remove double quote or single quote from response ? or Is it standard out of box functionality 

Appreciate your help and suppport

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!