Webex · Example Payload

Webex List Direct Messages Example

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Webex List Direct Messages Example is an example object payload from Webex, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "List Direct Messages",
  "method": "GET",
  "path": "/messages/direct",
  "summary": "List Direct Messages",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "items": [
          {
            "id": "Y2lzY29zcGFyazovL3VzL01FU1NBR0UvOTJkYjNiZTAtNDNiZC0xMWU2LThhZTktZGQ1YjNkZmM1NjVk",
            "parentId": "Y2lzY29zcGFyazovL3VzL01FU1NBR0UvOTJkYjNiZTAtNDNiZC0xMWU2LThhZTktZGQ1YjNkZmM1NjVk",
            "roomId": "Y2lzY29zcGFyazovL3VzL1JPT00vODQxZjY5MjAtNDdlZC00NmE0LWI2YmItZTVjM2M1YTc3Yzgy",
            "roomType": "direct",
            "text": "Hey there, what do you think of this project update presentation (http://sharepoint.example.com/presentation.pptx)?",
            "markdown": "Hey there, what do you think of [this project update presentation](http://sharepoint.example.com/presentation.pptx)?",
            "html": "<p>Hey there, what do you think of <a href=\\\"http://sharepoint.example.com/presentation.pptx\\\" rel=\\\"nofollow\\\">this project update presentation</a>?</p>",
            "files": [
              "http://www.example.com/images/media.png"
            ],
            "personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
            "personEmail": "matt@example.com",
            "attachments": [
              {
                "contentType": "application/vnd.microsoft.card.adaptive",
                "content": {
                  "type": "AdaptiveCard",
                  "version": "1.0",
                  "body": [
                    {
                      "type": "TextBlock",
                      "text": "Adaptive Cards",
                      "size": "large"
                    }
                  ],
                  "actions": [
                    {
                      "type": "Action.OpenUrl",
                      "url": "http://adaptivecards.io",
                      "title": "Learn More"
                    }
                  ]
                }
              }
            ],
            "created": "2015-10-18T14:26:16+00:00",
            "updated": "2015-10-18T14:27:16+00:00",
            "isVoiceClip": false
          }
        ]
      }
    }
  ]
}