Skip to content

Instantly share code, notes, and snippets.

@tstachl
Created February 26, 2014 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tstachl/9236905 to your computer and use it in GitHub Desktop.
Save tstachl/9236905 to your computer and use it in GitHub Desktop.
{
"type": "email",
"subject": "Creating a case via the API",
"priority": 4,
"status": "open",
"labels": [
"Spam",
"Ignore"
],
"language": "fr",
"created_at": "2012-05-01T21:38:48Z",
"_links": {
"customer": {
"href": "/api/v2/customers/1",
"class": "customer"
},
"assigned_user": {
"href": "/api/v2/users/1",
"class": "user"
},
"assigned_group": {
"href": "/api/v2/groups/1",
"class": "group"
},
"locked_by": {
"href": "/api/v2/users/1",
"class": "user"
}
},
"message": {
"direction": "in",
"status": "received",
"to": "Helpdesk <helpdesk@getpantheon.com>",
"from": "John Doe <jdoe@example.com>",
"subject": "Creating a case via the API",
"body": "Please assist me with this case",
"created_at": "2012-05-02T21:38:48Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment