POST api/Quote/{token}

Save and send a quote by e-mail

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

The tour search token

string

Required

Body Parameters

The quote input parameters

QuotePostParameters
NameDescriptionTypeAdditional information
contact

Contact information of the person to which the quote was made

Contact

None.

sendEmailToParent

Send copy of quote to the travel agent which the booking will be attributed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "contact": {
    "title": "sample string 1",
    "firstName": "sample string 2",
    "lastName": "sample string 3",
    "contactNumber": "sample string 4",
    "emailAddress": "sample string 5",
    "marketingPreferences": {
      "post": "sample string 1",
      "email": "sample string 2",
      "mobile": "sample string 3",
      "landline": "sample string 4"
    }
  },
  "sendEmailToParent": true
}

Response Information

Resource Description

QuoteResponse
NameDescriptionTypeAdditional information
id

Unique quote reference

string

None.

response

The response object

Quote

None.

status

The response status

ResponseStatus

None.

success

An indication that the request was successfully completed or failed

boolean

None.

datestamp

The date and time that the request was completed

date

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "response": {
    "requested": "sample string 1",
    "sent": "sample string 2",
    "sentToParent": "sample string 3",
    "expires": "sample string 4",
    "contact": {
      "title": "sample string 1",
      "firstName": "sample string 2",
      "lastName": "sample string 3",
      "contactNumber": "sample string 4",
      "emailAddress": "sample string 5",
      "marketingPreferences": {
        "post": "sample string 1",
        "email": "sample string 2",
        "mobile": "sample string 3",
        "landline": "sample string 4"
      }
    },
    "holiday": {
      "channel": "sample string 1",
      "agentCode": "sample string 2",
      "agentType": "sample string 3",
      "scsAgentID": 1,
      "tourCode": 1,
      "tourName": "sample string 4",
      "brandChannelID": 5,
      "departureDate": "sample string 6",
      "departureCode": "sample string 7",
      "duration": 8,
      "adults": 9,
      "children": 10,
      "infants": 11,
      "totalPrice": 12.1,
      "deposit": 13.1,
      "components": [
        {
          "componentID": 1,
          "name": "sample string 2",
          "unitNumber": "sample string 3",
          "description": "sample string 4",
          "componentType": "sample string 5",
          "componentSubType": "sample string 6",
          "startDate": "sample string 7",
          "endDate": "sample string 9",
          "qty": 11,
          "unitPrice": 12.1,
          "price": 13.1
        },
        {
          "componentID": 1,
          "name": "sample string 2",
          "unitNumber": "sample string 3",
          "description": "sample string 4",
          "componentType": "sample string 5",
          "componentSubType": "sample string 6",
          "startDate": "sample string 7",
          "endDate": "sample string 9",
          "qty": 11,
          "unitPrice": 12.1,
          "price": 13.1
        }
      ]
    }
  },
  "status": {
    "code": 1,
    "message": "sample string 2"
  },
  "success": true,
  "datestamp": "2026-08-03T20:34:43.3260658+01:00"
}