POST BackOffice/GetBookTickets

Request Information

URI Parameters

None.

Body Parameters

cEntityInfraStructItems
NameDescriptionTypeAdditional information
id

integer

None.

idmeio

integer

None.

idinfraestrutura

integer

None.

codigo_meio

string

None.

nome_meio

string

None.

data_evento

string

None.

allotment

integer

None.

disponivel

integer

None.

preco

decimal number

None.

preco_com_desconto

decimal number

None.

valor_desconto

decimal number

None.

id_contrato

integer

None.

quantity

integer

None.

foto_url

string

None.

foto_meio

string

None.

descritivo

string

None.

release

integer

None.

Creditials

string

None.

HashCode

string

None.

infraestruturatipo

integer

None.

HasError

boolean

None.

ErrorDesc

string

None.

product_type

string

None.

service_time

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "idmeio": 2,
  "idinfraestrutura": 3,
  "codigo_meio": "sample string 4",
  "nome_meio": "sample string 5",
  "data_evento": "sample string 6",
  "allotment": 7,
  "disponivel": 8,
  "preco": 9.0,
  "preco_com_desconto": 10.0,
  "valor_desconto": 11.0,
  "id_contrato": 12,
  "quantity": 13,
  "foto_url": "sample string 14",
  "foto_meio": "sample string 15",
  "descritivo": "sample string 16",
  "release": 17,
  "Creditials": "sample string 18",
  "HashCode": "sample string 19",
  "infraestruturatipo": 20,
  "HasError": true,
  "ErrorDesc": "sample string 22",
  "product_type": "sample string 23",
  "service_time": "sample string 24"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of cEntityOwnBook
NameDescriptionTypeAdditional information
id

integer

None.

idproduct

integer

None.

startdate

string

None.

enddate

string

None.

nights

integer

None.

Pax

integer

None.

TotValue

decimal number

None.

packToken

string

None.

prodtype

integer

None.

proddescription

string

None.

HasError

boolean

None.

ErrorDescripton

string

None.

total_discount

decimal number

None.

alojcode

string

None.

alojdescription

string

None.

alojid

integer

None.

pricerooms

Collection of cEntityPackageRoom

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "idproduct": 2,
    "startdate": "sample string 3",
    "enddate": "sample string 4",
    "nights": 5,
    "Pax": 6,
    "TotValue": 7.0,
    "packToken": "sample string 8",
    "prodtype": 9,
    "proddescription": "sample string 10",
    "HasError": true,
    "ErrorDescripton": "sample string 12",
    "total_discount": 13.0,
    "alojcode": "sample string 14",
    "alojdescription": "sample string 15",
    "alojid": 16,
    "pricerooms": [
      {
        "id": 1,
        "package_id": 2,
        "room_code": "sample string 3",
        "room_name": "sample string 4",
        "min_pax": 5,
        "max_pax": 6,
        "default_pax": 7,
        "price_type": 8,
        "start_date": "sample string 9",
        "end_date": "sample string 10",
        "cost_price": 11.0,
        "sale_price": 12.0,
        "haserror": "sample string 13",
        "haserrordescription": "sample string 14",
        "isselected": 15,
        "Credencials": "sample string 16",
        "modo": 17,
        "meal_code": "sample string 18",
        "meal_name": "sample string 19",
        "offer_room1": "sample string 20",
        "offer_room2": "sample string 21",
        "offer_room1_qtd": 22,
        "offer_room2_qtd": 23
      },
      {
        "id": 1,
        "package_id": 2,
        "room_code": "sample string 3",
        "room_name": "sample string 4",
        "min_pax": 5,
        "max_pax": 6,
        "default_pax": 7,
        "price_type": 8,
        "start_date": "sample string 9",
        "end_date": "sample string 10",
        "cost_price": 11.0,
        "sale_price": 12.0,
        "haserror": "sample string 13",
        "haserrordescription": "sample string 14",
        "isselected": 15,
        "Credencials": "sample string 16",
        "modo": 17,
        "meal_code": "sample string 18",
        "meal_name": "sample string 19",
        "offer_room1": "sample string 20",
        "offer_room2": "sample string 21",
        "offer_room1_qtd": 22,
        "offer_room2_qtd": 23
      }
    ]
  },
  {
    "id": 1,
    "idproduct": 2,
    "startdate": "sample string 3",
    "enddate": "sample string 4",
    "nights": 5,
    "Pax": 6,
    "TotValue": 7.0,
    "packToken": "sample string 8",
    "prodtype": 9,
    "proddescription": "sample string 10",
    "HasError": true,
    "ErrorDescripton": "sample string 12",
    "total_discount": 13.0,
    "alojcode": "sample string 14",
    "alojdescription": "sample string 15",
    "alojid": 16,
    "pricerooms": [
      {
        "id": 1,
        "package_id": 2,
        "room_code": "sample string 3",
        "room_name": "sample string 4",
        "min_pax": 5,
        "max_pax": 6,
        "default_pax": 7,
        "price_type": 8,
        "start_date": "sample string 9",
        "end_date": "sample string 10",
        "cost_price": 11.0,
        "sale_price": 12.0,
        "haserror": "sample string 13",
        "haserrordescription": "sample string 14",
        "isselected": 15,
        "Credencials": "sample string 16",
        "modo": 17,
        "meal_code": "sample string 18",
        "meal_name": "sample string 19",
        "offer_room1": "sample string 20",
        "offer_room2": "sample string 21",
        "offer_room1_qtd": 22,
        "offer_room2_qtd": 23
      },
      {
        "id": 1,
        "package_id": 2,
        "room_code": "sample string 3",
        "room_name": "sample string 4",
        "min_pax": 5,
        "max_pax": 6,
        "default_pax": 7,
        "price_type": 8,
        "start_date": "sample string 9",
        "end_date": "sample string 10",
        "cost_price": 11.0,
        "sale_price": 12.0,
        "haserror": "sample string 13",
        "haserrordescription": "sample string 14",
        "isselected": 15,
        "Credencials": "sample string 16",
        "modo": 17,
        "meal_code": "sample string 18",
        "meal_name": "sample string 19",
        "offer_room1": "sample string 20",
        "offer_room2": "sample string 21",
        "offer_room1_qtd": 22,
        "offer_room2_qtd": 23
      }
    ]
  }
]