GET api/Certificates?reservationID={reservationID}

Retrieves the certificate information using the provided reservation ID. Only the reservationID is required to fetch the details.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
reservationID

The unique identifier of the certificate for which the information is requested.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Returns the certificate information in JSON format. { "ReservationID": "e.g. 238c208f-e3ba-484d-b7a0-847f19ec6a8f", "DestinationID": 2, "ResortID": 3, "Arrival": "2025-04-17T10:52:45", "Departure": "2025-04-20T10:52:45", "ReservationStatusID": 1, "Adults": 4, "Children": 2, "Infants": 1, "Nights": 3, "Rooms": 2, "RoomType": "Deluxe Suite", "Transportation": "Shuttle", "ConfirmationNumber": "AB1234CD", "ConfirmationDate": "2025-04-16T15:30:00", "Notes": "Special request for a late check-in.", "PlanTypeID": 5, "SalesPrice": 1200.00, "LeadID": "e9f59835-1f63-4e8e-905a-1d3e3943fdea", "FirstName": "John", "LastName": "Doe", "Email": "john.doe@example.com", "Phone": "+1234567890", "AltPhone": "+0987654321", "Occupation": "Software Engineer", "MaritalStatus": "Married", "Age": 30, "AnnualIncome": 75000.00, "Guests": [ { "FirstName": "Jane", "LastName": "Doe", "Relationship": "Spouse", "Age": 28, "Occupation": "Teacher" } ], "Address": "123 Main St, Springfield", "City": "Springfield", "State": "Illinois", "CountryID": 1, "ZipCode": "62701" }

AttemptResponseV2
NameDescriptionTypeAdditional information
ResponseType

Attempt_ResponseTypes

None.

Exception

Exception

None.

ID

Object

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseType": 0,
  "Exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  },
  "ID": {},
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<AttemptResponseV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePlat.Models.Utils">
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <ID />
  <Message>sample string 2</Message>
  <ResponseType>Warning</ResponseType>
</AttemptResponseV2>