Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl --location 'http://eurohotel.masteryield.com:40150/add_charge' \
- --header 'api-key: apirest-63f49b30ef842' \
- --header 'Content-Type: application/json' \
- --data-raw '{
- "id_ticket": "2016891",
- "num_ticket": "8401",
- "id_terminal": "1",
- "date_new": "2024-04-22 07:36:19",
- "id_mesa": null,
- "dto": "0",
- "nickname_ticket": null,
- "employee_id": "10113",
- "pax": "0",
- "lounge_id": null,
- "stock_id": "2",
- "num_invoice": null,
- "return_invoice_serie": "1",
- "sales_day_id": "316",
- "sales_shift_id": "1",
- "installation": "GB442431952",
- "notes": null,
- "change": "0.000000",
- "pending_amount": "0.00000000",
- "return_invoice": "0",
- "return_invoice_num": null,
- "return_invoice_id": "0",
- "date_pay": "2024-04-22 07:36:45",
- "amount_charged": "30.000000",
- "points_has": null,
- "points_card": null,
- "points_total": null,
- "descanjeo_articulo": null,
- "points_type": null,
- "prepaid": "0",
- "points_id_promo": null,
- "delivery_date": null,
- "rider_id": null,
- "address_id": null,
- "paywith": "0.00000000",
- "in_balance": "0",
- "lounge_name": null,
- "date_open_day": "2024-04-22 07:35:55",
- "ticket_lines": [
- {
- "id_lin_ticket": "36656",
- "id_item": "62",
- "amount_item": "15.000",
- "ud_item": "1.000",
- "dto_amount": "0.000",
- "dto_perc": "0.00",
- "total_amount": "15.00000000",
- "description_item": "Desayuno Buffet",
- "id_variation": "0",
- "tax_perc": "10.00",
- "tax_amount": "13.63636364",
- "id_tax": "2",
- "tax": "1.36363636",
- "parent_lin": null,
- "menu_lin": null,
- "invitation": null,
- "consumption_employees": "0",
- "descrip_kitchen": "Desayuno Buffet",
- "dto_proportional": "0.000",
- "id_family_sale": "13",
- "principal": "0",
- "compound": "0",
- "inventory": "0",
- "tyc": "0",
- "date_sale": "2024-04-22 07:36:19",
- "detail": [
- {
- "id_item": null,
- "description_item": null,
- "id_tax": null,
- "ud_item": null,
- "amount_item": null,
- "id_variation": null,
- "tax_perc": null,
- "tax_amount": null,
- "tax": null,
- "descrip_kitchen": null,
- "id_stock": null
- }
- ]
- },
- {
- "id_lin_ticket": "36657",
- "id_item": "62",
- "amount_item": "15.000",
- "ud_item": "1.000",
- "dto_amount": "0.000",
- "dto_perc": "0.00",
- "total_amount": "15.00000000",
- "description_item": "Desayuno Buffet",
- "id_variation": "0",
- "tax_perc": "10.00",
- "tax_amount": "13.63636364",
- "id_tax": "2",
- "tax": "1.36363636",
- "parent_lin": null,
- "menu_lin": null,
- "invitation": null,
- "consumption_employees": "0",
- "descrip_kitchen": "Desayuno Buffet",
- "dto_proportional": "0.000",
- "id_family_sale": "13",
- "principal": "0",
- "compound": "0",
- "inventory": "0",
- "tyc": "0",
- "date_sale": "2024-04-22 07:36:20",
- "detail": [
- {
- "id_item": null,
- "description_item": null,
- "id_tax": null,
- "ud_item": null,
- "amount_item": null,
- "id_variation": null,
- "tax_perc": null,
- "tax_amount": null,
- "tax": null,
- "descrip_kitchen": null,
- "id_stock": null
- }
- ]
- }
- ],
- "client": {
- "cliente_id": "136718246",
- "cliente_nombre": "HEISKANEN, ROSA",
- "cliente_nif": "FP5879104",
- "cliente_direccion": null,
- "cliente_habitual": "0",
- "cliente_localidad": ".",
- "cliente_provincia": null,
- "cliente_pais": null,
- "cliente_cp": null,
- "cliente_acu_totalventas": "30.00",
- "cliente_acu_totalpagos": "30.00",
- "cliente_acu_ultimaventa": "2024-04-19",
- "cliente_acu_importeultimaventa": "30.00",
- "cliente_foto": null,
- "cliente_re": "0",
- "cliente_id_tarifa": null,
- "cliente_dto_fijo": null,
- "cliente_credito": "0.00",
- "cliente_telefono1": null,
- "cliente_telefono2": null,
- "cliente_identificador": null,
- "cliente_huella_digital": null,
- "cliente_aplicar_dto_fijo": "0",
- "cliente_e_mail": "HROSA.690752@GUEST.BOOKING.COM",
- "cliente_clave_pulsera": null,
- "cliente_activar_pulsera": null,
- "cliente_idclit": null,
- "cliente_adicional1": null,
- "cliente_adicional2": null,
- "cliente_adicional3": null,
- "cliente_adicional4": null,
- "cliente_tarjeta_activa": null,
- "cliente_tarjeta_puntos": null,
- "cliente_id_cliente_relacion": null,
- "cliente_requiv": "0",
- "cliente_id_fpago": null,
- "cliente_abrir_mant": null,
- "cliente_subir_nube": "0"
- },
- "hotel": {
- "room": "315",
- "bookingno": 2403210,
- "group": "1"
- },
- "payments": {
- "payment_1_id": "100",
- "payment_1": "CARGO HABITACION",
- "payment_1_amount": "30.000000",
- "payment_2_id": null,
- "payment_2": null,
- "payment_2_amount": "0.000000",
- "payment_3_id": null,
- "payment_3": null,
- "payment_3_amount": "0.000000"
- },
- "cashno": 1,
- "shift": 1
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement