> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoho CRM: README

> Create holidays. Zoho CRM Holidays Create Holidays reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Create holidays.

<Info>
  Tool ID: `zoho_crm_holidays_create_holidays`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get zoho_crm_holidays_create_holidays --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "holidays": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "Example message",
        "status": "success"
      }
    ]
  }
}
```

Use `deepline tools get zoho_crm_holidays_create_holidays --json` for the latest machine-readable contract.

## Input reference

The Request body of the object.

| Name               | Type     | Required | Default | Details                                                                                                                  |
| ------------------ | -------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| `payload.holidays` | `array`  | No       | —       | Array of holiday objects to create. Maximum 52 holidays allowed per type per year. Minimum items: 1. Maximum items: 100. |
| `payload.info`     | `object` | No       | —       | The Info of the object.                                                                                                  |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "The Request body of the object.",
    "properties": {
      "holidays": {
        "type": "array",
        "description": "Array of holiday objects to create. Maximum 52 holidays allowed per type per year.",
        "minItems": 1,
        "maxItems": 100,
        "items": {
          "type": "object",
          "description": "The Item of the object.",
          "properties": {
            "name": {
              "type": "string",
              "description": "Name of the holiday. Cannot contain special characters: #, %, ^, &, *",
              "minLength": 1,
              "maxLength": 80,
              "pattern": "^[^#%^&*]+$"
            },
            "date": {
              "type": "string",
              "description": "Date of the holiday in YYYY-MM-DD format. Must be within current or next financial year.",
              "format": "date"
            },
            "type": {
              "type": "string",
              "description": "Type of holiday: business_holiday applies to all users, shift_holiday applies to specific shifts",
              "enum": [
                "business_holiday",
                "shift_holiday"
              ]
            },
            "shift_hour": {
              "type": "object",
              "description": "Shift hour association (required when type is shift_holiday, should be null or omitted for business_holiday)",
              "properties": {
                "name": {
                  "type": "string",
                  "description": "Name of the shift hour",
                  "maxLength": 255
                },
                "id": {
                  "type": "string",
                  "description": "Unique identifier of the shift hour",
                  "maxLength": 255,
                  "pattern": "^[0-9]+$"
                }
              },
              "required": [
                "name",
                "id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "name",
            "date",
            "type",
            "shift_hour"
          ],
          "additionalProperties": false
        }
      },
      "info": {
        "type": "object",
        "description": "The Info of the object.",
        "properties": {
          "per_page": {
            "type": "integer",
            "description": "The Per page of the object.",
            "format": "int32"
          },
          "page": {
            "type": "integer",
            "description": "The Page of the object.",
            "format": "int32"
          },
          "count": {
            "type": "integer",
            "description": "The Count of the object.",
            "format": "int32"
          },
          "more_records": {
            "type": "boolean",
            "description": "The More records of the object."
          }
        },
        "additionalProperties": false
      }
    },
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                | Type        | Required | Default | Details                                                   |
| ----------------------------------- | ----------- | -------- | ------- | --------------------------------------------------------- |
| `result.data`                       | `object`    | Yes      | —       | The Response body of the object.                          |
| `result.data.holidays`              | `array`     | Yes      | —       | The Holidays of the object. Maximum items: 100.           |
| `result.data.holidays[].code`       | `"SUCCESS"` | Yes      | —       | The Code of the object. Allowed: `SUCCESS`.               |
| `result.data.holidays[].details`    | `object`    | Yes      | —       | The Details of the object.                                |
| `result.data.holidays[].details.id` | `string`    | No       | —       | The unique identifier of the holiday Maximum length: 255. |
| `result.data.holidays[].message`    | `string`    | Yes      | —       | The Message of the object. Maximum length: 255.           |
| `result.data.holidays[].status`     | `"success"` | Yes      | —       | The Status of the object. Allowed: `success`.             |
| `result.meta`                       | `object`    | No       | —       | Additional response metadata (status, paging).            |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "The Response body of the object.",
        "properties": {
          "holidays": {
            "type": "array",
            "description": "The Holidays of the object.",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "The Item of the object.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "The Code of the object.",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "The Details of the object.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The unique identifier of the holiday",
                      "maxLength": 255
                    }
                  },
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "The Message of the object.",
                  "maxLength": 255
                },
                "status": {
                  "type": "string",
                  "description": "The Status of the object.",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "holidays"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
