<back to all web services
GetBookingsCreatedAndSegments
The following routes are available for this service:| All Verbs | /BookingsCreatedAndSegments | | |
|---|
GetBookingsCreatedAndSegments Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| OwningAgencyLocationID | query | string | No | Comma Delimited List of PCCs |
| PNRCreationDateStart | query | string | Yes | Date in format YYYYMMDD |
| PNRCreationDateEnd | query | string | Yes | Date in format YYYYMMDD |
| AirSegmentsMustBeTicketed | query | boolean | No | When set to true, filters the results to only include air segments where the associated PNR has been ticketed. Other segments types are unaffected by this filter |
CompanyLevelRequestBase Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| OwningCompanyCode | query | string | No | Comma Delimited List of Owning Company Codes |
| UserName | query | string | No | UserName in form of an email address |
PagingMetadata Parameters:| Name | Parameter | Data Type | Required | Description |
|---|
| Offset | query | string | No | Starting Record |
| Limit | query | string | No | Number of records to return (PageSize) |
| TotalRecords | query | string | No | Total Number of Records in a Full Reponse (if no paging) |
| ResponseRecords | query | string | No | Total Number of Records in this Reponse (on this page) |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /BookingsCreatedAndSegments HTTP/1.1
Host: apidemo.agentivity.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetBookingsCreatedAndSegments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="schemas.agentivity.com/types">
<Limit>String</Limit>
<Offset>String</Offset>
<ResponseRecords>0</ResponseRecords>
<TotalRecords>0</TotalRecords>
<OwningCompanyCode xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</OwningCompanyCode>
<UserName>String</UserName>
<AirSegmentsMustBeTicketed>false</AirSegmentsMustBeTicketed>
<OwningAgencyLocationID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>String</d2p1:string>
</OwningAgencyLocationID>
<PNRCreationDateEnd>String</PNRCreationDateEnd>
<PNRCreationDateStart>String</PNRCreationDateStart>
</GetBookingsCreatedAndSegments>