Api.Gapi

<back to all web services

GetCompetitorSeason

This service is used to add a new competitorSeason to the marketing database.

The following routes are available for this service:
GET/competitorSeason/{id}

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

HTTP + CSV

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

POST /csv/reply/GetCompetitorSeason HTTP/1.1 
Host: gapi-api.hotelplan.co.uk 
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'GetCompetitorSeason' using the custom 'csv' filter}No parameterless constructor defined for this object.
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Item
"{id:0,competitorId:0,startDate:0001-01-01,endDate:0001-01-01,dayOfWeek:String,duration:0,departurePoint:String,pax:0,dynamicExpression:String,dynamicBaseUrl:String,firstCompetitorParameter:{id:0,competitorSeasonId:0,country:String,resort:String,property:String,mythosCode:String,boardBasis:String,arrivalPoint:String,specificBaseUrl:String,crawlUrl:String,departurePoint:String,dateCreated:0001-01-01,dateUpdated:0001-01-01,updatedBy:String}}"