Api.Gapi

<back to all web services

AddPdfGenerationLog

This service is used to add a new pdf generation log to the marketing database.

The following routes are available for this service:
POST/pdfgenerationlog

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/AddPdfGenerationLog HTTP/1.1 
Host: gapi-api.hotelplan.co.uk 
Content-Type: application/json
Content-Length: length

{"pdfGenerationLog":{"timeStamp":"0001-01-01T00:00:00.0000000","agentId":"String","programmeCode":"String","country":"String","resort":"String","accommodation":"String","departureDate":"String","boardBasis":"String","duration":0,"pricingPerPerson":false,"salePrice":0,"wasPrice":0},"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

{"item":{"timeStamp":"0001-01-01T00:00:00.0000000","agentId":"String","programmeCode":"String","country":"String","resort":"String","accommodation":"String","departureDate":"String","boardBasis":"String","duration":0,"pricingPerPerson":false,"salePrice":0,"wasPrice":0}}