Skip to main content

Overview

The TallerBrandeo API manages workshops and service centers that handle vehicle branding services for advertising campaigns. These workshops apply stickers, LED panels, and other branding materials to vehicles participating in campaigns.

The TallerBrandeo Object

id_taller
integer
required
Unique identifier for the branding workshop
id_ciudad
integer
required
Foreign key reference to the city where the workshop is located
id_pais
integer
required
Foreign key reference to the country where the workshop operates
nombre
string
required
Name of the branding workshop (max 50 characters)
direccion
string
required
Physical address of the workshop (max 100 characters)
referencia
string
required
Additional location reference or landmarks (max 150 characters)
telefono
string
required
Contact phone number of the workshop (max 15 characters)
estado
integer
required
Workshop status:
  • 0 - Inactive
  • 1 - Active
  • 2 - Suspended
  • 3 - Closed
fecha_creacion
date
required
Date when the workshop was registered (YYYY-MM-DD format)
fecha_modificacion
date
required
Date when the workshop information was last updated (YYYY-MM-DD format)

Create Branding Workshop

curl -X POST https://api.restapi.com/taller-brandeo \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "id_ciudad": 1,
    "id_pais": 1,
    "nombre": "Auto Wrap Ecuador",
    "direccion": "Av. 6 de Diciembre N45-123",
    "referencia": "Frente al Centro Comercial Quicentro Norte",
    "telefono": "+593987654321",
    "estado": 1,
    "fecha_creacion": "2026-03-09",
    "fecha_modificacion": "2026-03-09"
  }'
{
  "id_taller": 1,
  "id_ciudad": 1,
  "id_pais": 1,
  "nombre": "Auto Wrap Ecuador",
  "direccion": "Av. 6 de Diciembre N45-123",
  "referencia": "Frente al Centro Comercial Quicentro Norte",
  "telefono": "+593987654321",
  "estado": 1,
  "fecha_creacion": "2026-03-09",
  "fecha_modificacion": "2026-03-09"
}
id_ciudad
integer
required
City ID where the workshop is located
id_pais
integer
required
Country ID where the workshop operates
nombre
string
required
Workshop name (max 50 characters)
direccion
string
required
Physical address of the workshop (max 100 characters)
referencia
string
required
Location reference or nearby landmarks (max 150 characters)
telefono
string
required
Contact phone number (max 15 characters)
estado
integer
required
Workshop status (0: Inactive, 1: Active, 2: Suspended, 3: Closed)
fecha_creacion
date
required
Registration date in YYYY-MM-DD format
fecha_modificacion
date
required
Last modification date in YYYY-MM-DD format

Get Branding Workshop

curl -X GET https://api.restapi.com/taller-brandeo/1 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id_taller": 1,
  "id_ciudad": 1,
  "id_pais": 1,
  "nombre": "Auto Wrap Ecuador",
  "direccion": "Av. 6 de Diciembre N45-123",
  "referencia": "Frente al Centro Comercial Quicentro Norte",
  "telefono": "+593987654321",
  "estado": 1,
  "fecha_creacion": "2026-03-09",
  "fecha_modificacion": "2026-03-09",
  "ciudad": {
    "id_ciudad": 1,
    "nombre": "Quito"
  },
  "pais": {
    "id_pais": 1,
    "nombre": "Ecuador"
  }
}

List Branding Workshops

curl -X GET https://api.restapi.com/taller-brandeo?id_ciudad=1&estado=1&limit=50 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "data": [
    {
      "id_taller": 1,
      "id_ciudad": 1,
      "id_pais": 1,
      "nombre": "Auto Wrap Ecuador",
      "direccion": "Av. 6 de Diciembre N45-123",
      "referencia": "Frente al Centro Comercial Quicentro Norte",
      "telefono": "+593987654321",
      "estado": 1,
      "fecha_creacion": "2026-03-09",
      "fecha_modificacion": "2026-03-09"
    },
    {
      "id_taller": 2,
      "id_ciudad": 1,
      "id_pais": 1,
      "nombre": "Vinyl Graphics Pro",
      "direccion": "Av. República del Salvador N34-567",
      "referencia": "Sector La Carolina, junto al parque",
      "telefono": "+593998765432",
      "estado": 1,
      "fecha_creacion": "2026-02-15",
      "fecha_modificacion": "2026-02-15"
    },
    {
      "id_taller": 3,
      "id_ciudad": 1,
      "id_pais": 1,
      "nombre": "LED Panel Installers",
      "direccion": "Calle Los Pinos E12-890",
      "referencia": "A dos cuadras del Hospital Metropolitano",
      "telefono": "+593987123456",
      "estado": 1,
      "fecha_creacion": "2026-01-20",
      "fecha_modificacion": "2026-03-05"
    }
  ],
  "total": 3,
  "page": 1,
  "limit": 50
}
id_ciudad
integer
Filter workshops by city ID
id_pais
integer
Filter workshops by country ID
estado
integer
Filter workshops by status (0: Inactive, 1: Active, 2: Suspended, 3: Closed)
nombre
string
Search workshops by name (partial match)
limit
integer
default:"20"
Number of records to return per page
page
integer
default:"1"
Page number for pagination

Update Branding Workshop

curl -X PUT https://api.restapi.com/taller-brandeo/1 \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "telefono": "+593999888777",
    "direccion": "Av. 6 de Diciembre N45-125",
    "fecha_modificacion": "2026-03-10"
  }'
{
  "id_taller": 1,
  "id_ciudad": 1,
  "id_pais": 1,
  "nombre": "Auto Wrap Ecuador",
  "direccion": "Av. 6 de Diciembre N45-125",
  "referencia": "Frente al Centro Comercial Quicentro Norte",
  "telefono": "+593999888777",
  "estado": 1,
  "fecha_creacion": "2026-03-09",
  "fecha_modificacion": "2026-03-10"
}
nombre
string
Updated workshop name
direccion
string
Updated physical address
referencia
string
Updated location reference
telefono
string
Updated contact phone number
estado
integer
Updated workshop status
id_ciudad
integer
Updated city ID
fecha_modificacion
date
Update timestamp in YYYY-MM-DD format

Delete Branding Workshop

curl -X DELETE https://api.restapi.com/taller-brandeo/1 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "message": "Branding workshop deleted successfully",
  "id_taller": 1
}

Get Workshops by City

Retrieve all active branding workshops in a specific city.
curl -X GET https://api.restapi.com/taller-brandeo/ciudad/1/active \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id_ciudad": 1,
  "nombre_ciudad": "Quito",
  "talleres_activos": [
    {
      "id_taller": 1,
      "nombre": "Auto Wrap Ecuador",
      "direccion": "Av. 6 de Diciembre N45-125",
      "telefono": "+593999888777"
    },
    {
      "id_taller": 2,
      "nombre": "Vinyl Graphics Pro",
      "direccion": "Av. República del Salvador N34-567",
      "telefono": "+593998765432"
    },
    {
      "id_taller": 3,
      "nombre": "LED Panel Installers",
      "direccion": "Calle Los Pinos E12-890",
      "telefono": "+593987123456"
    }
  ],
  "total": 3
}

Build docs developers (and LLMs) love