Microsoft Visio API · Example Payload

Visio Javascript Listpages Example

Business ProcessCollaborationDiagramsEnterpriseFlowchartsMicrosoft 365Visualization

Visio Javascript Listpages Example is an example object payload from Microsoft Visio API, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "/document/pages",
    "headers": {
      "X-Embedded-Session": "{{VISIO_EMBEDDED_SESSION}}",
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "items": [
        {
          "id": 1,
          "name": "Page-1",
          "index": 0,
          "isBackground": false,
          "view": {
            "zoom": 100
          }
        },
        {
          "id": 2,
          "name": "Background",
          "index": 1,
          "isBackground": true,
          "view": {
            "zoom": 100
          }
        }
      ]
    }
  }
}