The Create Profile Search (EPS_EXT_OfflineJobCreateRQ) is used for creating new jobs and
specifying the search criteria.
Target Audience
Travel Agency
API Version
6.61.4
Authentication
Session Token
Service Action Code
EPS_EXT_OfflineJobCreateRQ
Currently, there are 9 types of search criteria:
- Document - searches for profiles with expired Documents. Parameters: range of dates (StartDate and EndDate) or just the EndDate (in which case the start date is today).
- CustLoyalty - searches for profiles matching the provided VendorCode and VendorTypeCode. Possible values for VendorTypeCode are: (AL, HL and CR).
- PrefCollections - searches for profiles that match provided PreferenceCategory and PreferredVendorCode. Possible values for PreferenceCategory are Airline, Hotel, VehicleRental, Rail,
GroundTransportation . - Remark - searches for profiles that contain the given text in the field @Text.
- EmployeeInfo - searches for profiles that contain the given value in the Value field for: EmployeeCostCenter, BusinessUnit, ProjectID, and Department. This is an example for EmployeeCostCenter, 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 matching the specified condition for both or any of the attributes: (Name, Value).
PaymentCard - searches for attributes that have expired payment card. Similarly as for Documents, you can specify a range of dates (StartDate and EndDate) or just the EndDate (in which case the start date is current date).- Discount - searches for profiles with expired Discounts. Similarly to Documents and PaymentForm you can specify a range of dates or just the end date. Additionally you have to provide attributes VendorTypeCode and DiscountTypeCode, which are required parameters and that narrow the search criteria.
Sample Request
<Sabre_OTA_OfflineJobCreateRQ Target="Production" TimeStamp="2013-10-23T09:14:02.089Z" Version="6.55" 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="ALEXANDER#475" DomainID="A2FE">
<OfflineSearch>
<Profile>
<Document>
<ExpireDate StartDate="2020-08-02" EndDate="2021-08-02"/>
</Document>
</Profile>
</OfflineSearch>
</Job>
</Sabre_OTA_OfflineJobCreateRQ>
<Job ClientCode="TN" JobName="ALEXANDER#475" DomainID="A2FE">
<OfflineSearch>
<Profile>
<Document>
<ExpireDate StartDate="2020-08-02" EndDate="2021-08-02"/>
</Document>
</Profile>
</OfflineSearch>
</Job>
</Sabre_OTA_OfflineJobCreateRQ>
Sample Response
<Sabre_OTA_OfflineJobCreateRS TimeStamp="2013-10-23T08:24:03.16Z" Version="6.55" 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>