Mews · Schema

AccountFileParameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
ClientToken string Token identifying the client application.
AccessToken string Access token of the client application.
Client string Name and version of the client application.
ChainId string Unique identifier of the chain. Required when using [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property), ignored otherwise.
AccountId string Unique identifier of the account to which the file will be uploaded to.
Name string Uploaded file name.
Type string Content type of the uploaded file following defined by its MIME type.
Data string Uploaded file data serialized in base64 format.
View JSON Schema on GitHub

JSON Schema

mews-accountfileparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountFileParameters",
  "title": "AccountFileParameters",
  "required": [
    "AccessToken",
    "AccountId",
    "Client",
    "ClientToken",
    "Data",
    "Name",
    "Type"
  ],
  "type": "object",
  "properties": {
    "ClientToken": {
      "minLength": 1,
      "type": "string",
      "description": "Token identifying the client application."
    },
    "AccessToken": {
      "minLength": 1,
      "type": "string",
      "description": "Access token of the client application."
    },
    "Client": {
      "minLength": 1,
      "type": "string",
      "description": "Name and version of the client application."
    },
    "ChainId": {
      "type": "string",
      "description": "Unique identifier of the chain. Required when using [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property), ignored otherwise.",
      "format": "uuid",
      "nullable": true
    },
    "AccountId": {
      "type": "string",
      "description": "Unique identifier of the account to which the file will be uploaded to.",
      "format": "uuid"
    },
    "Name": {
      "maxLength": 1000,
      "minLength": 1,
      "type": "string",
      "description": "Uploaded file name."
    },
    "Type": {
      "maxLength": 1000,
      "minLength": 1,
      "type": "string",
      "description": "Content type of the uploaded file following defined by its MIME type."
    },
    "Data": {
      "minLength": 1,
      "type": "string",
      "description": "Uploaded file data serialized in base64 format."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "AccountFileParameters"
}