DomoFeedProviderImpl Resource

Created by nick on 3/27/17.

See Also
CarSegment

GET /domo/getDomoCars

Get a list of car reservations, for use with Domo.

See Also
CarSegment
Request Parameters
name type description
searchList query A search list with any extra filtering we would like. When building a search list, do it in the aspect of the CarSegment
Response Body
media type data type description
application/json array of DomoCar (JSON) A list of cars, flattened for use with Domo.
application/xml list of domoCar (XML)

Example

Request
GET /domo/getDomoCars
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "id" : "...",
  "rentalAgency" : "...",
  "city" : "...",
  "state" : "...",
  "closestAirport" : "...",
  "pickupDate" : "...",
  "dropoffDate" : "...",
  "days" : 12345,
  "averageDailyRate" : 12345.0,
  "carType" : "...",
  "carTypeName" : "...",
  "rateType" : "...",
  "agencyCode" : "...",
  "confirmation" : "...",
  "totalAmount" : 12345.0,
  "lastName" : "...",
  "firstName" : "...",
  "invoiceDate" : "...",
  "recordLocator" : "...",
  "department" : "...",
  "purpose" : "...",
  "explanation" : "...",
  "authorizationCode" : "...",
  "costCenterCode" : "...",
  "clientCode" : "...",
  "regionCode" : "...",
  "billable" : "...",
  "travelerCode" : "...",
  "managerCode" : "...",
  "projectCode" : "..."
} ]
                
              
See Also
ItinerarySpendSummary

GET /domo/getDomoCityPairs

Get a list of city pairs, for use with Domo.

See Also
ItinerarySpendSummary
Request Parameters
name type description
searchList query A search list with any extra filtering we would like. When building a search list, do it in the aspect of the ItinerarySpendSummary.
Response Body
media type data type description
application/json array of DomoCityPairs (JSON) A list of trip city pairs, flattened for use with Domo.
application/xml list of domoCityPairs (XML)

Example

Request
GET /domo/getDomoCityPairs
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "id" : "...",
  "vendor" : "...",
  "departureCityCode" : "...",
  "departureCityName" : "...",
  "arrivalCityCode" : "...",
  "arrivalCityName" : "...",
  "miles" : "...",
  "fare" : 12345.0,
  "cityPairCodes" : "...",
  "exchange" : "..."
} ]
                
              
See Also
HotelSegment

GET /domo/getDomoHotels

Get a list of hotel reservations, for use with Domo.

See Also
HotelSegment
Request Parameters
name type description
searchList query A search list with any extra filtering we would like. When building a search list, do it in the aspect of the HotelSegment
Response Body
media type data type description
application/json array of DomoHotel (JSON) A list of hotels, flattened for use with Domo.
application/xml list of domoHotel (XML)

Example

Request
GET /domo/getDomoHotels
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "id" : "...",
  "chain" : "...",
  "name" : "...",
  "city" : "...",
  "state" : "...",
  "closestAirport" : "...",
  "checkIn" : "...",
  "checkOut" : "...",
  "nights" : 12345,
  "rooms" : 12345,
  "roomType" : "...",
  "averageNightlyRate" : 12345.0,
  "phone" : "...",
  "reasonCode" : "...",
  "reason" : "...",
  "hotelSavings" : 12345.0,
  "confirmation" : "...",
  "address1" : "...",
  "zip" : "...",
  "country" : "...",
  "invoiceDate" : "...",
  "lastName" : "...",
  "firstName" : "...",
  "totalAmount" : 12345.0,
  "department" : "...",
  "purpose" : "...",
  "bookingType" : "...",
  "recordLocator" : "...",
  "latitude" : 12345.0,
  "longitude" : 12345.0,
  "explanation" : "...",
  "authorizationCode" : "...",
  "costCenterCode" : "...",
  "clientCode" : "...",
  "regionCode" : "...",
  "billable" : "...",
  "travelerCode" : "...",
  "managerCode" : "...",
  "projectCode" : "...",
  "hotelId" : 12345,
  "fullName" : "...",
  "chainName" : "..."
} ]
                
              
See Also
ItinerarySpendSummary

