Offices API

GET

  • The GET method displays all groups in the system, ordered by name.

GET developer.viadesk.com/api/offices?limit=10…

  • Parameter offset represents the offset of the list, default is empty.
  • Parameters limit determines the length of the list, default is empty. 
  • You need to be a Webmaster to view this endpoint. 

 
Example response body response:

[
 {
    "diggsPositive": 0,
    "featured": false,
    "kind": "office",
    "created": "2023-09-20T11:54:31+0200",
    "canAll": true,
    "isLiked": false,
    "canWrite": true,
    "body": "<div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque nibh felis, congue in orci efficitur, faucibus maximus ligula. Nulla facilisi. Donec sed arcu dolor. Donec ullamcorper nisl magna, nec ultricies sem vehicula eu. Mauris ac ullamcor...</div>",
    "canAddChildren": false,
    "canAddKinds": [
      "wallmessage",
      "folder",
      "teamsite",
      "dossier",
      "document",
      "news",
      "question",
      "poll",
      "survey",
      "email",
      "todo",
      "milestone",
      "note",
      "bookmark",
      "page",
      "zip",
      "appointment",
      "event"
    ],
    "name": "Groep 1",
    "diggsNegative": 0,
    "modified": "2024-02-07T17:51:27+0100",
    "id": "1135659-6f6666696365",
    "thumbnailUrl": "http://localhost:8080/images/stdoffice/office_0.png"
  },
  {
    "diggsPositive": 0,
    "featured": false,
    "kind": "office",
    "created": "2023-06-15T13:05:28+0200",
    "canAll": true,
    "isLiked": false,
    "canWrite": true,
    "body": "<div>I don't know. Thunderball</div>",
    "canAddChildren": false,
    "canAddKinds": [
      "wallmessage",
      "folder",
      "teamsite",
      "dossier",
      "document",
      "news",
      "question",
      "poll",
      "survey",
      "email",
      "todo",
      "milestone",
      "note",
      "bookmark",
      "page",
      "zip",
      "appointment",
      "event"
    ],
    "name": "Groep 2",
    "diggsNegative": 0,
    "modified": "2023-09-08T16:32:52+0200",
    "id": "1108613-6f6666696365",
    "thumbnailUrl": "http://localhost:8080/images/stdoffice/office_0.png"
  }
]