> ## 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

> POST /services_s. Zoho CRM Services Post Services S reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

POST /services\_s.

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

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_services_post_services_s',
  {
    "data": [
      {
        "Service_Name": "Example",
        "Duration": 123,
        "Price": 123,
        "Availability_Type": "example",
        "Members": [
          {
            "name": "Example",
            "Members": {},
            "id": "id_123"
          }
        ],
        "Location": "example"
      }
    ]
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute zoho_crm_services_post_services_s --input '{
  "data": [
    {
      "Service_Name": "Example",
      "Duration": 123,
      "Price": 123,
      "Availability_Type": "example",
      "Members": [
        {
          "name": "Example",
          "Members": {},
          "id": "id_123"
        }
      ],
      "Location": "example"
    }
  ]
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "data": [
      {
        "code": "example",
        "details": {
          "Modified_Time": "example",
          "Modified_By": {},
          "Created_Time": "example"
        },
        "message": "Example message"
      }
    ]
  }
}
```

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

## Input reference

Request body schema

| Name                     | Type      | Required | Default | Details                                 |
| ------------------------ | --------- | -------- | ------- | --------------------------------------- |
| `payload.data`           | `array`   | Yes      | —       | data array (Required) Maximum items: 5. |
| `payload.skip_mandatory` | `boolean` | No       | —       | boolean                                 |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Request body schema",
    "properties": {
      "data": {
        "type": "array",
        "description": "data array (Required)",
        "maxItems": 5,
        "items": {
          "type": "object",
          "description": "data array",
          "properties": {
            "Job_Sheet_Required": {
              "type": [
                "string",
                "null"
              ],
              "description": "is job sheet required for the service",
              "maxLength": 3
            },
            "Owner": {
              "type": "object",
              "description": "owner of the service",
              "properties": {
                "full_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "full name of the owner",
                  "maxLength": 8
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "name of the owner",
                  "maxLength": 8
                },
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "id of the owner",
                  "maxLength": 18
                }
              },
              "additionalProperties": false
            },
            "Available_Timings": {
              "type": [
                "array",
                "null"
              ],
              "description": "contains the service availability timing",
              "maxItems": 4,
              "items": {
                "type": "object",
                "description": "contains the service availability timing",
                "properties": {
                  "From": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "service starts from time",
                    "maxLength": 5
                  },
                  "To": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "service end time",
                    "maxLength": 5
                  }
                },
                "additionalProperties": false
              }
            },
            "Description": {
              "type": [
                "string",
                "null"
              ],
              "description": "Represents the description of the service",
              "maxLength": 32000
            },
            "Available_From": {
              "type": [
                "string",
                "null"
              ],
              "description": "service availability start time (this field is mandatory when service availability type is specific date range)",
              "maxLength": 100,
              "format": "date"
            },
            "Service_Name": {
              "type": "string",
              "description": "name of the service (Required)",
              "maxLength": 120
            },
            "Available_Till": {
              "type": [
                "string",
                "null"
              ],
              "description": "service availability end time (this field is mandatory when service availability type is specific date range)",
              "maxLength": 100,
              "format": "date"
            },
            "Available_Days": {
              "type": [
                "array",
                "null"
              ],
              "description": "contains days (this field is mandatory when availability type is set to specific days)",
              "maxItems": 7,
              "items": {
                "type": "string",
                "description": "service available days",
                "maxLength": 225
              }
            },
            "Duration": {
              "type": "integer",
              "description": "duration of the service (Required)",
              "format": "int32"
            },
            "Tax": {
              "type": [
                "array",
                "null"
              ],
              "description": "Contains the ID and value of the tax applied to the service cost",
              "maxItems": 2,
              "items": {
                "type": "object",
                "description": "Contains the ID and value of the tax applied to the service cost",
                "properties": {
                  "id": {
                    "type": "null",
                    "description": "id"
                  },
                  "value": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "value to be applied",
                    "maxLength": 100
                  }
                },
                "additionalProperties": false
              }
            },
            "Price": {
              "type": "integer",
              "description": "price of the service (Required)",
              "format": "int32"
            },
            "Layout": {
              "type": "object",
              "description": "Layout id",
              "properties": {
                "id": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "id",
                  "maxLength": 18
                }
              },
              "additionalProperties": false
            },
            "zia_suggested_users": {
              "type": [
                "object",
                "null"
              ],
              "description": "zia",
              "additionalProperties": false
            },
            "Availability_Type": {
              "type": "string",
              "description": "service availability type i.e specific date range or specific days (Required)",
              "maxLength": 100
            },
            "$zia_owner_assignment": {
              "type": [
                "string",
                "null"
              ],
              "description": "zia",
              "maxLength": 32
            },
            "Members": {
              "type": "array",
              "description": "members who does this service (contains multiple members) (Required)",
              "maxItems": 5,
              "items": {
                "type": "object",
                "description": "contains member details",
                "properties": {
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "name of the member",
                    "maxLength": 8
                  },
                  "Members": {
                    "type": "object",
                    "description": "contains member details",
                    "additionalProperties": true
                  },
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "id of the member",
                    "maxLength": 18
                  }
                },
                "additionalProperties": false
              }
            },
            "Available_Dates": {
              "type": [
                "array",
                "null"
              ],
              "description": "contains available date (this field is mandatory when availability type is specific dates )",
              "maxItems": 3,
              "items": {
                "type": "string",
                "description": "service available dates",
                "maxLength": 255
              }
            },
            "Location": {
              "type": "string",
              "description": "Location where the service held (Required)",
              "maxLength": 100
            }
          },
          "required": [
            "Availability_Type",
            "Duration",
            "Location",
            "Members",
            "Price",
            "Service_Name"
          ],
          "additionalProperties": false
        }
      },
      "skip_mandatory": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "boolean"
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                          | Type     | Required | Default | Details                                        |
| --------------------------------------------- | -------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                                 | `object` | Yes      | —       | services post response                         |
| `result.data.data`                            | `array`  | No       | —       | Field: data Maximum items: 2.                  |
| `result.data.data[].code`                     | `string` | No       | —       | Field: code Maximum length: 255.               |
| `result.data.data[].details`                  | `object` | No       | —       | Nested schema for details                      |
| `result.data.data[].details.Modified_Time`    | `string` | No       | —       | Field: Modified\_Time Maximum length: 255.     |
| `result.data.data[].details.Modified_By`      | `object` | No       | —       | Nested schema for Modified\_By                 |
| `result.data.data[].details.Modified_By.name` | `string` | No       | —       | Field: name Maximum length: 255.               |
| `result.data.data[].details.Modified_By.id`   | `string` | No       | —       | Field: id Maximum length: 255.                 |
| `result.data.data[].details.Created_Time`     | `string` | No       | —       | Field: Created\_Time Maximum length: 255.      |
| `result.data.data[].details.id`               | `string` | No       | —       | Field: id Maximum length: 255.                 |
| `result.data.data[].details.Created_By`       | `object` | No       | —       | Nested schema for Created\_By                  |
| `result.data.data[].details.Created_By.name`  | `string` | No       | —       | Field: name Maximum length: 255.               |
| `result.data.data[].details.Created_By.id`    | `string` | No       | —       | Field: id Maximum length: 255.                 |
| `result.data.data[].message`                  | `string` | No       | —       | Field: message Maximum length: 255.            |
| `result.data.data[].status`                   | `string` | No       | —       | Field: status Maximum length: 255.             |
| `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": "services post response",
        "properties": {
          "data": {
            "type": "array",
            "description": "Field: data",
            "maxItems": 2,
            "items": {
              "type": "object",
              "description": "Nested schema for data",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Field: code",
                  "maxLength": 255
                },
                "details": {
                  "type": "object",
                  "description": "Nested schema for details",
                  "properties": {
                    "Modified_Time": {
                      "type": "string",
                      "description": "Field: Modified_Time",
                      "maxLength": 255
                    },
                    "Modified_By": {
                      "type": "object",
                      "description": "Nested schema for Modified_By",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Field: name",
                          "maxLength": 255
                        },
                        "id": {
                          "type": "string",
                          "description": "Field: id",
                          "maxLength": 255
                        }
                      },
                      "additionalProperties": false
                    },
                    "Created_Time": {
                      "type": "string",
                      "description": "Field: Created_Time",
                      "maxLength": 255
                    },
                    "id": {
                      "type": "string",
                      "description": "Field: id",
                      "maxLength": 255
                    },
                    "Created_By": {
                      "type": "object",
                      "description": "Nested schema for Created_By",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Field: name",
                          "maxLength": 255
                        },
                        "id": {
                          "type": "string",
                          "description": "Field: id",
                          "maxLength": 255
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": true
                },
                "message": {
                  "type": "string",
                  "description": "Field: message",
                  "maxLength": 255
                },
                "status": {
                  "type": "string",
                  "description": "Field: status",
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            }
          }
        },
        "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)
