Skip to content

Instantly share code, notes, and snippets.

@ttennebkram
Created May 2, 2014 00:33
Show Gist options
  • Save ttennebkram/8a6db6f26b42726b66a9 to your computer and use it in GitHub Desktop.
Save ttennebkram/8a6db6f26b42726b66a9 to your computer and use it in GitHub Desktop.
sample apollo batch, gives error on line 2 col 14
[ {
"id" : "12",
"fields" : [ {
"name" : "url",
"value" : [ {
"name" : "url",
"value" : "https://lucidimagination.zendesk.com/api/v2/tickets/12.json"
} ]
}, {
"name" : "id",
"value" : [ {
"name" : "id",
"value" : "12"
} ]
}, {
"name" : "created_at",
"value" : [ {
"name" : "created_at",
"value" : "2012-07-03T07:17:53Z"
} ]
}, {
"name" : "updated_at",
"value" : [ {
"name" : "updated_at",
"value" : "2012-07-13T21:27:42Z"
} ]
}, {
"name" : "type",
"value" : [ {
"name" : "type",
"value" : "incident"
} ]
}, {
"name" : "subject",
"value" : [ {
"name" : "subject",
"value" : "Re: Lucid Imagination Technical Support Portal welcome email"
} ]
}, {
"name" : "description",
"value" : [ {
"name" : "description",
"value" : "Hi\n\nMy subscription only includes email support with a latency of 48 hours - am\nI supposed to used the portal or is the email an mistake?\n\nBest regards\n\n/Bo (Nordjyske Medier, Denmark)\n\nOn Tue, Jul 3, 2012 at 7:12 AM, Lucid Imagination Technical Support Portal <\[email protected]> wrote:\n\n> Lucid Imagination Technical Support Portal welcome email\n>\n> Welcome to Lucid Imagination Inc. Technical Support Portal. Please follow\n> the link below to choose a password, and we will log you in right away.\n>\n> https://lucidimagination.zendesk.com/verification/email/fo7vjxqv322la1i/\n> This email is a service from Lucid Imagination Technical Support\n> Portal\n>"
} ]
}, {
"name" : "status",
"value" : [ {
"name" : "status",
"value" : "closed"
} ]
}, {
"name" : "recipient",
"value" : [ {
"name" : "recipient",
"value" : "[email protected]"
} ]
}, {
"name" : "requester_id",
"value" : [ {
"name" : "requester_id",
"value" : "232371753"
} ]
}, {
"name" : "submitter_id",
"value" : [ {
"name" : "submitter_id",
"value" : "232371753"
} ]
}, {
"name" : "assignee_id",
"value" : [ {
"name" : "assignee_id",
"value" : "228091757"
} ]
}, {
"name" : "group_id",
"value" : [ {
"name" : "group_id",
"value" : "20217312"
} ]
}, {
"name" : "has_incidents",
"value" : [ {
"name" : "has_incidents",
"value" : "false"
} ]
}, {
"name" : "tags",
"value" : [ {
"name" : "tags",
"value" : "closed_resolved"
}, {
"name" : "tags",
"value" : "general_question"
}, {
"name" : "tags",
"value" : "lucidworks_enterprise"
}, {
"name" : "tags",
"value" : "none"
}, {
"name" : "tags",
"value" : "p3"
}, {
"name" : "tags",
"value" : "production"
}, {
"name" : "tags",
"value" : "s4"
} ]
}, {
"name" : "source",
"value" : [ {
"name" : "source",
"value" : "zendesk"
} ]
} ]
}, {
"id" : "13",
"fields" : [ {
"name" : "url",
"value" : [ {
"name" : "url",
"value" : "https://lucidimagination.zendesk.com/api/v2/tickets/13.json"
} ]
}, {
"name" : "id",
"value" : [ {
"name" : "id",
"value" : "13"
} ]
}, {
"name" : "created_at",
"value" : [ {
"name" : "created_at",
"value" : "2012-07-03T09:45:05Z"
} ]
}, {
"name" : "updated_at",
"value" : [ {
"name" : "updated_at",
"value" : "2012-07-13T21:27:42Z"
} ]
}, {
"name" : "type",
"value" : [ {
"name" : "type",
"value" : "incident"
} ]
}, {
"name" : "subject",
"value" : [ {
"name" : "subject",
"value" : "Missing old case history"
} ]
}, {
"name" : "description",
"value" : [ {
"name" : "description",
"value" : "Hi,\r\nAll the old cases we opened with the Lucid Imagination Support team are not seen on the new support portal. \r\n\r\nHow can we access the old cases? Is there a plan to migrate them to the new portal?\r\n\r\nRegards,\r\nKumar"
} ]
}, {
"name" : "status",
"value" : [ {
"name" : "status",
"value" : "closed"
} ]
}, {
"name" : "requester_id",
"value" : [ {
"name" : "requester_id",
"value" : "232371433"
} ]
}, {
"name" : "submitter_id",
"value" : [ {
"name" : "submitter_id",
"value" : "232371433"
} ]
}, {
"name" : "assignee_id",
"value" : [ {
"name" : "assignee_id",
"value" : "230677087"
} ]
}, {
"name" : "organization_id",
"value" : [ {
"name" : "organization_id",
"value" : "22433201"
} ]
}, {
"name" : "group_id",
"value" : [ {
"name" : "group_id",
"value" : "20217312"
} ]
}, {
"name" : "has_incidents",
"value" : [ {
"name" : "has_incidents",
"value" : "false"
} ]
}, {
"name" : "tags",
"value" : [ {
"name" : "tags",
"value" : "closed_resolved"
}, {
"name" : "tags",
"value" : "general_question"
}, {
"name" : "tags",
"value" : "lucene_solr"
}, {
"name" : "tags",
"value" : "none"
}, {
"name" : "tags",
"value" : "p4"
}, {
"name" : "tags",
"value" : "production"
}, {
"name" : "tags",
"value" : "s4"
} ]
}, {
"name" : "followup_ids",
"value" : [ {
"name" : "followup_ids",
"value" : "421"
} ]
}, {
"name" : "source",
"value" : [ {
"name" : "source",
"value" : "zendesk"
} ]
} ]
}, {
"id" : "14",
"fields" : [ {
"name" : "url",
"value" : [ {
"name" : "url",
"value" : "https://lucidimagination.zendesk.com/api/v2/tickets/14.json"
} ]
}, {
"name" : "id",
"value" : [ {
"name" : "id",
"value" : "14"
} ]
}, {
"name" : "created_at",
"value" : [ {
"name" : "created_at",
"value" : "2012-07-03T12:37:04Z"
} ]
}, {
"name" : "updated_at",
"value" : [ {
"name" : "updated_at",
"value" : "2012-07-13T21:27:42Z"
} ]
}, {
"name" : "type",
"value" : [ {
"name" : "type",
"value" : "incident"
} ]
}, {
"name" : "subject",
"value" : [ {
"name" : "subject",
"value" : "Active case:00006143 Solr outage"
} ]
}, {
"name" : "description",
"value" : [ {
"name" : "description",
"value" : "We need the history of case: 00006143 imported into your new system. \r\n\r\nI have attached the production GC logs as you "
} ]
}, {
"name" : "status",
"value" : [ {
"name" : "status",
"value" : "closed"
} ]
}, {
"name" : "requester_id",
"value" : [ {
"name" : "requester_id",
"value" : "232371203"
} ]
}, {
"name" : "submitter_id",
"value" : [ {
"name" : "submitter_id",
"value" : "232371203"
} ]
}, {
"name" : "assignee_id",
"value" : [ {
"name" : "assignee_id",
"value" : "230677087"
} ]
}, {
"name" : "group_id",
"value" : [ {
"name" : "group_id",
"value" : "20217312"
} ]
}, {
"name" : "has_incidents",
"value" : [ {
"name" : "has_incidents",
"value" : "false"
} ]
}, {
"name" : "tags",
"value" : [ {
"name" : "tags",
"value" : "closed_resolved"
}, {
"name" : "tags",
"value" : "lucene_solr"
}, {
"name" : "tags",
"value" : "none"
}, {
"name" : "tags",
"value" : "p4"
}, {
"name" : "tags",
"value" : "product_issue"
}, {
"name" : "tags",
"value" : "production"
}, {
"name" : "tags",
"value" : "s4"
} ]
}, {
"name" : "source",
"value" : [ {
"name" : "source",
"value" : "zendesk"
} ]
} ]
} ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment