GET | /BookingDetails |
---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
@DataContract(Namespace="schemas.agentivity.com/types")
public static class BookingDetailsByRef extends CompanyLevelRequestBase implements IRequestConsultantID
{
/**
* Agentivity Booking Reference
*/
@DataMember
public Integer AgentivityRef = null;
/**
* Options to retrieve booking details (valid values are: Passengers, Itinerary, DiEntries, Phones, Notepads, VendorRemarks, Tickets, Versions, VendorLocators, CustomFields, Emails, AccountValue, EventDetails or EmailTrails). The option All can be used to get entire booking data.
*/
@DataMember
public BookingDetailsOptions LoadOptions = null;
/**
* Record locator
*/
@DataMember
public String RecordLocator = null;
/**
* Date in format YYYYMMDD
*/
@DataMember
public String PNRCreationDate = null;
/**
* Request Consultant ID (sign on)
*/
@DataMember
public String RequestConsultantID = null;
public Integer getAgentivityRef() { return AgentivityRef; }
public BookingDetailsByRef setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
public BookingDetailsOptions getLoadOptions() { return LoadOptions; }
public BookingDetailsByRef setLoadOptions(BookingDetailsOptions value) { this.LoadOptions = value; return this; }
public String getRecordLocator() { return RecordLocator; }
public BookingDetailsByRef setRecordLocator(String value) { this.RecordLocator = value; return this; }
public String getPnrCreationDate() { return PNRCreationDate; }
public BookingDetailsByRef setPnrCreationDate(String value) { this.PNRCreationDate = value; return this; }
public String getRequestConsultantID() { return RequestConsultantID; }
public BookingDetailsByRef setRequestConsultantID(String value) { this.RequestConsultantID = value; return this; }
}
@DataContract(Namespace="schemas.agentivity.com/types")
public static class CompanyLevelRequestBase extends PagingMetadata implements IMemberUsername, IMemberOwningCompanyCode
{
/**
* Comma Delimited List of Owning Company Codes
*/
@DataMember
public ArrayList<String> OwningCompanyCode = null;
/**
* UserName in form of an email address
*/
@DataMember
public String UserName = null;
public ArrayList<String> getOwningCompanyCode() { return OwningCompanyCode; }
public CompanyLevelRequestBase setOwningCompanyCode(ArrayList<String> value) { this.OwningCompanyCode = value; return this; }
public String getUserName() { return UserName; }
public CompanyLevelRequestBase setUserName(String value) { this.UserName = value; return this; }
}
@DataContract(Name="Metadata", Namespace="schemas.agentivity.com/types")
public static class PagingMetadata
{
/**
* Starting Record
*/
@DataMember
@ApiMember(DataType="string", Description="Starting Record", Name="Offset", ParameterType="query")
public String Offset = null;
/**
* Number of records to return (PageSize)
*/
@DataMember
@ApiMember(DataType="string", Description="Number of records to return (PageSize)", Name="Limit", ParameterType="query")
public String Limit = null;
/**
* Total Number of Records in a Full Reponse (if no paging)
*/
@DataMember
@ApiMember(DataType="string", Description="Total Number of Records in a Full Reponse (if no paging)", Name="TotalRecords", ParameterType="query")
public Integer TotalRecords = null;
/**
* Total Number of Records in this Reponse (on this page)
*/
@DataMember
@ApiMember(DataType="string", Description="Total Number of Records in this Reponse (on this page)", Name="ResponseRecords", ParameterType="query")
public Integer ResponseRecords = null;
public String getOffset() { return Offset; }
public PagingMetadata setOffset(String value) { this.Offset = value; return this; }
public String getLimit() { return Limit; }
public PagingMetadata setLimit(String value) { this.Limit = value; return this; }
public Integer getTotalRecords() { return TotalRecords; }
public PagingMetadata setTotalRecords(Integer value) { this.TotalRecords = value; return this; }
public Integer getResponseRecords() { return ResponseRecords; }
public PagingMetadata setResponseRecords(Integer value) { this.ResponseRecords = value; return this; }
}
@Flags()
public static enum BookingDetailsOptions
{
@SerializedName("0") None(0),
@SerializedName("1") Passengers(1),
@SerializedName("2") Itinerary(2),
@SerializedName("3") PassengersItinerary(3),
@SerializedName("4") DiEntries(4),
@SerializedName("8") Phones(8),
@SerializedName("16") Notepads(16),
@SerializedName("32") VendorRemarks(32),
@SerializedName("64") Tickets(64),
@SerializedName("128") Versions(128),
@SerializedName("256") VendorLocators(256),
@SerializedName("512") CustomFields(512),
@SerializedName("1024") Emails(1024),
@SerializedName("1032") ContactFields(1032),
@SerializedName("2048") AccountValue(2048),
@SerializedName("4096") EventDetails(4096),
@SerializedName("4224") History(4224),
@SerializedName("8192") EmailTrails(8192),
@SerializedName("16384") AgentivityWarnings(16384),
@SerializedName("32768") AirTicketingDueDates(32768),
@SerializedName("65535") All(65535);
private final int value;
BookingDetailsOptions(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
@DataContract(Name="AgentivityResponse", Namespace="schemas.agentivity.com/types")
public static class BookingDetailsByRefResponse extends CollectionResponse<BookingDetails>
{
}
@DataContract(Name="AgentivityResponse", Namespace="schemas.agentivity.com/types")
public static class CollectionResponse<TItem>
{
@DataMember(Order=1)
public ResponseMetadata ResponseMetadata = null;
@DataMember(Order=2, EmitDefaultValue=false)
public ArrayList<ApiRequestPerHour> ResponseReport = null;
@DataMember(Order=3, EmitDefaultValue=false)
public AgentivityError ResponseError = null;
public ResponseMetadata getResponseMetadata() { return ResponseMetadata; }
public CollectionResponse<TItem> setResponseMetadata(ResponseMetadata value) { this.ResponseMetadata = value; return this; }
public ArrayList<ApiRequestPerHour> getResponseReport() { return ResponseReport; }
public CollectionResponse<TItem> setResponseReport(ArrayList<ApiRequestPerHour> value) { this.ResponseReport = value; return this; }
public AgentivityError getResponseError() { return ResponseError; }
public CollectionResponse<TItem> setResponseError(AgentivityError value) { this.ResponseError = value; return this; }
}
@DataContract(Name="ResponseMetadata", Namespace="schemas.agentivity.com/types")
public static class ResponseMetadata
{
@DataMember(Order=0)
public Boolean Success = null;
@DataMember(Order=1)
public Boolean HasCache = null;
@DataMember(Order=2)
public Boolean HasPaging = null;
@DataMember(Order=3, EmitDefaultValue=false)
public CacheMetadata CacheMetadata = null;
@DataMember(Order=4, EmitDefaultValue=false)
public PagingMetadata PagingMetadata = null;
public Boolean isSuccess() { return Success; }
public ResponseMetadata setSuccess(Boolean value) { this.Success = value; return this; }
public Boolean isHasCache() { return HasCache; }
public ResponseMetadata setHasCache(Boolean value) { this.HasCache = value; return this; }
public Boolean isHasPaging() { return HasPaging; }
public ResponseMetadata setHasPaging(Boolean value) { this.HasPaging = value; return this; }
public CacheMetadata getCacheMetadata() { return CacheMetadata; }
public ResponseMetadata setCacheMetadata(CacheMetadata value) { this.CacheMetadata = value; return this; }
public PagingMetadata getPagingMetadata() { return PagingMetadata; }
public ResponseMetadata setPagingMetadata(PagingMetadata value) { this.PagingMetadata = value; return this; }
}
@DataContract(Name="CacheMetadata", Namespace="schemas.agentivity.com/types")
public static class CacheMetadata
{
@DataMember(Order=1)
public Date CachedAt = null;
@DataMember(Order=2)
public Date CacheExpiresAt = null;
@DataMember(Order=0)
public Boolean IsFromCache = null;
public Date getCachedAt() { return CachedAt; }
public CacheMetadata setCachedAt(Date value) { this.CachedAt = value; return this; }
public Date getCacheExpiresAt() { return CacheExpiresAt; }
public CacheMetadata setCacheExpiresAt(Date value) { this.CacheExpiresAt = value; return this; }
public Boolean getIsFromCache() { return IsFromCache; }
public CacheMetadata setIsFromCache(Boolean value) { this.IsFromCache = value; return this; }
}
@DataContract(Name="ApiRequestPerHour", Namespace="schemas.agentivity.com/types")
public static class ApiRequestPerHour
{
@DataMember(Order=10)
public Date RequestDate = null;
@DataMember(Order=100)
public Integer Hour0 = null;
@DataMember(Order=110)
public Integer Hour1 = null;
@DataMember(Order=120)
public Integer Hour2 = null;
@DataMember(Order=130)
public Integer Hour3 = null;
@DataMember(Order=140)
public Integer Hour4 = null;
@DataMember(Order=150)
public Integer Hour5 = null;
@DataMember(Order=160)
public Integer Hour6 = null;
@DataMember(Order=170)
public Integer Hour7 = null;
@DataMember(Order=180)
public Integer Hour8 = null;
@DataMember(Order=190)
public Integer Hour9 = null;
@DataMember(Order=200)
public Integer Hour10 = null;
@DataMember(Order=210)
public Integer Hour11 = null;
@DataMember(Order=220)
public Integer Hour12 = null;
@DataMember(Order=230)
public Integer Hour13 = null;
@DataMember(Order=240)
public Integer Hour14 = null;
@DataMember(Order=250)
public Integer Hour15 = null;
@DataMember(Order=260)
public Integer Hour16 = null;
@DataMember(Order=270)
public Integer Hour17 = null;
@DataMember(Order=280)
public Integer Hour18 = null;
@DataMember(Order=290)
public Integer Hour19 = null;
@DataMember(Order=300)
public Integer Hour20 = null;
@DataMember(Order=310)
public Integer Hour21 = null;
@DataMember(Order=320)
public Integer Hour22 = null;
@DataMember(Order=330)
public Integer Hour23 = null;
public Date getRequestDate() { return RequestDate; }
public ApiRequestPerHour setRequestDate(Date value) { this.RequestDate = value; return this; }
public Integer getHour0() { return Hour0; }
public ApiRequestPerHour setHour0(Integer value) { this.Hour0 = value; return this; }
public Integer getHour1() { return Hour1; }
public ApiRequestPerHour setHour1(Integer value) { this.Hour1 = value; return this; }
public Integer getHour2() { return Hour2; }
public ApiRequestPerHour setHour2(Integer value) { this.Hour2 = value; return this; }
public Integer getHour3() { return Hour3; }
public ApiRequestPerHour setHour3(Integer value) { this.Hour3 = value; return this; }
public Integer getHour4() { return Hour4; }
public ApiRequestPerHour setHour4(Integer value) { this.Hour4 = value; return this; }
public Integer getHour5() { return Hour5; }
public ApiRequestPerHour setHour5(Integer value) { this.Hour5 = value; return this; }
public Integer getHour6() { return Hour6; }
public ApiRequestPerHour setHour6(Integer value) { this.Hour6 = value; return this; }
public Integer getHour7() { return Hour7; }
public ApiRequestPerHour setHour7(Integer value) { this.Hour7 = value; return this; }
public Integer getHour8() { return Hour8; }
public ApiRequestPerHour setHour8(Integer value) { this.Hour8 = value; return this; }
public Integer getHour9() { return Hour9; }
public ApiRequestPerHour setHour9(Integer value) { this.Hour9 = value; return this; }
public Integer getHour10() { return Hour10; }
public ApiRequestPerHour setHour10(Integer value) { this.Hour10 = value; return this; }
public Integer getHour11() { return Hour11; }
public ApiRequestPerHour setHour11(Integer value) { this.Hour11 = value; return this; }
public Integer getHour12() { return Hour12; }
public ApiRequestPerHour setHour12(Integer value) { this.Hour12 = value; return this; }
public Integer getHour13() { return Hour13; }
public ApiRequestPerHour setHour13(Integer value) { this.Hour13 = value; return this; }
public Integer getHour14() { return Hour14; }
public ApiRequestPerHour setHour14(Integer value) { this.Hour14 = value; return this; }
public Integer getHour15() { return Hour15; }
public ApiRequestPerHour setHour15(Integer value) { this.Hour15 = value; return this; }
public Integer getHour16() { return Hour16; }
public ApiRequestPerHour setHour16(Integer value) { this.Hour16 = value; return this; }
public Integer getHour17() { return Hour17; }
public ApiRequestPerHour setHour17(Integer value) { this.Hour17 = value; return this; }
public Integer getHour18() { return Hour18; }
public ApiRequestPerHour setHour18(Integer value) { this.Hour18 = value; return this; }
public Integer getHour19() { return Hour19; }
public ApiRequestPerHour setHour19(Integer value) { this.Hour19 = value; return this; }
public Integer getHour20() { return Hour20; }
public ApiRequestPerHour setHour20(Integer value) { this.Hour20 = value; return this; }
public Integer getHour21() { return Hour21; }
public ApiRequestPerHour setHour21(Integer value) { this.Hour21 = value; return this; }
public Integer getHour22() { return Hour22; }
public ApiRequestPerHour setHour22(Integer value) { this.Hour22 = value; return this; }
public Integer getHour23() { return Hour23; }
public ApiRequestPerHour setHour23(Integer value) { this.Hour23 = value; return this; }
}
@DataContract(Name="ResponseMetadata", Namespace="schemas.agentivity.com/types")
public static class AgentivityError
{
@DataMember
public String ErrorCode = null;
@DataMember
public String Message = null;
@DataMember
public String StatusCode = null;
@DataMember
public String VerboseMessage = null;
public String getErrorCode() { return ErrorCode; }
public AgentivityError setErrorCode(String value) { this.ErrorCode = value; return this; }
public String getMessage() { return Message; }
public AgentivityError setMessage(String value) { this.Message = value; return this; }
public String getStatusCode() { return StatusCode; }
public AgentivityError setStatusCode(String value) { this.StatusCode = value; return this; }
public String getVerboseMessage() { return VerboseMessage; }
public AgentivityError setVerboseMessage(String value) { this.VerboseMessage = value; return this; }
}
@DataContract(Name="BookingDetails", Namespace="schemas.agentivity.com/types")
public static class BookingDetails implements IBookingItinerary
{
@DataMember(Order=20)
public String RecordLocator = null;
@DataMember(Order=30)
public String PNRCreationDate = null;
@DataMember(Order=35)
public Date CreationDate = null;
@DataMember(Order=40)
public String PNRTicketed = null;
@DataMember(Order=50)
public String Account = null;
@DataMember(Order=60)
public String OwningConsultantID = null;
@DataMember(Order=70)
public String OwningConsultant = null;
@DataMember(Order=80)
public String CrsDescription = null;
@DataMember(Order=90)
public String LastActionConsultantID = null;
@DataMember(Order=100)
public String LastActionAgencyLocationID = null;
@DataMember(Order=110)
public String OwningAgencyLocationID = null;
@DataMember(Order=120)
public String CreatingAgencyIata = null;
@DataMember(Order=130)
public Integer CompanyID = null;
@DataMember(Order=200)
public ArrayList<PassengerDetails> Passengers = null;
@DataMember(Order=210)
public ArrayList<BookingPhone> Phones = null;
@DataMember(Order=220)
public ArrayList<BookingNotepad> Notepads = null;
@DataMember(Order=230)
public ArrayList<VendorRemark> VendorRemarks = null;
@DataMember(Order=240)
public ArrayList<DiEntry> DiEntries = null;
@DataMember(Order=250)
public ArrayList<BookingTicket> Tickets = null;
@DataMember(Order=260)
public ArrayList<BookingVersion> Versions = null;
@DataMember(Order=270)
public ArrayList<BookingVendorLocator> VendorLocators = null;
@DataMember(Order=280)
public ArrayList<CustomFieldValue> CustomFields = null;
@DataMember(Order=290)
public ArrayList<BookingEmail> Emails = null;
@DataMember(Order=300)
public ArrayList<BookingEventDetail> EventDetails = null;
@DataMember(Order=310)
public ArrayList<BookingAccountLocation> AccountLocations = null;
@DataMember(Order=320)
public ArrayList<BookingEmailTrail> EmailTrails = null;
@DataMember(Order=330)
public ArrayList<BookingDetailsWarning> AgentivityWarnings = null;
@DataMember(Order=340)
public ArrayList<BookingDetailsAirTicketingDue> AirlineTicketingDues = null;
@DataMember(Order=350)
public String CTCE = null;
@DataMember(Order=360)
public String CTCM = null;
@DataMember(Order=370)
public Double CarbonTonnage = null;
@DataMember(Order=380)
public ArrayList<CarbonEmission> CarbonEmissions = null;
@DataMember(Order=500)
public String OwningCompanyCode = null;
@DataMember(Order=10)
public Integer AgentivityRef = null;
@DataMember(Order=1000)
public ItinerarySegmentsCollection Itinerary = null;
@DataMember(Order=1010)
public String ItineraryFormatted = null;
public String getRecordLocator() { return RecordLocator; }
public BookingDetails setRecordLocator(String value) { this.RecordLocator = value; return this; }
public String getPnrCreationDate() { return PNRCreationDate; }
public BookingDetails setPnrCreationDate(String value) { this.PNRCreationDate = value; return this; }
public Date getCreationDate() { return CreationDate; }
public BookingDetails setCreationDate(Date value) { this.CreationDate = value; return this; }
public String getPnrTicketed() { return PNRTicketed; }
public BookingDetails setPnrTicketed(String value) { this.PNRTicketed = value; return this; }
public String getAccount() { return Account; }
public BookingDetails setAccount(String value) { this.Account = value; return this; }
public String getOwningConsultantID() { return OwningConsultantID; }
public BookingDetails setOwningConsultantID(String value) { this.OwningConsultantID = value; return this; }
public String getOwningConsultant() { return OwningConsultant; }
public BookingDetails setOwningConsultant(String value) { this.OwningConsultant = value; return this; }
public String getCrsDescription() { return CrsDescription; }
public BookingDetails setCrsDescription(String value) { this.CrsDescription = value; return this; }
public String getLastActionConsultantID() { return LastActionConsultantID; }
public BookingDetails setLastActionConsultantID(String value) { this.LastActionConsultantID = value; return this; }
public String getLastActionAgencyLocationID() { return LastActionAgencyLocationID; }
public BookingDetails setLastActionAgencyLocationID(String value) { this.LastActionAgencyLocationID = value; return this; }
public String getOwningAgencyLocationID() { return OwningAgencyLocationID; }
public BookingDetails setOwningAgencyLocationID(String value) { this.OwningAgencyLocationID = value; return this; }
public String getCreatingAgencyIata() { return CreatingAgencyIata; }
public BookingDetails setCreatingAgencyIata(String value) { this.CreatingAgencyIata = value; return this; }
public Integer getCompanyID() { return CompanyID; }
public BookingDetails setCompanyID(Integer value) { this.CompanyID = value; return this; }
public ArrayList<PassengerDetails> getPassengers() { return Passengers; }
public BookingDetails setPassengers(ArrayList<PassengerDetails> value) { this.Passengers = value; return this; }
public ArrayList<BookingPhone> getPhones() { return Phones; }
public BookingDetails setPhones(ArrayList<BookingPhone> value) { this.Phones = value; return this; }
public ArrayList<BookingNotepad> getNotepads() { return Notepads; }
public BookingDetails setNotepads(ArrayList<BookingNotepad> value) { this.Notepads = value; return this; }
public ArrayList<VendorRemark> getVendorRemarks() { return VendorRemarks; }
public BookingDetails setVendorRemarks(ArrayList<VendorRemark> value) { this.VendorRemarks = value; return this; }
public ArrayList<DiEntry> getDiEntries() { return DiEntries; }
public BookingDetails setDiEntries(ArrayList<DiEntry> value) { this.DiEntries = value; return this; }
public ArrayList<BookingTicket> getTickets() { return Tickets; }
public BookingDetails setTickets(ArrayList<BookingTicket> value) { this.Tickets = value; return this; }
public ArrayList<BookingVersion> getVersions() { return Versions; }
public BookingDetails setVersions(ArrayList<BookingVersion> value) { this.Versions = value; return this; }
public ArrayList<BookingVendorLocator> getVendorLocators() { return VendorLocators; }
public BookingDetails setVendorLocators(ArrayList<BookingVendorLocator> value) { this.VendorLocators = value; return this; }
public ArrayList<CustomFieldValue> getCustomFields() { return CustomFields; }
public BookingDetails setCustomFields(ArrayList<CustomFieldValue> value) { this.CustomFields = value; return this; }
public ArrayList<BookingEmail> getEmails() { return Emails; }
public BookingDetails setEmails(ArrayList<BookingEmail> value) { this.Emails = value; return this; }
public ArrayList<BookingEventDetail> getEventDetails() { return EventDetails; }
public BookingDetails setEventDetails(ArrayList<BookingEventDetail> value) { this.EventDetails = value; return this; }
public ArrayList<BookingAccountLocation> getAccountLocations() { return AccountLocations; }
public BookingDetails setAccountLocations(ArrayList<BookingAccountLocation> value) { this.AccountLocations = value; return this; }
public ArrayList<BookingEmailTrail> getEmailTrails() { return EmailTrails; }
public BookingDetails setEmailTrails(ArrayList<BookingEmailTrail> value) { this.EmailTrails = value; return this; }
public ArrayList<BookingDetailsWarning> getAgentivityWarnings() { return AgentivityWarnings; }
public BookingDetails setAgentivityWarnings(ArrayList<BookingDetailsWarning> value) { this.AgentivityWarnings = value; return this; }
public ArrayList<BookingDetailsAirTicketingDue> getAirlineTicketingDues() { return AirlineTicketingDues; }
public BookingDetails setAirlineTicketingDues(ArrayList<BookingDetailsAirTicketingDue> value) { this.AirlineTicketingDues = value; return this; }
public String getCtce() { return CTCE; }
public BookingDetails setCtce(String value) { this.CTCE = value; return this; }
public String getCtcm() { return CTCM; }
public BookingDetails setCtcm(String value) { this.CTCM = value; return this; }
public Double getCarbonTonnage() { return CarbonTonnage; }
public BookingDetails setCarbonTonnage(Double value) { this.CarbonTonnage = value; return this; }
public ArrayList<CarbonEmission> getCarbonEmissions() { return CarbonEmissions; }
public BookingDetails setCarbonEmissions(ArrayList<CarbonEmission> value) { this.CarbonEmissions = value; return this; }
public String getOwningCompanyCode() { return OwningCompanyCode; }
public BookingDetails setOwningCompanyCode(String value) { this.OwningCompanyCode = value; return this; }
public Integer getAgentivityRef() { return AgentivityRef; }
public BookingDetails setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
public ItinerarySegmentsCollection getItinerary() { return Itinerary; }
public BookingDetails setItinerary(ItinerarySegmentsCollection value) { this.Itinerary = value; return this; }
public String getItineraryFormatted() { return ItineraryFormatted; }
public BookingDetails setItineraryFormatted(String value) { this.ItineraryFormatted = value; return this; }
}
@DataContract(Name="Passenger", Namespace="schemas.agentivity.com/types")
public static class PassengerDetails
{
@DataMember(Order=10)
public Integer Id = null;
@DataMember(Order=20)
public String FirstName = null;
@DataMember(Order=30)
public String LastName = null;
@DataMember(Order=40)
public ArrayList<FrequentFlyerDetails> FrequentFlyers = null;
@DataMember(Order=50)
public Integer SequenceNbr = null;
@DataMember(Order=60)
public Integer LastNameElement = null;
@DataMember(Order=70)
public Boolean IsVip = null;
@DataMember(Order=80)
public String TravellerGUID = null;
public Integer getId() { return Id; }
public PassengerDetails setId(Integer value) { this.Id = value; return this; }
public String getFirstName() { return FirstName; }
public PassengerDetails setFirstName(String value) { this.FirstName = value; return this; }
public String getLastName() { return LastName; }
public PassengerDetails setLastName(String value) { this.LastName = value; return this; }
public ArrayList<FrequentFlyerDetails> getFrequentFlyers() { return FrequentFlyers; }
public PassengerDetails setFrequentFlyers(ArrayList<FrequentFlyerDetails> value) { this.FrequentFlyers = value; return this; }
public Integer getSequenceNbr() { return SequenceNbr; }
public PassengerDetails setSequenceNbr(Integer value) { this.SequenceNbr = value; return this; }
public Integer getLastNameElement() { return LastNameElement; }
public PassengerDetails setLastNameElement(Integer value) { this.LastNameElement = value; return this; }
public Boolean getIsVip() { return IsVip; }
public PassengerDetails setIsVip(Boolean value) { this.IsVip = value; return this; }
public String getTravellerGUID() { return TravellerGUID; }
public PassengerDetails setTravellerGUID(String value) { this.TravellerGUID = value; return this; }
}
@DataContract(Name="FrequentFlyer", Namespace="schemas.agentivity.com/types")
public static class FrequentFlyerDetails
{
@DataMember(Order=10)
public String Vendor = null;
@DataMember(Order=20)
public String Number = null;
@DataMember(Order=30)
public String FullNumber = null;
public String getVendor() { return Vendor; }
public FrequentFlyerDetails setVendor(String value) { this.Vendor = value; return this; }
public String getNumber() { return Number; }
public FrequentFlyerDetails setNumber(String value) { this.Number = value; return this; }
public String getFullNumber() { return FullNumber; }
public FrequentFlyerDetails setFullNumber(String value) { this.FullNumber = value; return this; }
}
@DataContract(Name="Phone", Namespace="schemas.agentivity.com/types")
public static class BookingPhone
{
@DataMember(Order=10)
public String PhoneType = null;
@DataMember(Order=20)
public String City = null;
@DataMember(Order=30)
public String Number = null;
@DataMember(Order=40)
public Integer SequenceNbr = null;
public String getPhoneType() { return PhoneType; }
public BookingPhone setPhoneType(String value) { this.PhoneType = value; return this; }
public String getCity() { return City; }
public BookingPhone setCity(String value) { this.City = value; return this; }
public String getNumber() { return Number; }
public BookingPhone setNumber(String value) { this.Number = value; return this; }
public Integer getSequenceNbr() { return SequenceNbr; }
public BookingPhone setSequenceNbr(Integer value) { this.SequenceNbr = value; return this; }
}
@DataContract(Name="Notepad", Namespace="schemas.agentivity.com/types")
public static class BookingNotepad
{
@DataMember(Order=10)
public String Remark = null;
@DataMember(Order=20)
public Date CreatedDate = null;
@DataMember(Order=30)
public String CreatedTime = null;
@DataMember(Order=30)
public String Qualifier = null;
@DataMember(Order=40)
public Integer SequenceNbr = null;
public String getRemark() { return Remark; }
public BookingNotepad setRemark(String value) { this.Remark = value; return this; }
public Date getCreatedDate() { return CreatedDate; }
public BookingNotepad setCreatedDate(Date value) { this.CreatedDate = value; return this; }
public String getCreatedTime() { return CreatedTime; }
public BookingNotepad setCreatedTime(String value) { this.CreatedTime = value; return this; }
public String getQualifier() { return Qualifier; }
public BookingNotepad setQualifier(String value) { this.Qualifier = value; return this; }
public Integer getSequenceNbr() { return SequenceNbr; }
public BookingNotepad setSequenceNbr(Integer value) { this.SequenceNbr = value; return this; }
}
@DataContract(Namespace="schemas.agentivity.com/types")
public static class VendorRemark extends VendorRemarkBase
{
@DataMember
public Integer VendorRemarkID = null;
public Integer getVendorRemarkID() { return VendorRemarkID; }
public VendorRemark setVendorRemarkID(Integer value) { this.VendorRemarkID = value; return this; }
}
@DataContract(Namespace="schemas.agentivity.com/types")
public static class VendorRemarkBase
{
@DataMember
public Integer TravelOrderIdentifier = null;
@DataMember
public Integer RmkNum = null;
@DataMember
public Date DateStamp = null;
@DataMember
public String TimeStamp = null;
@DataMember
public String RemarkType = null;
@DataMember
public String VendorType = null;
@DataMember
public String Vendor = null;
@DataMember
public String Remark = null;
public Integer getTravelOrderIdentifier() { return TravelOrderIdentifier; }
public VendorRemarkBase setTravelOrderIdentifier(Integer value) { this.TravelOrderIdentifier = value; return this; }
public Integer getRmkNum() { return RmkNum; }
public VendorRemarkBase setRmkNum(Integer value) { this.RmkNum = value; return this; }
public Date getDateStamp() { return DateStamp; }
public VendorRemarkBase setDateStamp(Date value) { this.DateStamp = value; return this; }
public String getTimeStamp() { return TimeStamp; }
public VendorRemarkBase setTimeStamp(String value) { this.TimeStamp = value; return this; }
public String getRemarkType() { return RemarkType; }
public VendorRemarkBase setRemarkType(String value) { this.RemarkType = value; return this; }
public String getVendorType() { return VendorType; }
public VendorRemarkBase setVendorType(String value) { this.VendorType = value; return this; }
public String getVendor() { return Vendor; }
public VendorRemarkBase setVendor(String value) { this.Vendor = value; return this; }
public String getRemark() { return Remark; }
public VendorRemarkBase setRemark(String value) { this.Remark = value; return this; }
}
@DataContract(Name="DIEntry", Namespace="schemas.agentivity.com/types")
public static class DiEntry
{
@DataMember(Order=10)
public Integer SequenceNbr = null;
@DataMember(Order=20)
public String Keyword = null;
@DataMember(Order=30)
public String Remark = null;
public Integer getSequenceNbr() { return SequenceNbr; }
public DiEntry setSequenceNbr(Integer value) { this.SequenceNbr = value; return this; }
public String getKeyword() { return Keyword; }
public DiEntry setKeyword(String value) { this.Keyword = value; return this; }
public String getRemark() { return Remark; }
public DiEntry setRemark(String value) { this.Remark = value; return this; }
}
@DataContract(Name="Ticket", Namespace="schemas.agentivity.com/types")
public static class BookingTicket
{
@DataMember(Order=10)
public Integer SegmentNbr = null;
@DataMember(Order=20)
public String TicketNumber = null;
@DataMember(Order=30)
public String TicketType = null;
@DataMember(Order=40)
public Boolean TicketDetailsAvailable = null;
public Integer getSegmentNbr() { return SegmentNbr; }
public BookingTicket setSegmentNbr(Integer value) { this.SegmentNbr = value; return this; }
public String getTicketNumber() { return TicketNumber; }
public BookingTicket setTicketNumber(String value) { this.TicketNumber = value; return this; }
public String getTicketType() { return TicketType; }
public BookingTicket setTicketType(String value) { this.TicketType = value; return this; }
public Boolean isTicketDetailsAvailable() { return TicketDetailsAvailable; }
public BookingTicket setTicketDetailsAvailable(Boolean value) { this.TicketDetailsAvailable = value; return this; }
}
@DataContract(Name="Version", Namespace="schemas.agentivity.com/types")
public static class BookingVersion
{
@DataMember(Order=10)
public Integer AgentivityRef = null;
@DataMember(Order=20)
public Date DataBaseTimeStamp = null;
@DataMember(Order=30)
public String EventType = null;
@DataMember(Order=40)
public String PnrTicketed = null;
@DataMember(Order=50)
public String LastActionAgentId = null;
@DataMember(Order=60)
public Integer AirSegs = null;
@DataMember(Order=70)
public Integer AirPSegs = null;
@DataMember(Order=80)
public Integer HtlSegs = null;
@DataMember(Order=90)
public Integer HtlPSegs = null;
@DataMember(Order=100)
public Integer CarSegs = null;
@DataMember(Order=110)
public Integer CarPSegs = null;
@DataMember(Order=120)
public Integer TrnPSegs = null;
@DataMember(Order=130)
public String OwningAgencyLocationID = null;
public Integer getAgentivityRef() { return AgentivityRef; }
public BookingVersion setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
public Date getDataBaseTimeStamp() { return DataBaseTimeStamp; }
public BookingVersion setDataBaseTimeStamp(Date value) { this.DataBaseTimeStamp = value; return this; }
public String getEventType() { return EventType; }
public BookingVersion setEventType(String value) { this.EventType = value; return this; }
public String getPnrTicketed() { return PnrTicketed; }
public BookingVersion setPnrTicketed(String value) { this.PnrTicketed = value; return this; }
public String getLastActionAgentId() { return LastActionAgentId; }
public BookingVersion setLastActionAgentId(String value) { this.LastActionAgentId = value; return this; }
public Integer getAirSegs() { return AirSegs; }
public BookingVersion setAirSegs(Integer value) { this.AirSegs = value; return this; }
public Integer getAirPSegs() { return AirPSegs; }
public BookingVersion setAirPSegs(Integer value) { this.AirPSegs = value; return this; }
public Integer getHtlSegs() { return HtlSegs; }
public BookingVersion setHtlSegs(Integer value) { this.HtlSegs = value; return this; }
public Integer getHtlPSegs() { return HtlPSegs; }
public BookingVersion setHtlPSegs(Integer value) { this.HtlPSegs = value; return this; }
public Integer getCarSegs() { return CarSegs; }
public BookingVersion setCarSegs(Integer value) { this.CarSegs = value; return this; }
public Integer getCarPSegs() { return CarPSegs; }
public BookingVersion setCarPSegs(Integer value) { this.CarPSegs = value; return this; }
public Integer getTrnPSegs() { return TrnPSegs; }
public BookingVersion setTrnPSegs(Integer value) { this.TrnPSegs = value; return this; }
public String getOwningAgencyLocationID() { return OwningAgencyLocationID; }
public BookingVersion setOwningAgencyLocationID(String value) { this.OwningAgencyLocationID = value; return this; }
}
@DataContract(Name="VendorLocator", Namespace="schemas.agentivity.com/types")
public static class BookingVendorLocator
{
@DataMember(Order=10)
public Integer AirSegmentNbr = null;
@DataMember(Order=20)
public String CarrierCode = null;
@DataMember(Order=30)
public String VendorLocator = null;
public Integer getAirSegmentNbr() { return AirSegmentNbr; }
public BookingVendorLocator setAirSegmentNbr(Integer value) { this.AirSegmentNbr = value; return this; }
public String getCarrierCode() { return CarrierCode; }
public BookingVendorLocator setCarrierCode(String value) { this.CarrierCode = value; return this; }
public String getVendorLocator() { return VendorLocator; }
public BookingVendorLocator setVendorLocator(String value) { this.VendorLocator = value; return this; }
}
@DataContract(Name="CustomFieldValue", Namespace="schemas.agentivity.com/types")
public static class CustomFieldValue
{
@DataMember(Order=10)
public String PNRPropertiesCustomFieldID = null;
@DataMember(Order=20)
public String RecordLocator = null;
@DataMember(Order=30)
public Date PNRCreationDate = null;
@DataMember(Order=40)
public String FieldName = null;
@DataMember(Order=50)
public String FieldValue = null;
@DataMember(Order=60)
public Integer CustomFieldID = null;
@DataMember(Order=70)
public Date CreationDateTime = null;
@DataMember(Order=80)
public Integer ElementNumber = null;
@DataMember(Order=90)
public String GDS = null;
public String getPnrPropertiesCustomFieldID() { return PNRPropertiesCustomFieldID; }
public CustomFieldValue setPnrPropertiesCustomFieldID(String value) { this.PNRPropertiesCustomFieldID = value; return this; }
public String getRecordLocator() { return RecordLocator; }
public CustomFieldValue setRecordLocator(String value) { this.RecordLocator = value; return this; }
public Date getPnrCreationDate() { return PNRCreationDate; }
public CustomFieldValue setPnrCreationDate(Date value) { this.PNRCreationDate = value; return this; }
public String getFieldName() { return FieldName; }
public CustomFieldValue setFieldName(String value) { this.FieldName = value; return this; }
public String getFieldValue() { return FieldValue; }
public CustomFieldValue setFieldValue(String value) { this.FieldValue = value; return this; }
public Integer getCustomFieldID() { return CustomFieldID; }
public CustomFieldValue setCustomFieldID(Integer value) { this.CustomFieldID = value; return this; }
public Date getCreationDateTime() { return CreationDateTime; }
public CustomFieldValue setCreationDateTime(Date value) { this.CreationDateTime = value; return this; }
public Integer getElementNumber() { return ElementNumber; }
public CustomFieldValue setElementNumber(Integer value) { this.ElementNumber = value; return this; }
public String getGds() { return GDS; }
public CustomFieldValue setGds(String value) { this.GDS = value; return this; }
}
@DataContract(Name="Email", Namespace="schemas.agentivity.com/types")
public static class BookingEmail
{
@DataMember(Order=10)
public Integer SequenceNbr = null;
@DataMember(Order=20)
public String EmailType = null;
@DataMember(Order=30)
public String Email = null;
public Integer getSequenceNbr() { return SequenceNbr; }
public BookingEmail setSequenceNbr(Integer value) { this.SequenceNbr = value; return this; }
public String getEmailType() { return EmailType; }
public BookingEmail setEmailType(String value) { this.EmailType = value; return this; }
public String getEmail() { return Email; }
public BookingEmail setEmail(String value) { this.Email = value; return this; }
}
@DataContract(Name="EventDetail", Namespace="schemas.agentivity.com/types")
public static class BookingEventDetail
{
@DataMember(Order=10)
public Integer ItineraryEventTypeDetailID = null;
@DataMember(Order=20)
public Integer AgentivityRef = null;
@DataMember(Order=30)
public String EventTypeDetail = null;
@DataMember(Order=40)
public String OldData = null;
@DataMember(Order=50)
public String NewData = null;
@DataMember(Order=60)
public Date DateTimeStamp = null;
@DataMember(Order=70)
public Integer EventTypeDetailID = null;
public Integer getItineraryEventTypeDetailID() { return ItineraryEventTypeDetailID; }
public BookingEventDetail setItineraryEventTypeDetailID(Integer value) { this.ItineraryEventTypeDetailID = value; return this; }
public Integer getAgentivityRef() { return AgentivityRef; }
public BookingEventDetail setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
public String getEventTypeDetail() { return EventTypeDetail; }
public BookingEventDetail setEventTypeDetail(String value) { this.EventTypeDetail = value; return this; }
public String getOldData() { return OldData; }
public BookingEventDetail setOldData(String value) { this.OldData = value; return this; }
public String getNewData() { return NewData; }
public BookingEventDetail setNewData(String value) { this.NewData = value; return this; }
public Date getDateTimeStamp() { return DateTimeStamp; }
public BookingEventDetail setDateTimeStamp(Date value) { this.DateTimeStamp = value; return this; }
public Integer getEventTypeDetailID() { return EventTypeDetailID; }
public BookingEventDetail setEventTypeDetailID(Integer value) { this.EventTypeDetailID = value; return this; }
}
@DataContract(Name="AccountLocation", Namespace="schemas.agentivity.com/types")
public static class BookingAccountLocation
{
@DataMember(Order=10)
public String PrimaryAccountLocation = null;
@DataMember(Order=20)
public String SecondaryAccountLocation = null;
@DataMember(Order=30)
public Boolean Valid = null;
@DataMember(Order=40)
public Boolean ExactMatch = null;
@DataMember(Order=50)
public String GDS = null;
public String getPrimaryAccountLocation() { return PrimaryAccountLocation; }
public BookingAccountLocation setPrimaryAccountLocation(String value) { this.PrimaryAccountLocation = value; return this; }
public String getSecondaryAccountLocation() { return SecondaryAccountLocation; }
public BookingAccountLocation setSecondaryAccountLocation(String value) { this.SecondaryAccountLocation = value; return this; }
public Boolean isValid() { return Valid; }
public BookingAccountLocation setValid(Boolean value) { this.Valid = value; return this; }
public Boolean isExactMatch() { return ExactMatch; }
public BookingAccountLocation setExactMatch(Boolean value) { this.ExactMatch = value; return this; }
public String getGds() { return GDS; }
public BookingAccountLocation setGds(String value) { this.GDS = value; return this; }
}
@DataContract(Name="BookingEmailTrail", Namespace="schemas.agentivity.com/types")
public static class BookingEmailTrail
{
@DataMember(Order=10)
public String RecipientEmail = null;
@DataMember(Order=20)
public String DeliveryDetails = null;
@DataMember(Order=30)
public Date MailSentDateTime = null;
@DataMember(Order=40)
public String RecipientLastActivityEvent = null;
@DataMember(Order=50)
public Integer EmailId = null;
@DataMember(Order=60)
public Integer UserId = null;
@DataMember(Order=70)
public String SentResponseMessage = null;
@DataMember(Order=80)
public Integer SentResponseErrorCode = null;
@DataMember(Order=90)
public Integer DeliveredBookingID = null;
public String getRecipientEmail() { return RecipientEmail; }
public BookingEmailTrail setRecipientEmail(String value) { this.RecipientEmail = value; return this; }
public String getDeliveryDetails() { return DeliveryDetails; }
public BookingEmailTrail setDeliveryDetails(String value) { this.DeliveryDetails = value; return this; }
public Date getMailSentDateTime() { return MailSentDateTime; }
public BookingEmailTrail setMailSentDateTime(Date value) { this.MailSentDateTime = value; return this; }
public String getRecipientLastActivityEvent() { return RecipientLastActivityEvent; }
public BookingEmailTrail setRecipientLastActivityEvent(String value) { this.RecipientLastActivityEvent = value; return this; }
public Integer getEmailId() { return EmailId; }
public BookingEmailTrail setEmailId(Integer value) { this.EmailId = value; return this; }
public Integer getUserId() { return UserId; }
public BookingEmailTrail setUserId(Integer value) { this.UserId = value; return this; }
public String getSentResponseMessage() { return SentResponseMessage; }
public BookingEmailTrail setSentResponseMessage(String value) { this.SentResponseMessage = value; return this; }
public Integer getSentResponseErrorCode() { return SentResponseErrorCode; }
public BookingEmailTrail setSentResponseErrorCode(Integer value) { this.SentResponseErrorCode = value; return this; }
public Integer getDeliveredBookingID() { return DeliveredBookingID; }
public BookingEmailTrail setDeliveredBookingID(Integer value) { this.DeliveredBookingID = value; return this; }
}
@DataContract(Name="Warning", Namespace="schemas.agentivity.com/types")
public static class BookingDetailsWarning
{
@DataMember(Order=10)
public String Message = null;
@DataMember(Order=20)
public String Vendor = null;
@DataMember(Order=30)
public Date WarningDateTime = null;
@DataMember(Order=40)
public String OriginalRemark = null;
@DataMember(Order=50)
public Date ClearedDateTime = null;
@DataMember(Order=60)
public String ClearedByConsultantID = null;
@DataMember(Order=70)
public ArrayList<BookingWarningProperty> PropertiesList = null;
public String getMessage() { return Message; }
public BookingDetailsWarning setMessage(String value) { this.Message = value; return this; }
public String getVendor() { return Vendor; }
public BookingDetailsWarning setVendor(String value) { this.Vendor = value; return this; }
public Date getWarningDateTime() { return WarningDateTime; }
public BookingDetailsWarning setWarningDateTime(Date value) { this.WarningDateTime = value; return this; }
public String getOriginalRemark() { return OriginalRemark; }
public BookingDetailsWarning setOriginalRemark(String value) { this.OriginalRemark = value; return this; }
public Date getClearedDateTime() { return ClearedDateTime; }
public BookingDetailsWarning setClearedDateTime(Date value) { this.ClearedDateTime = value; return this; }
public String getClearedByConsultantID() { return ClearedByConsultantID; }
public BookingDetailsWarning setClearedByConsultantID(String value) { this.ClearedByConsultantID = value; return this; }
public ArrayList<BookingWarningProperty> getPropertiesList() { return PropertiesList; }
public BookingDetailsWarning setPropertiesList(ArrayList<BookingWarningProperty> value) { this.PropertiesList = value; return this; }
}
@DataContract(Name="Property", Namespace="schemas.agentivity.com/types")
public static class BookingWarningProperty
{
@DataMember(Order=10)
public String Name = null;
@DataMember(Order=20)
public String Value = null;
public String getName() { return Name; }
public BookingWarningProperty setName(String value) { this.Name = value; return this; }
public String getValue() { return Value; }
public BookingWarningProperty setValue(String value) { this.Value = value; return this; }
}
@DataContract(Name="TicketingDue", Namespace="schemas.agentivity.com/types")
public static class BookingDetailsAirTicketingDue
{
@DataMember(Order=10)
public String Airline = null;
@DataMember(Order=20)
public Date DueDate = null;
@DataMember(Order=30)
public String DueTime = null;
public String getAirline() { return Airline; }
public BookingDetailsAirTicketingDue setAirline(String value) { this.Airline = value; return this; }
public Date getDueDate() { return DueDate; }
public BookingDetailsAirTicketingDue setDueDate(Date value) { this.DueDate = value; return this; }
public String getDueTime() { return DueTime; }
public BookingDetailsAirTicketingDue setDueTime(String value) { this.DueTime = value; return this; }
}
@DataContract(Name="CarbonEmission", Namespace="schemas.agentivity.com/types")
public static class CarbonEmission
{
@DataMember(Order=10)
public Double Value = null;
@DataMember(Order=20)
public MeasurementUnit Unit = null;
@DataMember(Order=30)
public AssessmentProvider Provider = null;
@DataMember(Order=40)
public Date CalculationDateTime = null;
@DataMember(Order=50)
public CarbonCalculationDetails CalculationDetails = null;
public Double getValue() { return Value; }
public CarbonEmission setValue(Double value) { this.Value = value; return this; }
public MeasurementUnit getUnit() { return Unit; }
public CarbonEmission setUnit(MeasurementUnit value) { this.Unit = value; return this; }
public AssessmentProvider getProvider() { return Provider; }
public CarbonEmission setProvider(AssessmentProvider value) { this.Provider = value; return this; }
public Date getCalculationDateTime() { return CalculationDateTime; }
public CarbonEmission setCalculationDateTime(Date value) { this.CalculationDateTime = value; return this; }
public CarbonCalculationDetails getCalculationDetails() { return CalculationDetails; }
public CarbonEmission setCalculationDetails(CarbonCalculationDetails value) { this.CalculationDetails = value; return this; }
}
@DataContract(Name="MeasurementUnit", Namespace="schemas.agentivity.com/types")
public static class MeasurementUnit
{
@DataMember(Order=10)
public Short Id = null;
@DataMember(Order=20)
public String Symbol = null;
@DataMember(Order=30)
public String Name = null;
public Short getId() { return Id; }
public MeasurementUnit setId(Short value) { this.Id = value; return this; }
public String getSymbol() { return Symbol; }
public MeasurementUnit setSymbol(String value) { this.Symbol = value; return this; }
public String getName() { return Name; }
public MeasurementUnit setName(String value) { this.Name = value; return this; }
}
@DataContract(Name="AssessmentProvider", Namespace="schemas.agentivity.com/types")
public static class AssessmentProvider
{
@DataMember(Order=10)
public Short Id = null;
@DataMember(Order=20)
public String Name = null;
@DataMember(Order=30)
public String Description = null;
@DataMember(Order=40)
public String LogoPath = null;
public Short getId() { return Id; }
public AssessmentProvider setId(Short value) { this.Id = value; return this; }
public String getName() { return Name; }
public AssessmentProvider setName(String value) { this.Name = value; return this; }
public String getDescription() { return Description; }
public AssessmentProvider setDescription(String value) { this.Description = value; return this; }
public String getLogoPath() { return LogoPath; }
public AssessmentProvider setLogoPath(String value) { this.LogoPath = value; return this; }
}
@DataContract(Name="CarbonCalculationDetails", Namespace="schemas.agentivity.com/types")
public static class CarbonCalculationDetails
{
@DataMember(Order=10)
public Short Id = null;
@DataMember(Order=20)
public String Name = null;
public Short getId() { return Id; }
public CarbonCalculationDetails setId(Short value) { this.Id = value; return this; }
public String getName() { return Name; }
public CarbonCalculationDetails setName(String value) { this.Name = value; return this; }
}
public static class ItinerarySegmentsCollection extends ArrayList<ItinerarySegment>
{
}
@DataContract(Name="ItinerarySegment", Namespace="schemas.agentivity.com/types")
public static class ItinerarySegment
{
@DataMember
public String SegmentType = null;
@DataMember
public Integer SegmentNbr = null;
@DataMember
public String BoardPoint = null;
@DataMember
public String OffPoint = null;
@DataMember
public String OperatorCode = null;
@DataMember
public String OperatorService = null;
@DataMember
public String SegmentStatus = null;
@DataMember
public String DepartureTimeFormatted = null;
@DataMember
public String ArrivalTimeFormatted = null;
@DataMember
public String ChangeOfDayFormatted = null;
@DataMember
public String ServiceCode = null;
@DataMember
public String StartDate = null;
@DataMember
public String EndDate = null;
@DataMember
public String TicketNumber = null;
/**
* Comma separated list of vendor locators
*/
@DataMember
public String VendorLocators = null;
@DataMember
public String EquipmentCode = null;
@DataMember
public String Equipment = null;
public String getSegmentType() { return SegmentType; }
public ItinerarySegment setSegmentType(String value) { this.SegmentType = value; return this; }
public Integer getSegmentNbr() { return SegmentNbr; }
public ItinerarySegment setSegmentNbr(Integer value) { this.SegmentNbr = value; return this; }
public String getBoardPoint() { return BoardPoint; }
public ItinerarySegment setBoardPoint(String value) { this.BoardPoint = value; return this; }
public String getOffPoint() { return OffPoint; }
public ItinerarySegment setOffPoint(String value) { this.OffPoint = value; return this; }
public String getOperatorCode() { return OperatorCode; }
public ItinerarySegment setOperatorCode(String value) { this.OperatorCode = value; return this; }
public String getOperatorService() { return OperatorService; }
public ItinerarySegment setOperatorService(String value) { this.OperatorService = value; return this; }
public String getSegmentStatus() { return SegmentStatus; }
public ItinerarySegment setSegmentStatus(String value) { this.SegmentStatus = value; return this; }
public String getDepartureTimeFormatted() { return DepartureTimeFormatted; }
public ItinerarySegment setDepartureTimeFormatted(String value) { this.DepartureTimeFormatted = value; return this; }
public String getArrivalTimeFormatted() { return ArrivalTimeFormatted; }
public ItinerarySegment setArrivalTimeFormatted(String value) { this.ArrivalTimeFormatted = value; return this; }
public String getChangeOfDayFormatted() { return ChangeOfDayFormatted; }
public ItinerarySegment setChangeOfDayFormatted(String value) { this.ChangeOfDayFormatted = value; return this; }
public String getServiceCode() { return ServiceCode; }
public ItinerarySegment setServiceCode(String value) { this.ServiceCode = value; return this; }
public String getStartDate() { return StartDate; }
public ItinerarySegment setStartDate(String value) { this.StartDate = value; return this; }
public String getEndDate() { return EndDate; }
public ItinerarySegment setEndDate(String value) { this.EndDate = value; return this; }
public String getTicketNumber() { return TicketNumber; }
public ItinerarySegment setTicketNumber(String value) { this.TicketNumber = value; return this; }
public String getVendorLocators() { return VendorLocators; }
public ItinerarySegment setVendorLocators(String value) { this.VendorLocators = value; return this; }
public String getEquipmentCode() { return EquipmentCode; }
public ItinerarySegment setEquipmentCode(String value) { this.EquipmentCode = value; return this; }
public String getEquipment() { return Equipment; }
public ItinerarySegment setEquipment(String value) { this.Equipment = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /BookingDetails HTTP/1.1 Host: api.agentivity.com Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"ResponseMetadata":{"Success":false,"HasCache":false,"HasPaging":false,"CacheMetadata":{"IsFromCache":false,"CachedAt":"\/Date(-62135596800000-0000)\/","CacheExpiresAt":"\/Date(-62135596800000-0000)\/"},"PagingMetadata":{"Offset":"String","Limit":"String","TotalRecords":0,"ResponseRecords":0}},"ResponseReport":[{"AgentivityRef":0,"RecordLocator":"String","PNRCreationDate":"String","CreationDate":"\/Date(-62135596800000-0000)\/","PNRTicketed":"String","Account":"String","OwningConsultantID":"String","OwningConsultant":"String","CrsDescription":"String","LastActionConsultantID":"String","LastActionAgencyLocationID":"String","OwningAgencyLocationID":"String","CreatingAgencyIata":"String","CompanyID":0,"Passengers":[{"Id":0,"FirstName":"String","LastName":"String","FrequentFlyers":[{"Vendor":"String","Number":"String","FullNumber":"String"}],"SequenceNbr":0,"LastNameElement":0,"IsVip":false,"TravellerGUID":"String"}],"Phones":[{"PhoneType":"String","City":"String","Number":"String","SequenceNbr":0}],"Notepads":[{"Remark":"String","CreatedDate":"\/Date(-62135596800000-0000)\/","CreatedTime":"String","Qualifier":"String","SequenceNbr":0}],"VendorRemarks":[{"VendorRemarkID":0,"TravelOrderIdentifier":0,"RmkNum":0,"DateStamp":"\/Date(-62135596800000-0000)\/","TimeStamp":"String","RemarkType":"String","VendorType":"String","Vendor":"String","Remark":"String"}],"DiEntries":[{"SequenceNbr":0,"Keyword":"String","Remark":"String"}],"Tickets":[{"SegmentNbr":0,"TicketNumber":"String","TicketType":"String","TicketDetailsAvailable":false}],"Versions":[{"AgentivityRef":0,"DataBaseTimeStamp":"\/Date(-62135596800000-0000)\/","EventType":"String","PnrTicketed":"String","LastActionAgentId":"String","AirSegs":0,"AirPSegs":0,"HtlSegs":0,"HtlPSegs":0,"CarSegs":0,"CarPSegs":0,"TrnPSegs":0,"OwningAgencyLocationID":"String"}],"VendorLocators":[{"AirSegmentNbr":0,"CarrierCode":"String","VendorLocator":"String"}],"CustomFields":[{"PNRPropertiesCustomFieldID":"String","RecordLocator":"String","PNRCreationDate":"\/Date(-62135596800000-0000)\/","FieldName":"String","FieldValue":"String","CustomFieldID":0,"CreationDateTime":"\/Date(-62135596800000-0000)\/","ElementNumber":0,"GDS":"String"}],"Emails":[{"SequenceNbr":0,"EmailType":"String","Email":"String"}],"EventDetails":[{"ItineraryEventTypeDetailID":0,"AgentivityRef":0,"EventTypeDetail":"String","OldData":"String","NewData":"String","DateTimeStamp":"\/Date(-62135596800000-0000)\/","EventTypeDetailID":0}],"AccountLocations":[{"PrimaryAccountLocation":"String","SecondaryAccountLocation":"String","Valid":false,"ExactMatch":false,"GDS":"String"}],"EmailTrails":[{"RecipientEmail":"String","DeliveryDetails":"String","MailSentDateTime":"\/Date(-62135596800000-0000)\/","RecipientLastActivityEvent":"String","EmailId":0,"UserId":0,"SentResponseMessage":"String","SentResponseErrorCode":0,"DeliveredBookingID":0}],"AgentivityWarnings":[{"Message":"String","Vendor":"String","WarningDateTime":"\/Date(-62135596800000-0000)\/","OriginalRemark":"String","ClearedDateTime":"\/Date(-62135596800000-0000)\/","ClearedByConsultantID":"String","PropertiesList":[{"Name":"String","Value":"String"}]}],"AirlineTicketingDues":[{"Airline":"String","DueDate":"\/Date(-62135596800000-0000)\/","DueTime":"String"}],"CTCE":"String","CTCM":"String","CarbonTonnage":0,"CarbonEmissions":[{"Value":0,"Unit":{"Id":0,"Symbol":"String","Name":"String"},"Provider":{"Id":0,"Name":"String","Description":"String","LogoPath":"String"},"CalculationDateTime":"\/Date(-62135596800000-0000)\/","CalculationDetails":{"Id":0,"Name":"String"}}],"OwningCompanyCode":"String","Itinerary":[{"SegmentType":"String","SegmentNbr":0,"BoardPoint":"String","OffPoint":"String","OperatorCode":"String","OperatorService":"String","SegmentStatus":"String","DepartureTimeFormatted":"String","ArrivalTimeFormatted":"String","ChangeOfDayFormatted":"String","ServiceCode":"String","StartDate":"String","EndDate":"String","TicketNumber":"String","VendorLocators":"String","EquipmentCode":"String","Equipment":"String"}],"ItineraryFormatted":"String"}],"ResponseError":{"ErrorCode":"String","Message":"String","StatusCode":"String","VerboseMessage":"String"}}