Mews · Schema

Task

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the task.
EnterpriseId string Unique identifier of the enterprise. Required when using Portfolio Access Tokens, ignored otherwise.
Name string Name (or title) of the task.
State string State of the task.
Description string Further description of the task.
DepartmentId string Unique identifier of the Department the task is addressed to.
ServiceOrderId string Unique identifier of the service order (reservation or product service order) the task is linked with.
CreatedUtc string Creation date and time of the task in UTC timezone in ISO 8601 format.
DeadlineUtc string Deadline date and time of the task in UTC timezone in ISO 8601 format.
ClosedUtc string Last update date and time of the task in UTC timezone in ISO 8601 format.
View JSON Schema on GitHub

JSON Schema

mews-task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Task",
  "title": "Task",
  "required": [
    "ClosedUtc",
    "CreatedUtc",
    "DeadlineUtc",
    "Name",
    "State"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the task.",
      "format": "uuid"
    },
    "EnterpriseId": {
      "type": "string",
      "description": "Unique identifier of the enterprise. Required when using Portfolio Access Tokens, ignored otherwise.",
      "format": "uuid"
    },
    "Name": {
      "minLength": 1,
      "type": "string",
      "description": "Name (or title) of the task."
    },
    "State": {
      "minLength": 1,
      "type": "string",
      "description": "State of the task."
    },
    "Description": {
      "type": "string",
      "description": "Further description of the task.",
      "nullable": true
    },
    "DepartmentId": {
      "type": "string",
      "description": "Unique identifier of the Department the task is addressed to.",
      "format": "uuid",
      "nullable": true
    },
    "ServiceOrderId": {
      "type": "string",
      "description": "Unique identifier of the service order (reservation or product service order) the task is linked with.",
      "format": "uuid",
      "nullable": true
    },
    "CreatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Creation date and time of the task in UTC timezone in ISO 8601 format."
    },
    "DeadlineUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Deadline date and time of the task in UTC timezone in ISO 8601 format."
    },
    "ClosedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Last update date and time of the task in UTC timezone in ISO 8601 format."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "Task"
}