.
This commit is contained in:
parent
51103883db
commit
91c7db6a97
@ -244,8 +244,8 @@ routes.get(
|
||||
* @apiBody {String} email Email del participante, debe ser válido.
|
||||
* @apiBody {String} name Nombre del participante.
|
||||
* @apiBody {String} Apellido del participante.
|
||||
* @apiBody {String} [profile] Tipo de participante (student/tutor/guest/free).
|
||||
* @apiBody {String} [country] País del participante (ES/MX).
|
||||
* @apiBody {String} profile Tipo de participante (student/tutor/guest/free).
|
||||
* @apiBody {String} country País del participante (ES/MX).
|
||||
* @apiBody {String} [entityId] Entidad del participante - Opcional - solo si son student/tutor/guest.*
|
||||
* @apiBody {number} [group_size] Cantidad participantes a solicitar - Opcional - solo si son tutores.*
|
||||
*
|
||||
@ -256,65 +256,60 @@ routes.get(
|
||||
* @apiSuccess {Boolean} validated Estado de validación de la inscripción.
|
||||
*
|
||||
* @apiSuccessExample {json} Ejemplo de Respuesta 1:
|
||||
* {
|
||||
* ENVIO
|
||||
* {
|
||||
* "code" : "B24URD397",
|
||||
* "email" : "rbrrbr2005@gmail.com",
|
||||
* "name" : "aaa",
|
||||
* "surname" : "a",
|
||||
* "profile": "student",
|
||||
* "country": "ES",
|
||||
* "entityId": "757e6018-af85-11e9-aa90-000c295f0f58",
|
||||
* "group_size": 5
|
||||
* }
|
||||
* {
|
||||
* "stateText": "Inscripción confirmada",
|
||||
* "id": "156e4aa1-cada-4e42-bdca-b458b798991c",
|
||||
* "eventId": "3028d48b-1f38-11ef-9b46-000c29a89113",
|
||||
* "date": "2024-07-02T09:30:07.973Z",
|
||||
* "userId": "6747d9eb-c64f-43a3-a4ac-6803b89966cb",
|
||||
* "type": "onsite",
|
||||
* "code_ticket": "ENT-77760177",
|
||||
* "source": "app",
|
||||
* "validated": true,
|
||||
* "reservationId": null,
|
||||
* "overflowEventId": null,
|
||||
* "updatedAt": "2024-07-02T09:30:07.974Z",
|
||||
* "createdAt": "2024-07-02T09:30:07.974Z"
|
||||
* }
|
||||
* }
|
||||
* RESPUESTA
|
||||
* {
|
||||
* "stateText": "Inscripción confirmada",
|
||||
* "type": "onsite group",
|
||||
* "code_ticket": "ENT-02220012",
|
||||
* "validated": true
|
||||
* }
|
||||
*
|
||||
* @apiSuccessExample {json} Ejemplo de Respuesta 2:
|
||||
* {
|
||||
* "code" : "BIL24-DEF219",
|
||||
* ENVIO
|
||||
* {
|
||||
* "code" : "BIL24-DEF219", - Reserva en lista de espera
|
||||
* "email" : "rbrrbr20067@gmail.com",
|
||||
* "name" : "aaa",
|
||||
* "surname" : "a",
|
||||
* "profile": "studient",
|
||||
* }
|
||||
* {
|
||||
* }
|
||||
* RESPUESTA
|
||||
* {
|
||||
* "stateText": "Pendiente confirmación para tu reserva",
|
||||
* "type": "onsite group",
|
||||
* "code_ticket": "ENT-60030638",
|
||||
* "validated": false
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* @apiSuccessExample {json} Ejemplo de Respuesta 3:
|
||||
* {
|
||||
* "code" : "",
|
||||
* "email" : "rbrrbr20167@gmail.com",
|
||||
* "name" : "aaa",
|
||||
* "surname" : "a",
|
||||
* "profile": "tutor",
|
||||
* "country": "ES",
|
||||
* "entityId": "757e6018-af85-11e9-aa90-000c295f0f58",
|
||||
* "group_size": 5
|
||||
* }
|
||||
* {
|
||||
* "stateText": "Pendiente confirmación para tu reserva",
|
||||
* "type": "onsite group",
|
||||
* "code_ticket": "ENT-19161191",
|
||||
* "validated": false
|
||||
* }
|
||||
*/
|
||||
* @apiSuccessExample {json} Ejemplo de Respuesta 3: Profesor solicita una reserva grupal
|
||||
* ENVIO
|
||||
* {
|
||||
* "code" : "",
|
||||
* "email" : "rbrrbr20167@gmail.com",
|
||||
* "name" : "aaa",
|
||||
* "surname" : "a",
|
||||
* "profile": "tutor",
|
||||
* "country": "ES",
|
||||
* "entityId": "757e6018-af85-11e9-aa90-000c295f0f58",
|
||||
* "group_size": 5
|
||||
* }
|
||||
* RESPUESTA
|
||||
* {
|
||||
* "stateText": "Pendiente confirmación para tu reserva",
|
||||
* "type": "onsite group",
|
||||
* "code_ticket": "ENT-19161191",
|
||||
* "validated": false
|
||||
* }
|
||||
*/
|
||||
|
||||
routes.post(
|
||||
"/web/events/:id/inscriptions",
|
||||
@ -444,4 +439,8 @@ routes.get(
|
||||
})
|
||||
);
|
||||
|
||||
// Comprobar si estoy inscrito al congreso por la web
|
||||
routes.get("/web/events/:id/inscriptions/:email", eventInscriptionController.checkInscriptionByMail);
|
||||
|
||||
|
||||
module.exports = routes;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user