GET /domo/getDomoTrips

Get a list of air details, for use with Domo.

See Also
ItinerarySpendSummary
Request Parameters
name type description
searchList query A search list with any extra filtering we would like. When building a search list, do it in the aspect of the Itinerary object.
Response Body
media type data type description
application/json array of DomoTrip (JSON) A list of trip summaries, flattened for use with Domo.
application/xml list of domoTrip (XML)

Example

Request
GET /domo/getDomoTrips
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "id" : "...",
  "accountNumber" : "...",
  "lastName" : "...",
  "firstName" : "...",
  "recordLocator" : "...",
  "invoiceNumber" : "...",
  "ticketNumber" : "...",
  "invoiceDate" : "...",
  "department" : "...",
  "purpose" : "...",
  "seg1AirlineCode" : "...",
  "seg1AirlineName" : "...",
  "seg1DepartureDate" : "...",
  "seg1DepartureCityName" : "...",
  "seg1ArrivalDate" : "...",
  "seg1ArrivalCityName" : "...",
  "seg1ClassOfServiceCode" : "...",
  "seg1Cabin" : "...",
  "seg1Stop" : true,
  "seg2AirlineCode" : "...",
  "seg2AirlineName" : "...",
  "seg2DepartureDate" : "...",
  "seg2DepartureCityName" : "...",
  "seg2ArrivalDate" : "...",
  "seg2ArrivalCityName" : "...",
  "seg2ClassOfServiceCode" : "...",
  "seg2Cabin" : "...",
  "seg2Stop" : true,
  "seg3AirlineCode" : "...",
  "seg3AirlineName" : "...",
  "seg3DepartureDate" : "...",
  "seg3DepartureCityName" : "...",
  "seg3ArrivalDate" : "...",
  "seg3ArrivalCityName" : "...",
  "seg3ClassOfServiceCode" : "...",
  "seg3Cabin" : "...",
  "seg3Stop" : true,
  "seg4AirlineCode" : "...",
  "seg4AirlineName" : "...",
  "seg4DepartureDate" : "...",
  "seg4DepartureCityName" : "...",
  "seg4ArrivalDate" : "...",
  "seg4ArrivalCityName" : "...",
  "seg4ClassOfServiceCode" : "...",
  "seg4Cabin" : "...",
  "seg4Stop" : true,
  "advancePurchase" : 12345,
  "ticketAmount" : 12345.0,
  "lowFare" : 12345.0,
  "reasonCode" : "...",
  "international" : true,
  "type" : "...",
  "plusMin" : 12345,
  "exchange" : true,
  "reason" : "...",
  "bookingType" : "...",
  "validatingCarrier" : "...",
  "validatingCarrierName" : "...",
  "departureDate" : "...",
  "explanation" : "...",
  "authorizationCode" : "...",
  "costCenterCode" : "...",
  "clientCode" : "...",
  "regionCode" : "...",
  "billable" : "...",
  "travelerCode" : "...",
  "managerCode" : "...",
  "projectCode" : "..."
} ]
                
              
See Also
Ticket

GET /domo/getDomoUnusedTickets

Get a list of unused tickets held in Airbank.

See Also
Ticket
Request Parameters
name type description
searchList query A search list with any extra filtering we would like. When building a search list, do it in the aspect of the Ticket in Airbank.
Response Body
media type data type description
application/json array of DomoUnusedTicket (JSON) A list of unused tickets, flattened for use with Domo.
application/xml list of domoUnusedTicket (XML)

Example

Request
GET /domo/getDomoUnusedTickets
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "recordLocator" : "...",
  "ticketNumber" : "...",
  "airlineCode" : "...",
  "airlineName" : "...",
  "issueDate" : "...",
  "expireDate" : "...",
  "company" : "...",
  "agent" : "...",
  "status" : "...",
  "value" : 12345.0,
  "originalFare" : 12345.0,
  "lastName" : "...",
  "firstName" : "..."
} ]