Api.Gapi

<back to all web services

SearchCompetitorSeason

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

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

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/SearchCompetitorSeason HTTP/1.1 
Host: gapi-api.hotelplan.co.uk 
Content-Type: application/json
Content-Length: length

{"id":0,"competitorId":0,"startDate":"0001-01-01T00:00:00.0000000","endDate":"0001-01-01T00:00:00.0000000","dayOfWeek":"String","duration":0,"departurePoint":"String","pax":0,"dynamicBaseUrl":"String","appNameString":"String","version":"String","requestUrl":"String","ip":"String","requestId":"00000000000000000000000000000000","page":0,"pageSize":0,"sortField":"String","sortOrder":"String","metaData":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"totalRecords":0,"recordsFiltered":0}