{
  "actions": [
    {
      "name": "approved"
    }
  ],
  "callback_id": "timeoffRequest#2",
  "team": {
    "id": "T012AB0A1",
    "domain": "pocket-calculator"
  },
  "channel": {
    "id": "C012AB3CD",
    "name": "general"
  },
  "user": {
    "id": "U012A1BCD",
    "name": "musik"
  },
  "action_ts": "1481579588.685999",
  "message_ts": "1481579582.000003",
  "attachment_id": "1",
  "token": "iUeRJkkRC9RMMvSRTd8gdq2m",
  "original_message": {
    "text": "Here's the current pending requests:",
    "attachments": [
      {
        "text": "Farid has requested a sick leave from *Mon Oct 3 2011* to *Sat Oct 1* for 5 working days",
        "mrkdwn_in": ["text"],
        "color": "#3AA3E3",
        "callback_id": "timeoffRequest#2",
        "actions": [
          {
            "name": "approved",
            "text": "Approve",
            "type": "button",
            "style": "primary"
          },
          {
            "name": "rejected",
            "text": "Reject",
            "type": "button",
            "style": "danger"
          }
        ]
      },
      {
        "text": "Farid has requested a sick leave from *Mon Oct 3 2011* to *Sat Oct 1* for 5 working days",
        "mrkdwn_in": ["text"],
        "color": "#3AA3E3",
        "callback_id": "timeoffRequest#3",
        "actions": [
          {
            "name": "approved",
            "text": "Approve",
            "type": "button",
            "style": "primary"
          },
          {
            "name": "rejected",
            "text": "Reject",
            "type": "button",
            "style": "danger"
          }
        ]
      },
      {
        "color": "#36a64f",
        "title": "View all in calendar",
        "title_link": "https://olindata.bamboohr.co.uk/calendar",
        "callback_id": "timeoffRequest#all",
        "actions": [
          {
            "name": "approved",
            "text": "Approve All",
            "type": "button",
            "style": "primary"
          },
          {
            "name": "rejected",
            "text": "Reject All",
            "type": "button",
            "style": "danger"
          }
        ]
      }
    ]
  },
  "response_url": "https://hooks.slack.com/actions/T012AB0A1/123456789/JpmK0yzoZDeRiqfeduTBYXWQ"
}
