---
agentTools:
  projectIndex: https://assignr-api.readme.io/llms.txt
---

# /v2/availability/multiple

Add multiple availability records

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Assignr API Endpoints",
    "version": "2.0"
  },
  "security": [
    {
      "assignr_oauth2_auth_code_flow": [
        "read"
      ]
    },
    {
      "assignr_oauth2_client_credentials": [
        "read"
      ]
    }
  ],
  "tags": [
    {
      "name": "Availability",
      "description": "An official's open or unavailable dates and times"
    }
  ],
  "paths": {
    "/v2/availability/multiple": {
      "post": {
        "description": "Add multiple availability records",
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "start_date": {
                    "description": "Start Date, YYYY-MM-DD format",
                    "type": "string"
                  },
                  "end_date": {
                    "description": "End date YYYY-MM-DD format",
                    "type": "string"
                  },
                  "weekdays": {
                    "description": "Comma separated list of weekdays (like \"1,3,5\") (0=sunday, 1=monday, ... 6=saturday)",
                    "type": "string"
                  },
                  "start_time": {
                    "description": "Start Time in HH24:MM:00 format",
                    "type": "string"
                  },
                  "end_time": {
                    "description": "End Time in HH24:MM:00 format",
                    "type": "string"
                  }
                },
                "required": [
                  "start_date",
                  "end_date",
                  "weekdays"
                ]
              }
            }
          },
          "required": true
        },
        "security": [
          {
            "assignr_oauth2_client_credentials": [
              "write"
            ]
          },
          {
            "assignr_oauth2_auth_code_flow": [
              "write"
            ]
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          }
        },
        "tags": [
          "Availability"
        ],
        "operationId": "postV2AvailabilityMultiple",
        "deprecated": true
      }
    }
  },
  "servers": [
    {
      "url": "//api.assignr.com/api"
    }
  ],
  "components": {
    "securitySchemes": {
      "assignr_oauth2_client_credentials": {
        "type": "oauth2",
        "description": "Assignr/OAuth 2.0 Client Credentials Code Flow",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://app.assignr.com/oauth/token",
            "scopes": {
              "read": "Read data",
              "write": "Write data",
              "licensing": "Access to Licensing data"
            }
          }
        }
      },
      "assignr_oauth2_auth_code_flow": {
        "type": "oauth2",
        "description": "Assignr/OAuth 2.0 Authorization Code Flow",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://app.assignr.com/oauth/authorize",
            "tokenUrl": "https://app.assignr.com/oauth/token",
            "scopes": {
              "read": "Read data",
              "write": "Write data",
              "bank": "Add and remove bank accounts",
              "mobile": "Account actions for official Assignr mobile app"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 96,
      "1": 18,
      "2": 244,
      "3": 62,
      "4": 88,
      "5": 249,
      "6": 244,
      "7": 0,
      "8": 129,
      "9": 148,
      "10": 5,
      "11": 110
    }
  }
}
```