Skip to content

Instantly share code, notes, and snippets.

@joachimhs
Created September 8, 2015 09:22
Show Gist options
  • Save joachimhs/ada3644115a158d2d601 to your computer and use it in GitHub Desktop.
Save joachimhs/ada3644115a158d2d601 to your computer and use it in GitHub Desktop.
{
"data": {
"id": "reference number",
"type": "smsMessage",
"attributes": {
"sentStatus": "true",
"errorCode": 0
},
"relationships": {
"smsReceipts": {
"data": [
{
"type": "smsReceipts",
"id": "12345678"
},
{
"type": "smsReceipts",
"id": "12345679"
},
{
"type": "smsReceipts",
"id": "12345680"
},
{
"type": "smsReceipts",
"id": "12345681"
}
]
}
}
},
"included": [
{
"type": "smsReceipts",
"id": "12345678",
"status": "success",
"numberOfMessagesSent": 5,
"numberOfCharactersSent": 755
},
{
"type": "smsReceipts",
"id": "12345678",
"status": "success",
"numberOfMessagesSent": 5,
"numberOfCharactersSent": 755
},
{
"type": "smsReceipts",
"id": "12345678",
"status": "success",
"numberOfMessagesSent": 5,
"numberOfCharactersSent": 755
},
{
"type": "smsReceipts",
"id": "12345678",
"status": "success",
"numberOfMessagesSent": 5,
"numberOfCharactersSent": 80
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment