---
title: Cismart Clone Ticket
slug: homologacao-atmosphere/cismart-clone-ticket
description: Learn about the parameters and values returned by the Citsmart Close Ticket module in this comprehensive document. Discover the ticket_id, message, and synchronize parameters, along with examples on how to effectively utilize the module. Explore the dateT
createdAt: 2021-03-19T20:24:17.000Z
---

## Resumo

- Crie um Ticket Citsmart.

## Parameters

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**                   |
| ------------- | -------- | ---------------------------- | --------------------------------- |
|  ticket\_id   | string   |                              | Ticket Id                         |
| message       | string   |                              | Corpo da mensagem em formato HTML |
| synchronize   | bool     |                              | Tíquete de sincronização          |

Extende fragmentos da documentação do módulo citsmart.


Exemplos
--------

```yaml
- name: Closing Citsmart ticket
  citsmart_close_ticket:
    url: https://yourhost.com/citsmart
    domain: your_domain 
    username: username
    password: pssw
    ticket_id: 123
    message: "Ticket closed succesfully"
```



## Valores retornados

| **Chave**            | **Tipo** | **Retornado quando** | **Descrição** |
| -------------------- | -------- | -------------------- | ------------- |
| dateTime             | string   | sucesso              |               |
| dateTimeMilliseconds | string   | sucesso              |               |
| request              | dict     | sucesso              |               |

### Subcampos da chave de retorno request

| **Chave**     | **Tipo** | **Retornado quando** | **Descrição**                              |
| ------------- | -------- | -------------------- | ------------------------------------------ |
| number        | string   | sucesso              | Número da solicitação criada no 4biz ITSM. |
| startSLA      | string   | sucesso              | Data e hora de início do SLA.              |
| endSLA        | string   | sucesso              | Data e hora de término do SLA.             |
| status        | dict     | sucesso              | status                                     |
| currentTask   | dict     | sucesso              | currentTask                                |
| startDateTime | string   | sucesso              | Data e hora de início                      |
| userId        | string   | sucesso              | Login do usuário responsável pela tarefa.  |
| groupId       | string   | sucesso              | Sigla do grupo responsável pela tarefa.    |

### Subcampos da chave de retorno status

| **Chave** | **Tipo** | **Retornado quando** | **Descrição**       |
| --------- | -------- | -------------------- | ------------------- |
| code      | string   | sucesso              | Código da situação. |
| name      | string   | sucesso              | Nome da situação.   |

### Subcampos da chave de retorno currentTask

| **Chave** | **Tipo** | **Retornado quando** | **Descrição**    |
| --------- | -------- | -------------------- | ---------------- |
| number    | string   | sucesso              | Número da tarefa |
| name      | string   | sucesso              | Nome da tarefa   |



