Mews · Example Payload

Mews Tasks Getall Example

HospitalityHotelsPMSProperty Management

Mews Tasks Getall Example is an example object payload from Mews, 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": "tasks_getAll",
  "method": "POST",
  "path": "/api/connector/v1/tasks/getAll",
  "summary": "Get all tasks",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "TaskIds": [
          "65cf1aac-bef2-4653-9350-ab2600af65af"
        ],
        "DepartmentIds": [
          "c28cfb42-a963-4195-ad26-ab1b009b6425"
        ],
        "ServiceOrderIds": [
          "8d70f718-e19c-458d-8ddb-ab1b009b5487"
        ],
        "CreatedUtc": {
          "StartUtc": "2019-12-08T00:00:00Z",
          "EndUtc": "2019-12-10T00:00:00Z"
        },
        "ClosedUtc": {
          "StartUtc": "2019-12-08T00:00:00Z",
          "EndUtc": "2019-12-10T00:00:00Z"
        },
        "DeadlineUtc": {
          "StartUtc": "2020-01-01T00:00:00Z",
          "EndUtc": "2020-01-02T00:00:00Z"
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Tasks": [
          {
            "Id": "b166fc93-c75a-438f-93b8-ab1e00a031ae",
            "Name": "Test all",
            "State": "Open",
            "Description": "Task description",
            "DepartmentId": "c28cfb42-a963-4195-ad26-ab1b009b6425",
            "ServiceOrderId": "8d70f718-e19c-458d-8ddb-ab1b009b5487",
            "CreatedUtc": "2019-12-09T09:43:14Z",
            "DeadlineUtc": "2020-01-01T14:00:00Z",
            "ClosedUtc": null
          }
        ]
      }
    }
  ]
}