The Create Profile Offline Search (EPS_EXT_OfflineJobCreateRQ) API is used to create new jobs and specify search criteria.
Target Audience
Travel Agency
API Version
6.86.0
Authentication
Session Token
Service Action Code
EPS_EXT_OfflineJobCreateRQ
This API interacts with nine (9) types of search criteria:
Document
- Searches for profiles with expired documents. Parameters: range of dates (StartDate
andEndDate
) or just theEndDate
(in which case the start date is today).CustLoyalty
- Searches for profiles matching the providedVendorCode
andVendorTypeCode
. Possible values forVendorTypeCode
are:AL
,HL
, andCR
.PrefCollections
- Searches for profiles that match the providedPreferenceCategory
andPreferredVendorCode
. Possible values forPreferenceCategory
are:Airline
,Hotel
,VehicleRental
,Rail
, andGroundTransportation
.Remark
- Searches for profiles that contain the given text within theText
attribute.EmployeeInfo
- Searches for profiles that contain the given value in theValue
field for:EmployeeCostCenter
,BusinessUnit
,ProjectID
, andDepartment
. The below is an example ofEmployeeCostCenter
; other cases are analogous.CustomDefinedData
- Searches for profiles matching the specified condition for both or any of the attributes:CustomFieldCode
,Value
.CustomDefinedValues
- Searches for profiles that match a specified condition for both or any of the attributes:Name
,Value
.PaymentCard
- Searches for attributes that have an expired payment card. You can specify a range of dates (StartDate
andEndDate
) or just theEndDate
(in which case the start date is the current date).Discount
- Searches for profiles with expired discounts. You can specify a range of dates or just the end date. Additionally, you will need to provide the attributesVendorTypeCode
andDiscountTypeCode
, which are required parameters and that help narrow the search criteria.
Sample Request
<Sabre_OTA_OfflineJobCreateRQ Target="Production" TimeStamp="2013-10-23T11:00:51.343Z" Version="6.86" xsi:schemaLocation="http://www.sabre.com/eps/schemas \schemas\Sabre_OTA_ProfileCreateRQ.xsd" xmlns="http://www.sabre.com/eps/schemas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Job ClientCode="TN" JobName="BEATRICE$376" DomainID="A2FE">
<OfflineSearch>
<Profile>
<EmployeeInfo>
<EmployeeCostCenter Value="1111"/>
</EmployeeInfo>
</Profile>
</OfflineSearch>
</Job>
</Sabre_OTA_OfflineJobCreateRQ>
<Job ClientCode="TN" JobName="BEATRICE$376" DomainID="A2FE">
<OfflineSearch>
<Profile>
<EmployeeInfo>
<EmployeeCostCenter Value="1111"/>
</EmployeeInfo>
</Profile>
</OfflineSearch>
</Job>
</Sabre_OTA_OfflineJobCreateRQ>
Sample Response
<Sabre_OTA_OfflineJobCreateRS TimeStamp="2013-10-23T08:24:03.16Z" Version="6.86" xmlns="http://www.sabre.com/eps/schemas">
<ResponseMessage>
<Success/>
</ResponseMessage>
<Job JobID="1078113" DomainID="A2FE" JobName="ALEXANDER#475" JobOwner="207175" OwnerDomainID="AAS" JobStatus="NEW" ActionType="OfflineSearch"/>
</Sabre_OTA_OfflineJobCreateRS>
<ResponseMessage>
<Success/>
</ResponseMessage>
<Job JobID="1078113" DomainID="A2FE" JobName="ALEXANDER#475" JobOwner="207175" OwnerDomainID="AAS" JobStatus="NEW" ActionType="OfflineSearch"/>
</Sabre_OTA_OfflineJobCreateRS>