Agentivity API

<back to all web services

GetConsultantFocus

The following routes are available for this service:
All Verbs/ConsultantFocus
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 GetConsultantFocus extends CompanyLevelRequestBase implements IRequestConsultantID
    {
        /**
        * Date in format YYYYMMDD
        */
        @DataMember
        public String DateStart = null;

        /**
        * Date in format YYYYMMDD
        */
        @DataMember
        public String DateEnd = null;

        /**
        * Comma delimited list of owning consultants ids
        */
        @DataMember
        public ArrayList<String> OwningConsultantID = new ArrayList<String>();

        /**
        * Comma delimited list of transaction agency location ids
        */
        @DataMember
        public ArrayList<String> TransactionAgencyLocationID = null;

        /**
        * Options to retrieve consultant focus data. Use All to include the Active Unsold Air Bookings.
        */
        @DataMember
        public ConsultantFocusOptions Options = null;

        /**
        * Request Consultant ID (sign on)
        */
        @DataMember
        public String RequestConsultantID = null;
        
        public String getDateStart() { return DateStart; }
        public GetConsultantFocus setDateStart(String value) { this.DateStart = value; return this; }
        public String getDateEnd() { return DateEnd; }
        public GetConsultantFocus setDateEnd(String value) { this.DateEnd = value; return this; }
        public ArrayList<String> getOwningConsultantID() { return OwningConsultantID; }
        public GetConsultantFocus setOwningConsultantID(ArrayList<String> value) { this.OwningConsultantID = value; return this; }
        public ArrayList<String> getTransactionAgencyLocationID() { return TransactionAgencyLocationID; }
        public GetConsultantFocus setTransactionAgencyLocationID(ArrayList<String> value) { this.TransactionAgencyLocationID = value; return this; }
        public ConsultantFocusOptions getOptions() { return Options; }
        public GetConsultantFocus setOptions(ConsultantFocusOptions value) { this.Options = value; return this; }
        public String getRequestConsultantID() { return RequestConsultantID; }
        public GetConsultantFocus 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 ConsultantFocusOptions
    {
        @SerializedName("0") Default(0),
        @SerializedName("1") ProblematicSegments(1),
        @SerializedName("2") AirlineDemandsForTicketing(2),
        @SerializedName("3") Standard(3),
        @SerializedName("4") ActiveUnsoldAirBookings(4),
        @SerializedName("8") BookingsWithWarnings(8),
        @SerializedName("15") All(15);

        private final int value;
        ConsultantFocusOptions(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

    @DataContract(Name="AgentivityResponse", Namespace="schemas.agentivity.com/types")
    public static class GetConsultantFocusResponse extends CollectionResponse<ConsultantFocusResult>
    {
        
    }

    @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="ConsultantFocusResult", Namespace="schemas.agentivity.com/types")
    public static class ConsultantFocusResult
    {
        @DataMember(Order=10)
        public ArrayList<ProblematicSegment> ProblematicSegments = null;

        @DataMember(Order=20)
        public ArrayList<AirlineDemandsForTicketing> AirlineDemandsForTicketing = null;

        @DataMember(Order=30)
        public ArrayList<ActiveUnsoldAirBookings> ActiveUnsoldAirBookings = null;

        @DataMember(Order=40)
        public ArrayList<BookingWithWarnings> BookingsWithWarnings = null;
        
        public ArrayList<ProblematicSegment> getProblematicSegments() { return ProblematicSegments; }
        public ConsultantFocusResult setProblematicSegments(ArrayList<ProblematicSegment> value) { this.ProblematicSegments = value; return this; }
        public ArrayList<AirlineDemandsForTicketing> getAirlineDemandsForTicketing() { return AirlineDemandsForTicketing; }
        public ConsultantFocusResult setAirlineDemandsForTicketing(ArrayList<AirlineDemandsForTicketing> value) { this.AirlineDemandsForTicketing = value; return this; }
        public ArrayList<ActiveUnsoldAirBookings> getActiveUnsoldAirBookings() { return ActiveUnsoldAirBookings; }
        public ConsultantFocusResult setActiveUnsoldAirBookings(ArrayList<ActiveUnsoldAirBookings> value) { this.ActiveUnsoldAirBookings = value; return this; }
        public ArrayList<BookingWithWarnings> getBookingsWithWarnings() { return BookingsWithWarnings; }
        public ConsultantFocusResult setBookingsWithWarnings(ArrayList<BookingWithWarnings> value) { this.BookingsWithWarnings = value; return this; }
    }

    @DataContract(Name="ProblematicSegment", Namespace="schemas.agentivity.com/types")
    public static class ProblematicSegment
    {
        @DataMember(Order=10)
        public String RecordLocator = null;

        @DataMember(Order=15)
        public Date PNRCreationDate = null;

        @DataMember(Order=20)
        public String OwningConsultantID = null;

        @DataMember(Order=25)
        public String OwningConsultant = null;

        @DataMember(Order=30)
        public String PrimaryPax = null;

        @DataMember(Order=50)
        public String Account = null;

        @DataMember(Order=60)
        public String SegmentStatus = null;

        @DataMember(Order=70)
        public String Segment = null;

        @DataMember(Order=80)
        public String OwningAgencyLocationID = null;

        @DataMember(Order=90)
        public String GdsCode = null;

        @DataMember(Order=100)
        public Date DepartureDate = null;

        @DataMember(Order=110)
        public String AgentivityRef = null;
        
        public String getRecordLocator() { return RecordLocator; }
        public ProblematicSegment setRecordLocator(String value) { this.RecordLocator = value; return this; }
        public Date getPnrCreationDate() { return PNRCreationDate; }
        public ProblematicSegment setPnrCreationDate(Date value) { this.PNRCreationDate = value; return this; }
        public String getOwningConsultantID() { return OwningConsultantID; }
        public ProblematicSegment setOwningConsultantID(String value) { this.OwningConsultantID = value; return this; }
        public String getOwningConsultant() { return OwningConsultant; }
        public ProblematicSegment setOwningConsultant(String value) { this.OwningConsultant = value; return this; }
        public String getPrimaryPax() { return PrimaryPax; }
        public ProblematicSegment setPrimaryPax(String value) { this.PrimaryPax = value; return this; }
        public String getAccount() { return Account; }
        public ProblematicSegment setAccount(String value) { this.Account = value; return this; }
        public String getSegmentStatus() { return SegmentStatus; }
        public ProblematicSegment setSegmentStatus(String value) { this.SegmentStatus = value; return this; }
        public String getSegment() { return Segment; }
        public ProblematicSegment setSegment(String value) { this.Segment = value; return this; }
        public String getOwningAgencyLocationID() { return OwningAgencyLocationID; }
        public ProblematicSegment setOwningAgencyLocationID(String value) { this.OwningAgencyLocationID = value; return this; }
        public String getGdsCode() { return GdsCode; }
        public ProblematicSegment setGdsCode(String value) { this.GdsCode = value; return this; }
        public Date getDepartureDate() { return DepartureDate; }
        public ProblematicSegment setDepartureDate(Date value) { this.DepartureDate = value; return this; }
        public String getAgentivityRef() { return AgentivityRef; }
        public ProblematicSegment setAgentivityRef(String value) { this.AgentivityRef = value; return this; }
    }

    @DataContract(Name="AirlineDemandsForTicketing", Namespace="schemas.agentivity.com/types")
    public static class AirlineDemandsForTicketing
    {
        @DataMember(Order=10)
        public String RecordLocator = null;

        @DataMember(Order=15)
        public Date PNRCreationDate = null;

        @DataMember(Order=20)
        public String PrimaryPax = null;

        @DataMember(Order=30)
        public String OwningConsultantID = null;

        @DataMember(Order=35)
        public String OwningConsultant = null;

        @DataMember(Order=40)
        public String Account = null;

        @DataMember(Order=50)
        public String AirlineCode = null;

        @DataMember(Order=55)
        public Date DueDate = null;

        @DataMember(Order=60)
        public String DueTime = null;

        @DataMember(Order=70)
        public String OwningAgencyLocationID = null;

        @DataMember(Order=80)
        public String GdsCode = null;

        @DataMember(Order=90)
        public Integer AgentivityRef = null;
        
        public String getRecordLocator() { return RecordLocator; }
        public AirlineDemandsForTicketing setRecordLocator(String value) { this.RecordLocator = value; return this; }
        public Date getPnrCreationDate() { return PNRCreationDate; }
        public AirlineDemandsForTicketing setPnrCreationDate(Date value) { this.PNRCreationDate = value; return this; }
        public String getPrimaryPax() { return PrimaryPax; }
        public AirlineDemandsForTicketing setPrimaryPax(String value) { this.PrimaryPax = value; return this; }
        public String getOwningConsultantID() { return OwningConsultantID; }
        public AirlineDemandsForTicketing setOwningConsultantID(String value) { this.OwningConsultantID = value; return this; }
        public String getOwningConsultant() { return OwningConsultant; }
        public AirlineDemandsForTicketing setOwningConsultant(String value) { this.OwningConsultant = value; return this; }
        public String getAccount() { return Account; }
        public AirlineDemandsForTicketing setAccount(String value) { this.Account = value; return this; }
        public String getAirlineCode() { return AirlineCode; }
        public AirlineDemandsForTicketing setAirlineCode(String value) { this.AirlineCode = value; return this; }
        public Date getDueDate() { return DueDate; }
        public AirlineDemandsForTicketing setDueDate(Date value) { this.DueDate = value; return this; }
        public String getDueTime() { return DueTime; }
        public AirlineDemandsForTicketing setDueTime(String value) { this.DueTime = value; return this; }
        public String getOwningAgencyLocationID() { return OwningAgencyLocationID; }
        public AirlineDemandsForTicketing setOwningAgencyLocationID(String value) { this.OwningAgencyLocationID = value; return this; }
        public String getGdsCode() { return GdsCode; }
        public AirlineDemandsForTicketing setGdsCode(String value) { this.GdsCode = value; return this; }
        public Integer getAgentivityRef() { return AgentivityRef; }
        public AirlineDemandsForTicketing setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
    }

    @DataContract(Name="ActiveUnsoldAirBookings", Namespace="schemas.agentivity.com/types")
    public static class ActiveUnsoldAirBookings implements IBookingItinerary
    {
        @DataMember(Order=10)
        public String RecordLocator = null;

        @DataMember(Order=20)
        public Date PNRCreationDate = null;

        @DataMember(Order=30)
        public String OwningAgencyLocationID = null;

        @DataMember(Order=35)
        public String GdsCode = null;

        @DataMember(Order=40)
        public String PrimaryPax = null;

        @DataMember(Order=50)
        public String OwningConsultant = null;

        @DataMember(Order=55)
        public String OwningConsultantID = null;

        @DataMember(Order=60)
        public String Account = null;

        @DataMember(Order=100)
        public String PrimaryCarrierCode = null;

        @DataMember(Order=110)
        public String FiledFare = null;

        @DataMember(Order=120)
        public Date TravelDate = null;

        @DataMember(Order=130)
        public String DestinationCities = null;

        @DataMember(Order=140)
        public String BookingClasses = null;

        @DataMember(Order=90)
        public Integer AgentivityRef = null;

        @DataMember(Order=200)
        public ItinerarySegmentsCollection Itinerary = null;

        @DataMember(Order=210)
        public String ItineraryFormatted = null;
        
        public String getRecordLocator() { return RecordLocator; }
        public ActiveUnsoldAirBookings setRecordLocator(String value) { this.RecordLocator = value; return this; }
        public Date getPnrCreationDate() { return PNRCreationDate; }
        public ActiveUnsoldAirBookings setPnrCreationDate(Date value) { this.PNRCreationDate = value; return this; }
        public String getOwningAgencyLocationID() { return OwningAgencyLocationID; }
        public ActiveUnsoldAirBookings setOwningAgencyLocationID(String value) { this.OwningAgencyLocationID = value; return this; }
        public String getGdsCode() { return GdsCode; }
        public ActiveUnsoldAirBookings setGdsCode(String value) { this.GdsCode = value; return this; }
        public String getPrimaryPax() { return PrimaryPax; }
        public ActiveUnsoldAirBookings setPrimaryPax(String value) { this.PrimaryPax = value; return this; }
        public String getOwningConsultant() { return OwningConsultant; }
        public ActiveUnsoldAirBookings setOwningConsultant(String value) { this.OwningConsultant = value; return this; }
        public String getOwningConsultantID() { return OwningConsultantID; }
        public ActiveUnsoldAirBookings setOwningConsultantID(String value) { this.OwningConsultantID = value; return this; }
        public String getAccount() { return Account; }
        public ActiveUnsoldAirBookings setAccount(String value) { this.Account = value; return this; }
        public String getPrimaryCarrierCode() { return PrimaryCarrierCode; }
        public ActiveUnsoldAirBookings setPrimaryCarrierCode(String value) { this.PrimaryCarrierCode = value; return this; }
        public String getFiledFare() { return FiledFare; }
        public ActiveUnsoldAirBookings setFiledFare(String value) { this.FiledFare = value; return this; }
        public Date getTravelDate() { return TravelDate; }
        public ActiveUnsoldAirBookings setTravelDate(Date value) { this.TravelDate = value; return this; }
        public String getDestinationCities() { return DestinationCities; }
        public ActiveUnsoldAirBookings setDestinationCities(String value) { this.DestinationCities = value; return this; }
        public String getBookingClasses() { return BookingClasses; }
        public ActiveUnsoldAirBookings setBookingClasses(String value) { this.BookingClasses = value; return this; }
        public Integer getAgentivityRef() { return AgentivityRef; }
        public ActiveUnsoldAirBookings setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
        public ItinerarySegmentsCollection getItinerary() { return Itinerary; }
        public ActiveUnsoldAirBookings setItinerary(ItinerarySegmentsCollection value) { this.Itinerary = value; return this; }
        public String getItineraryFormatted() { return ItineraryFormatted; }
        public ActiveUnsoldAirBookings setItineraryFormatted(String value) { this.ItineraryFormatted = 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; }
    }

    @DataContract(Name="BookingWithWarnings", Namespace="schemas.agentivity.com/types")
    public static class BookingWithWarnings
    {
        @DataMember(Order=10)
        public String RecordLocator = null;

        @DataMember(Order=20)
        public Date PNRCreationDate = null;

        @DataMember(Order=30)
        public Integer AgentivityRef = null;

        @DataMember(Order=40)
        public String OwningConsultant = null;

        @DataMember(Order=50)
        public String Account = null;

        @DataMember(Order=60)
        public String OwningConsultantID = null;

        @DataMember(Order=70)
        public String OwningAgencyLocationID = null;

        @DataMember(Order=75)
        public String GdsCode = null;

        @DataMember(Order=80)
        public Date TravelDate = null;

        @DataMember(Order=90)
        public String PrimaryPax = null;

        @DataMember(Order=1000)
        public ArrayList<BookingWarning> WarningsList = null;
        
        public String getRecordLocator() { return RecordLocator; }
        public BookingWithWarnings setRecordLocator(String value) { this.RecordLocator = value; return this; }
        public Date getPnrCreationDate() { return PNRCreationDate; }
        public BookingWithWarnings setPnrCreationDate(Date value) { this.PNRCreationDate = value; return this; }
        public Integer getAgentivityRef() { return AgentivityRef; }
        public BookingWithWarnings setAgentivityRef(Integer value) { this.AgentivityRef = value; return this; }
        public String getOwningConsultant() { return OwningConsultant; }
        public BookingWithWarnings setOwningConsultant(String value) { this.OwningConsultant = value; return this; }
        public String getAccount() { return Account; }
        public BookingWithWarnings setAccount(String value) { this.Account = value; return this; }
        public String getOwningConsultantID() { return OwningConsultantID; }
        public BookingWithWarnings setOwningConsultantID(String value) { this.OwningConsultantID = value; return this; }
        public String getOwningAgencyLocationID() { return OwningAgencyLocationID; }
        public BookingWithWarnings setOwningAgencyLocationID(String value) { this.OwningAgencyLocationID = value; return this; }
        public String getGdsCode() { return GdsCode; }
        public BookingWithWarnings setGdsCode(String value) { this.GdsCode = value; return this; }
        public Date getTravelDate() { return TravelDate; }
        public BookingWithWarnings setTravelDate(Date value) { this.TravelDate = value; return this; }
        public String getPrimaryPax() { return PrimaryPax; }
        public BookingWithWarnings setPrimaryPax(String value) { this.PrimaryPax = value; return this; }
        public ArrayList<BookingWarning> getWarningsList() { return WarningsList; }
        public BookingWithWarnings setWarningsList(ArrayList<BookingWarning> value) { this.WarningsList = value; return this; }
    }

    @DataContract(Name="Warning", Namespace="schemas.agentivity.com/types")
    public static class BookingWarning
    {
        @DataMember(Order=10)
        public String WarningType = null;

        @DataMember(Order=20)
        public String Vendor = null;

        @DataMember(Order=30)
        public String VendorType = null;

        @DataMember(Order=40)
        public Date WarningDateTime = null;

        @DataMember(Order=50)
        public Date LogDateTime = null;

        @DataMember(Order=60)
        public String OriginalRemark = null;

        @DataMember(Order=70)
        public ArrayList<BookingWarningProperty> PropertiesList = null;
        
        public String getWarningType() { return WarningType; }
        public BookingWarning setWarningType(String value) { this.WarningType = value; return this; }
        public String getVendor() { return Vendor; }
        public BookingWarning setVendor(String value) { this.Vendor = value; return this; }
        public String getVendorType() { return VendorType; }
        public BookingWarning setVendorType(String value) { this.VendorType = value; return this; }
        public Date getWarningDateTime() { return WarningDateTime; }
        public BookingWarning setWarningDateTime(Date value) { this.WarningDateTime = value; return this; }
        public Date getLogDateTime() { return LogDateTime; }
        public BookingWarning setLogDateTime(Date value) { this.LogDateTime = value; return this; }
        public String getOriginalRemark() { return OriginalRemark; }
        public BookingWarning setOriginalRemark(String value) { this.OriginalRemark = value; return this; }
        public ArrayList<BookingWarningProperty> getPropertiesList() { return PropertiesList; }
        public BookingWarning 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; }
    }

}

