Tipos de Evento

Listar Tipos de Evento

GET https://api.sperant.com/v3/event_types

Permite listar tipos de eventos activos en le sistema

Query Parameters

Name
Type
Description

category

string

Es el tipo de categoría, se acepta los siguientes valores: attention => Atención commercial => Comercial requirement => Postventa handing => Entrega

Headers

Name
Type
Description

Authentication

string

Token entregado

{
    "data": [
        {
            "type": "event_types",
            "id": "1",
            "attributes": {
                "id": 1,
                "name": "cita",
                "category": "commercial"
            }
        },
        {
            "type": "event_types",
            "id": "2",
            "attributes": {
                "id": 2,
                "name": "llamada",
                "category": "commercial"
            }
        },
        {
            "type": "event_types",
            "id": "3",
            "attributes": {
                "id": 3,
                "name": "email",
                "category": "commercial"
            }
        },
        {
            "type": "event_types",
            "id": "4",
            "attributes": {
                "id": 4,
                "name": "whatsapp",
                "category": "commercial"
            }
        },
        {
            "type": "event_types",
            "id": "5",
            "attributes": {
                "id": 5,
                "name": "entrega programada",
                "category": "handing"
            }
        },
        {
            "type": "event_types",
            "id": "7",
            "attributes": {
                "id": 7,
                "name": "atención",
                "category": "requirement"
            }
        },
        {
            "type": "event_types",
            "id": "6",
            "attributes": {
                "id": 6,
                "name": "inspección",
                "category": "requirement"
            }
        },
        {
            "type": "event_types",
            "id": "14",
            "attributes": {
                "id": 14,
                "name": "email",
                "category": "attention"
            }
        },
        {
            "type": "event_types",
            "id": "15",
            "attributes": {
                "id": 15,
                "name": "cita",
                "category": "attention"
            }
        },
        {
            "type": "event_types",
            "id": "16",
            "attributes": {
                "id": 16,
                "name": "whatsapp",
                "category": "attention"
            }
        },
        {
            "type": "event_types",
            "id": "17",
            "attributes": {
                "id": 17,
                "name": "ventana menorca",
                "category": "attention"
            }
        },
        {
            "type": "event_types",
            "id": "18",
            "attributes": {
                "id": 18,
                "name": "oficina proyecto",
                "category": "attention"
            }
        },
        {
            "type": "event_types",
            "id": "19",
            "attributes": {
                "id": 19,
                "name": "oficina central",
                "category": "attention"
            }
        }
    ]
}

Parámetros de retorno

Parámetro

Tipo de Dato

Descripción

id

String

Identificador del tipo de evento

code

String

Código del tipo de evento

category

String

Categoría del tipo de evento

Última actualización