POST BackOffice/InsertTour

Request Information

URI Parameters

None.

Body Parameters

cEntityTourContract
NameDescriptionTypeAdditional information
id

integer

None.

nome_pt

string

None.

nome_en

string

None.

nome_es

string

None.

foto_url

string

None.

descricao_pt

string

None.

descricao_en

string

None.

descricao_es

string

None.

fornecedor

integer

None.

duracao

integer

None.

minimo_pax

integer

None.

maximo_pax

integer

None.

valor

decimal number

None.

tipo_valor

integer

None.

modo

integer

None.

company

integer

None.

ismandatory

integer

None.

tipo

integer

None.

idoptional

integer

None.

datatour

Collection of string

None.

Creditials

string

None.

HasError

boolean

None.

ErrorDescription

string

None.

bgcolor

string

None.

data_servico

string

None.

packToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nome_pt": "sample string 2",
  "nome_en": "sample string 3",
  "nome_es": "sample string 4",
  "foto_url": "sample string 5",
  "descricao_pt": "sample string 6",
  "descricao_en": "sample string 7",
  "descricao_es": "sample string 8",
  "fornecedor": 9,
  "duracao": 10,
  "minimo_pax": 11,
  "maximo_pax": 12,
  "valor": 13.0,
  "tipo_valor": 14,
  "modo": 15,
  "company": 16,
  "ismandatory": 17,
  "tipo": 18,
  "idoptional": 19,
  "datatour": [
    "sample string 1",
    "sample string 2"
  ],
  "Creditials": "sample string 20",
  "HasError": true,
  "ErrorDescription": "sample string 22",
  "bgcolor": "sample string 23",
  "data_servico": "sample string 24",
  "packToken": "sample string 25"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

cEntityTourContract
NameDescriptionTypeAdditional information
id

integer

None.

nome_pt

string

None.

nome_en

string

None.

nome_es

string

None.

foto_url

string

None.

descricao_pt

string

None.

descricao_en

string

None.

descricao_es

string

None.

fornecedor

integer

None.

duracao

integer

None.

minimo_pax

integer

None.

maximo_pax

integer

None.

valor

decimal number

None.

tipo_valor

integer

None.

modo

integer

None.

company

integer

None.

ismandatory

integer

None.

tipo

integer

None.

idoptional

integer

None.

datatour

Collection of string

None.

Creditials

string

None.

HasError

boolean

None.

ErrorDescription

string

None.

bgcolor

string

None.

data_servico

string

None.

packToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "nome_pt": "sample string 2",
  "nome_en": "sample string 3",
  "nome_es": "sample string 4",
  "foto_url": "sample string 5",
  "descricao_pt": "sample string 6",
  "descricao_en": "sample string 7",
  "descricao_es": "sample string 8",
  "fornecedor": 9,
  "duracao": 10,
  "minimo_pax": 11,
  "maximo_pax": 12,
  "valor": 13.0,
  "tipo_valor": 14,
  "modo": 15,
  "company": 16,
  "ismandatory": 17,
  "tipo": 18,
  "idoptional": 19,
  "datatour": [
    "sample string 1",
    "sample string 2"
  ],
  "Creditials": "sample string 20",
  "HasError": true,
  "ErrorDescription": "sample string 22",
  "bgcolor": "sample string 23",
  "data_servico": "sample string 24",
  "packToken": "sample string 25"
}