Java GetConsultantFocus DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ConsultantFocus HTTP/1.1 
Host: api.agentivity.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"DateStart":"String","DateEnd":"String","OwningConsultantID":["String"],"TransactionAgencyLocationID":["String"],"Options":0,"RequestConsultantID":"String","OwningCompanyCode":["String"],"UserName":"String","Offset":"String","Limit":"String","TotalRecords":0,"ResponseRecords":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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":[{"ProblematicSegments":[{"RecordLocator":"String","PNRCreationDate":"\/Date(-62135596800000-0000)\/","OwningConsultantID":"String","OwningConsultant":"String","PrimaryPax":"String","Account":"String","SegmentStatus":"String","Segment":"String","OwningAgencyLocationID":"String","GdsCode":"String","DepartureDate":"\/Date(-62135596800000-0000)\/","AgentivityRef":"String"}],"AirlineDemandsForTicketing":[{"RecordLocator":"String","PNRCreationDate":"\/Date(-62135596800000-0000)\/","PrimaryPax":"String","OwningConsultantID":"String","OwningConsultant":"String","Account":"String","AirlineCode":"String","DueDate":"\/Date(-62135596800000-0000)\/","DueTime":"String","OwningAgencyLocationID":"String","GdsCode":"String","AgentivityRef":0}],"ActiveUnsoldAirBookings":[{"RecordLocator":"String","PNRCreationDate":"\/Date(-62135596800000-0000)\/","OwningAgencyLocationID":"String","GdsCode":"String","PrimaryPax":"String","OwningConsultant":"String","OwningConsultantID":"String","Account":"String","AgentivityRef":0,"PrimaryCarrierCode":"String","FiledFare":"String","TravelDate":"\/Date(-62135596800000-0000)\/","DestinationCities":"String","BookingClasses":"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"}],"BookingsWithWarnings":[{"RecordLocator":"String","PNRCreationDate":"\/Date(-62135596800000-0000)\/","AgentivityRef":0,"OwningConsultant":"String","Account":"String","OwningConsultantID":"String","OwningAgencyLocationID":"String","GdsCode":"String","TravelDate":"\/Date(-62135596800000-0000)\/","PrimaryPax":"String","WarningsList":[{"WarningType":"String","Vendor":"String","VendorType":"String","WarningDateTime":"\/Date(-62135596800000-0000)\/","LogDateTime":"\/Date(-62135596800000-0000)\/","OriginalRemark":"String","PropertiesList":[{"Name":"String","Value":"String"}]}]}]}],"ResponseError":{"ErrorCode":"String","Message":"String","StatusCode":"String","VerboseMessage":"String"}}