| All Verbs | /BookingsCreatedAndSegments |
|---|
| 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 |
| 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 |
| 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 .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /BookingsCreatedAndSegments HTTP/1.1
Host: api.agentivity.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"OwningAgencyLocationID":["String"],"PNRCreationDateStart":"String","PNRCreationDateEnd":"String","AirSegmentsMustBeTicketed":false,"OwningCompanyCode":["String"],"UserName":"String","Offset":"String","Limit":"String","TotalRecords":0,"ResponseRecords":0}