Advertisement
Guest User

Untitled

a guest
Oct 25th, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. {
  2. "defaultResponse": {
  3. "totalAccepted": 1,
  4. "totalRejected": 0,
  5. "accepted": [
  6. { "address": "tom@example.com" }
  7. ],
  8. "rejected": []
  9. },
  10. "exchanges": [
  11. {
  12. "name": "success",
  13. "request": {
  14. "sendingAccountId": "219065",
  15. "sendingUserId" : "219065",
  16. "recipients" : [
  17. "tom@example.com"
  18. ]
  19. },
  20. "response": {
  21. "totalAccepted": 1,
  22. "totalRejected": 0,
  23. "accepted": [
  24. { "address": "tom@example.com" }
  25. ],
  26. "rejected": []
  27. }
  28. },
  29. {
  30. "name": "failureRecipient",
  31. "request": {
  32. "sendingAccountId": "219065",
  33. "sendingUserId" : "219065",
  34. "recipients" : [
  35. "rejected@example.com"
  36. ]
  37. },
  38. "response": {
  39. "totalAccepted": 0,
  40. "totalRejected": 1,
  41. "accepted": [],
  42. "rejected": [
  43. { "address": "rejected@example.com" }
  44. ]
  45. }
  46. },
  47. {
  48. "name": "failureSendingAccountId",
  49. "request": {
  50. "sendingAccountId": "INVALID_ID",
  51. "sendingUserId" : "INVALID_USER_ID",
  52. "recipients" : [
  53. "tom@example.com"
  54. ]
  55. },
  56. "response": {
  57. "message": "The sending account id does not match any records"
  58. }
  59. }
  60. ]
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement