POST api/discoverytours/comms/parentApproval

Queues NatPat confirmation Email.

Request Information

URI Parameters

None.

Body Parameters

ApprovalModel
NameDescriptionTypeAdditional information
ApprovalPageLink

ApprovalPageLink

string

None.

ApproveLink

Url for DT Approval Acceptance

string

None.

DisapproveLink

Url for DT Approval Rejection

string

None.

StudentProgramId

StudentProgramId

integer

None.

TravelerFirstName

TravelerFirstName

string

None.

TourName

TourName

string

None.

TourStartDate

TourStartDate

date

None.

TourEndDate

TourEndDate

date

None.

TourPrice

TourPrice

decimal number

None.

TourPaymentDueDate

TourPaymentDueDate

date

None.

TourGateway

TourGateway

string

None.

TravelerTypeId

TravelerTypeId

TravelerTypes

None.

To

To

string

None.

Bcc

Bcc

string

None.

Request Formats

application/json, text/json

Sample:
{
  "approvalPageLink": "sample string 1",
  "approveLink": "sample string 2",
  "disapproveLink": "sample string 3",
  "studentProgramId": 4,
  "travelerFirstName": "sample string 5",
  "tourName": "sample string 6",
  "tourStartDate": "2025-05-19T18:24:32.148219Z",
  "tourEndDate": "2025-05-19T18:24:32.148219Z",
  "tourPrice": 9.0,
  "tourPaymentDueDate": "2025-05-19T18:24:32.148219Z",
  "tourGateway": "sample string 11",
  "travelerTypeId": 1,
  "to": "sample string 12",
  "bcc": "sample string 13"
}

application/xml, text/xml

Sample:
<ApprovalModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSEY.API.Models.DiscoveryTours.Comms">
  <Bcc>sample string 13</Bcc>
  <To>sample string 12</To>
  <StudentProgramId>4</StudentProgramId>
  <TourEndDate>2025-05-19T18:24:32.148219+00:00</TourEndDate>
  <TourGateway>sample string 11</TourGateway>
  <TourName>sample string 6</TourName>
  <TourPaymentDueDate>2025-05-19T18:24:32.148219+00:00</TourPaymentDueDate>
  <TourPrice>9</TourPrice>
  <TourStartDate>2025-05-19T18:24:32.148219+00:00</TourStartDate>
  <TravelerFirstName>sample string 5</TravelerFirstName>
  <TravelerTypeId>Student</TravelerTypeId>
  <ApprovalPageLink>sample string 1</ApprovalPageLink>
  <ApproveLink>sample string 2</ApproveLink>
  <DisapproveLink>sample string 3</DisapproveLink>
</ApprovalModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.