Skip to content

Instantly share code, notes, and snippets.

@jamesdabbs
Created November 13, 2015 19:10
Show Gist options
  • Save jamesdabbs/3eb4b067f46ecc3662b1 to your computer and use it in GitHub Desktop.
Save jamesdabbs/3eb4b067f46ecc3662b1 to your computer and use it in GitHub Desktop.
Medlink endpoint examples
{ "requests": [
{ "created_at": "2015-09-13 14:00:26 -0400", "supplies": [
{ "name": "Bandages", "response_id": 123, "response_type": "Delivery", "responded_at": "2015-11-10 14:05:38 -0500" },
{ "name": "Tylenol", "response_id": 456, "response_type": "Denial", "responded_at": "2015-11-10 15:05:38 -0500" }
] },
{ "created_at": "2015-11-06 14:01:07 -0500", "supplies": [
{ "name": "Bandages", "response_id": 123, "response_type": "Pickup", "responded_at": "2015-11-10 14:05:38 -0500" },
{ "name": "Something Else", "response_id": null, "response_type": null, "responded_at": null }
] }
]}
{ "supplies": [
{ "id": 1, "name": "Bandages", "shortcode": "BNDG" },
{ "id": 2, "name": "Tylenol", "shortcode": "TYLNL" },
{ "id": 3, "name": "Something Else", "shortcode": "ELSE" }
]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment