Skip to main content
POST
/
request
/
register
curl -X POST https://api.example.com/request/register \
  -H "Content-Type: application/json" \
  -d '{
    "v_tittle": "Evento",
    "v_description": "Celebración de cumpleaños corporativo",
    "v_name": "Juan Perez",
    "v_email": "[email protected]",
    "v_phone_number": "3001234567",
    "v_is_partner": false,
    "v_pax": 50,
    "v_init_date": "2025-12-10T10:00:00.000Z",
    "v_end_date": "2025-12-10T14:00:00.000Z",
    "v_fk_rate": 2,
    "v_value": 450000
  }'
{
  "message": "Request Registrada Exitosamente",
  "info": ["[email protected]"],
  "infoAdmin": ["[email protected]"]
}
Creates a new request with contact details, event dates, partner type, and selected rate. Upon successful creation, the system sends confirmation emails to both the client and the administrator.

Request Body

v_tittle
string
required
Event title (4-10 characters)Example: "Evento"
v_description
string
required
Event description (1-500 characters)Example: "Descripción del evento o solicitud."
v_name
string
required
Client name (1-20 characters)Example: "Juan Perez"
v_email
string
required
Client email addressExample: "[email protected]"
v_phone_number
string
required
Phone number (10-13 characters)Example: "3001234567"
v_is_partner
boolean
required
Whether the requester is a partnerExample: false
v_pax
integer
required
Number of attendees (minimum 1)Example: 50
v_init_date
string
required
Event start date and time (ISO 8601 format)Example: "2025-12-10T10:00:00.000Z"
v_end_date
string
required
Event end date and time (ISO 8601 format)Example: "2025-12-10T14:00:00.000Z"
v_fk_rate
integer
required
Rate ID (minimum 1)Example: 2
v_value
number
required
Estimated event valueExample: 450000

Response

message
string
Success messageExample: "Request Registrada Exitosamente"
info
array
Array of email addresses that received client confirmationExample: ["[email protected]"]
infoAdmin
array
Array of admin email addresses that received notificationExample: ["[email protected]"]
curl -X POST https://api.example.com/request/register \
  -H "Content-Type: application/json" \
  -d '{
    "v_tittle": "Evento",
    "v_description": "Celebración de cumpleaños corporativo",
    "v_name": "Juan Perez",
    "v_email": "[email protected]",
    "v_phone_number": "3001234567",
    "v_is_partner": false,
    "v_pax": 50,
    "v_init_date": "2025-12-10T10:00:00.000Z",
    "v_end_date": "2025-12-10T14:00:00.000Z",
    "v_fk_rate": 2,
    "v_value": 450000
  }'
{
  "message": "Request Registrada Exitosamente",
  "info": ["[email protected]"],
  "infoAdmin": ["[email protected]"]
}

Build docs developers (and LLMs) love