Advertisement
MrViSiOn

MasterYield Da error

Apr 24th, 2024 (edited)
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.51 KB | None | 0 0
  1. curl --location 'http://eurohotel.masteryield.com:40150/add_charge' \
  2. --header 'api-key: apirest-63f49b30ef842' \
  3. --header 'Content-Type: application/json' \
  4. --data-raw '{
  5.    "id_ticket": "2016891",
  6.    "num_ticket": "8401",
  7.    "id_terminal": "1",
  8.    "date_new": "2024-04-22 07:36:19",
  9.    "id_mesa": null,
  10.    "dto": "0",
  11.    "nickname_ticket": null,
  12.    "employee_id": "10113",
  13.    "pax": "0",
  14.    "lounge_id": null,
  15.    "stock_id": "2",
  16.    "num_invoice": null,
  17.    "return_invoice_serie": "1",
  18.    "sales_day_id": "316",
  19.    "sales_shift_id": "1",
  20.    "installation": "GB442431952",
  21.    "notes": null,
  22.    "change": "0.000000",
  23.    "pending_amount": "0.00000000",
  24.    "return_invoice": "0",
  25.    "return_invoice_num": null,
  26.    "return_invoice_id": "0",
  27.    "date_pay": "2024-04-22 07:36:45",
  28.    "amount_charged": "30.000000",
  29.    "points_has": null,
  30.    "points_card": null,
  31.    "points_total": null,
  32.    "descanjeo_articulo": null,
  33.    "points_type": null,
  34.    "prepaid": "0",
  35.    "points_id_promo": null,
  36.    "delivery_date": null,
  37.    "rider_id": null,
  38.    "address_id": null,
  39.    "paywith": "0.00000000",
  40.    "in_balance": "0",
  41.    "lounge_name": null,
  42.    "date_open_day": "2024-04-22 07:35:55",
  43.    "ticket_lines": [
  44.      {
  45.        "id_lin_ticket": "36656",
  46.        "id_item": "62",
  47.        "amount_item": "15.000",
  48.        "ud_item": "1.000",
  49.        "dto_amount": "0.000",
  50.        "dto_perc": "0.00",
  51.        "total_amount": "15.00000000",
  52.        "description_item": "Desayuno Buffet",
  53.        "id_variation": "0",
  54.        "tax_perc": "10.00",
  55.        "tax_amount": "13.63636364",
  56.        "id_tax": "2",
  57.        "tax": "1.36363636",
  58.        "parent_lin": null,
  59.        "menu_lin": null,
  60.        "invitation": null,
  61.        "consumption_employees": "0",
  62.        "descrip_kitchen": "Desayuno Buffet",
  63.        "dto_proportional": "0.000",
  64.        "id_family_sale": "13",
  65.        "principal": "0",
  66.        "compound": "0",
  67.        "inventory": "0",
  68.        "tyc": "0",
  69.        "date_sale": "2024-04-22 07:36:19",
  70.        "detail": [
  71.          {
  72.            "id_item": null,
  73.            "description_item": null,
  74.            "id_tax": null,
  75.            "ud_item": null,
  76.            "amount_item": null,
  77.            "id_variation": null,
  78.            "tax_perc": null,
  79.            "tax_amount": null,
  80.            "tax": null,
  81.            "descrip_kitchen": null,
  82.            "id_stock": null
  83.          }
  84.        ]
  85.      },
  86.      {
  87.        "id_lin_ticket": "36657",
  88.        "id_item": "62",
  89.        "amount_item": "15.000",
  90.        "ud_item": "1.000",
  91.        "dto_amount": "0.000",
  92.        "dto_perc": "0.00",
  93.        "total_amount": "15.00000000",
  94.        "description_item": "Desayuno Buffet",
  95.        "id_variation": "0",
  96.        "tax_perc": "10.00",
  97.        "tax_amount": "13.63636364",
  98.        "id_tax": "2",
  99.        "tax": "1.36363636",
  100.        "parent_lin": null,
  101.        "menu_lin": null,
  102.        "invitation": null,
  103.        "consumption_employees": "0",
  104.        "descrip_kitchen": "Desayuno Buffet",
  105.        "dto_proportional": "0.000",
  106.        "id_family_sale": "13",
  107.        "principal": "0",
  108.        "compound": "0",
  109.        "inventory": "0",
  110.        "tyc": "0",
  111.        "date_sale": "2024-04-22 07:36:20",
  112.        "detail": [
  113.          {
  114.            "id_item": null,
  115.            "description_item": null,
  116.            "id_tax": null,
  117.            "ud_item": null,
  118.            "amount_item": null,
  119.            "id_variation": null,
  120.            "tax_perc": null,
  121.            "tax_amount": null,
  122.            "tax": null,
  123.            "descrip_kitchen": null,
  124.            "id_stock": null
  125.          }
  126.        ]
  127.      }
  128.    ],
  129.    "client": {
  130.      "cliente_id": "136718246",
  131.      "cliente_nombre": "HEISKANEN, ROSA",
  132.      "cliente_nif": "FP5879104",
  133.      "cliente_direccion": null,
  134.      "cliente_habitual": "0",
  135.      "cliente_localidad": ".",
  136.      "cliente_provincia": null,
  137.      "cliente_pais": null,
  138.      "cliente_cp": null,
  139.      "cliente_acu_totalventas": "30.00",
  140.      "cliente_acu_totalpagos": "30.00",
  141.      "cliente_acu_ultimaventa": "2024-04-19",
  142.      "cliente_acu_importeultimaventa": "30.00",
  143.      "cliente_foto": null,
  144.      "cliente_re": "0",
  145.      "cliente_id_tarifa": null,
  146.      "cliente_dto_fijo": null,
  147.      "cliente_credito": "0.00",
  148.      "cliente_telefono1": null,
  149.      "cliente_telefono2": null,
  150.      "cliente_identificador": null,
  151.      "cliente_huella_digital": null,
  152.      "cliente_aplicar_dto_fijo": "0",
  153.      "cliente_e_mail": "HROSA.690752@GUEST.BOOKING.COM",
  154.      "cliente_clave_pulsera": null,
  155.      "cliente_activar_pulsera": null,
  156.      "cliente_idclit": null,
  157.      "cliente_adicional1": null,
  158.      "cliente_adicional2": null,
  159.      "cliente_adicional3": null,
  160.      "cliente_adicional4": null,
  161.      "cliente_tarjeta_activa": null,
  162.      "cliente_tarjeta_puntos": null,
  163.      "cliente_id_cliente_relacion": null,
  164.      "cliente_requiv": "0",
  165.      "cliente_id_fpago": null,
  166.      "cliente_abrir_mant": null,
  167.      "cliente_subir_nube": "0"
  168.    },
  169.    "hotel": {
  170.      "room": "315",
  171.      "bookingno": 2403210,
  172.      "group": "1"
  173.    },
  174.    "payments": {
  175.      "payment_1_id": "100",
  176.      "payment_1": "CARGO HABITACION",
  177.      "payment_1_amount": "30.000000",
  178.      "payment_2_id": null,
  179.      "payment_2": null,
  180.      "payment_2_amount": "0.000000",
  181.      "payment_3_id": null,
  182.      "payment_3": null,
  183.      "payment_3_amount": "0.000000"
  184.    },
  185.    "cashno": 1,
  186.    "shift": 1
  187.  }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement