0% found this document useful (0 votes)
34 views

API Map

The document describes the fields and endpoints for a hotel booking and travel management API. It lists fields for hotel bookings like hotel name, check-in/out dates, room rates, taxes, and total cost. It also includes common endpoint types for the API like retrieving and creating hotel bookings, service orders, and other record types.

Uploaded by

Thiago Alonso
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

API Map

The document describes the fields and endpoints for a hotel booking and travel management API. It lists fields for hotel bookings like hotel name, check-in/out dates, room rates, taxes, and total cost. It also includes common endpoint types for the API like retrieving and creating hotel bookings, service orders, and other record types.

Uploaded by

Thiago Alonso
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Nome Length fieldType

Id do Item INT32 valor


Id da OS INT32 valor
Localizador VARCHAR(100) string

Centro de Custo VARCHAR(100) string

Data Solicitacao dateTime dateTime

Data Emissao dateTime dateTime


Usuario Criador VARCHAR(100) string
Usuario Emissor VARCHAR(100) string

Data Aprovacao N1 dateTime dateTime

Data Aprovacao N2 dateTime dateTime


Aprovador Nivel 1 VARCHAR(100) string
Aprovador Nivel 2 VARCHAR(100) string
Dias de Antecedencia INT32 valor

data de cancelamento dateTime dateTime


Destino Cidade VARCHAR(100) string
Status VARCHAR(100) string
Motivo Viagem VARCHAR(100) string

Passageiro VARCHAR(100) string


EmailPassageiro VARCHAR(100) string
Numero do Bilhete VARCHAR(100) string
Trecho VARCHAR(100) string
Numero Voos INT32 valor
Tipo Rota VARCHAR(100) string
Cia Aerea VARCHAR(100) string
Origem Cidade VARCHAR(100) string
IATA Origem VARCHAR(100) string
IATA Destino VARCHAR(100) string
Cliente VARCHAR(100) string

Data da viagem dateTime dateTime


Emission Market Fare Decimal valor
Tarifa Decimal valor
Economia Decimal valor
Taxas Decimal valor
TaxasDU Decimal valor
Total Bilhete Decimal valor
ReimbursementTotalValue Decimal valor
NonReimbursementValue Decimal valor

PROJETO VARCHAR(200) string


TIPO DE PRODUTO VARCHAR(100) string
Endpoint RecordType
https://api.travelagent.com.br/Records Airbook;Issue
https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records AirBook

https://api.travelagent.com.br/Records ServiceOrder

https://api.travelagent.com.br/Records Todos

https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Qualquer
https://api.travelagent.com.br/Records Issue

https://api.travelagent.com.br/Records AirBook

https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records AirBook

https://api.travelagent.com.br/Records/History/{ID_ITEM} Airbook;Issue
https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records ServiceOrder

https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Profile/Users/{USER_ID} N/A
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records AirBook
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records ServiceOrder

https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue
https://api.travelagent.com.br/Records Issue

https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records Todos
API property
children[ ].id
id
children[ ].locator
costCenters[ ].costCenterid
costcenters[ ].costCenterName

createdTime.year
createdTime.month
createdTime.day
createdTime.hour
createdTime.minutes

children[ ].issuedDate.year
children[ ].issuedDate.month
children[ ].issuedDate.day
children[ ].issuedDate.hour
children[ ].issuedDate.minutes
children[ ].createdByName
children[ ].issuedBy

children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Year
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Month
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Day
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Hour
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Minutes

children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Year
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Month
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Day
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Hour
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Minutes
children[ ].approvalFlows[].approvers[0].approverName
children[ ].approvalFlows[].approvers[1].approverName
children[].createdTime - children[].departure

{
"changedField": "OrderItem.CanceledDate",
"labelField": "Data do Cancelamento ",
"modifiedValue": "15/09/2022 16:55"
}
children[].destination.name
children[].status.name
travelReason.name

children[].travellers[].firstName
children[].travellers[].middleName
children[].travellers[].lastName
children[].travellers[].fullName
children[].travellers[].userId
email
children[].ticketNumber
children[].summary
children[].flightGroups[].flights[].flightNumber
children[].travelRouteType
children[].airCompany
children[].originCity
children[].origin
children[].destination
companyContext[].customer[].name

startDate[].year
startDate[].month
startDate[].day
children[].marketFare
children[].equivalentFareAmount
(children[].equivalentFareAmount / children[].marketFare) * 100
children[].tax
children[].Du
children[].totalServiceItem
children[].ticketRefundTotalRefunded
children[].totalServiceItem - children[].ticketRefundTotalRefunded
managementExternalFieds[].name = Projetos
|- > managementExternalFieds[].value
Type
Nome Length fieldType
Id do Item INT32 valor
Id da OS INT32 valor
Localizador VARCHAR(100) string

Centro de Custo VARCHAR(100) string

Data Solicitacao dateTime dateTime

Data Emissao dateTime dateTime


Usuario Criador VARCHAR(100) string

Usuario Emissor VARCHAR(100) string

Data Aprovacao N1 dateTime dateTime

Data Aprovacao N2 dateTime dateTime


Aprovador Nivel 1 VARCHAR(100) string
Aprovador Nivel 2 VARCHAR(100) string
Dias de Antecedencia INT32 valor

Data de Cancelamento dateTime dateTime


Destino Cidade VARCHAR(100) string
Status VARCHAR(100) string
Motivo Viagem VARCHAR(100) string
Viajantes VARCHAR(100) string
CLIENTE VARCHAR(100) string
Fornecedor VARCHAR(100) string
Nome do Hotel VARCHAR(100) string
Check in dateTime dateTime
Check out dateTime dateTime
Diarias INT32 valor
Valor da Diaria Decimal valor
Taxas Decimal valor
Total da Reserva Decimal valor

PROJETO VARCHAR(100) string


TIPO DE PRODUTO VARCHAR(100) string
Endpoint RecordType
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records HotelBook

https://api.travelagent.com.br/Records ServiceOrder

https://api.travelagent.com.br/Records Todos

https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook

https://api.travelagent.com.br/Records/History/{ID_ITEM} HotelBook

https://api.travelagent.com.br/Records HotelBook

https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook

https://api.travelagent.com.br/Records/History/{ID_ITEM} HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook
https://api.travelagent.com.br/Records HotelBook

https://api.travelagent.com.br/Records ServiceOrder
https://api.travelagent.com.br/Records Todos
API property
children[ ].id
id
children[].locator
costCenters[ ].costCenterid
costcenters[ ].costCenterName

createdTime.year
createdTime.month
createdTime.day
createdTime.hour
createdTime.minutes

children[].voucherDate.year
children[].voucherDate.month
children[].voucherDate.day
children[].voucherDate.hour
children[].voucherDate.minutes
children[].createdByName

{
"changedDate": {
"year": 2022,
"month": 9,
"day": 15,
"dayOfWeek": "thursday",
"hour": 14,
"minutes": 14,
"seconds": 9,
"millisecond": 663
},
"changes": [
{
"labelField": "Status",
"originalValue": "EmEmissao",
"modifiedValue": "EmissaoConcluida"
}

children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Year
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Month
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Day
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Hour
children[ ].approvalFlows[].approvers[0].approvalResponseTime[].Minutes

children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Year
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Month
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Day
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Hour
children[ ].approvalFlows[].approvers[1].approvalResponseTime[].Minutes
children[ ].approvalFlows[].approvers[0].approverName
children[ ].approvalFlows[].approvers[1].approverName
children[].checkin - children[].createdTime

"changedDate": {
"year": 2022,
"month": 9,
"day": 9,
"dayOfWeek": "friday",
"hour": 17,
"minutes": 5,
"seconds": 50,
"millisecond": 645
},
"changes": [{
"originalValue": "EmCancelamento",
"modifiedValue": "Cancelado"
}
children[].destination.fullName
children[].status[].name
travelReason.name
children[].travellers
companyContext[].customer[].name
children[].supplierSystem
children[].hotelName
children[].checkin
children[].checkout
children[].checkout - children[].checkin
children[].dailyFare
children[].totalTaxesAmount
children[].totalValue[].value
managementExternalFieds[].name = Projetos
|- > managementExternalFieds[].value
Type

You might also like