curl --request POST \
--url https://api.example.com/space/register \
--header 'Content-Type: application/json' \
--data '
{
"v_name": "<string>",
"v_descrip": "<string>",
"v_isPartner": true,
"v_pax": 123,
"v_value4": 123,
"v_value8": 123,
"v_value_extra": 123,
"v_url_img": [
{}
]
}
'{
"400": {},
"401": {},
"500": {},
"message": "<string>"
}Register a new event space in the system
curl --request POST \
--url https://api.example.com/space/register \
--header 'Content-Type: application/json' \
--data '
{
"v_name": "<string>",
"v_descrip": "<string>",
"v_isPartner": true,
"v_pax": 123,
"v_value4": 123,
"v_value8": 123,
"v_value_extra": 123,
"v_url_img": [
{}
]
}
'{
"400": {},
"401": {},
"500": {},
"message": "<string>"
}access_token cookie.
"Salón Principal""Espacio amplio con sonido y sillas incluidas"true8025000040000060000["https://midominio.com/imagenes/salon1.jpg", "https://midominio.com/imagenes/salon2.jpg"]"Registro Exitoso"curl -X POST https://api.demet.com/space/register \
-H "Content-Type: application/json" \
-b "access_token=YOUR_JWT_TOKEN" \
-d '{
"v_name": "Salón Principal",
"v_descrip": "Espacio amplio con sonido y sillas incluidas",
"v_isPartner": true,
"v_pax": 80,
"v_value4": 250000,
"v_value8": 400000,
"v_value_extra": 60000,
"v_url_img": [
"https://midominio.com/imagenes/salon1.jpg",
"https://midominio.com/imagenes/salon2.jpg"
]
}'
{
"message": "Registro Exitoso"
}