POST api/horsetrainer/bookings/checkout

Request Information

URI Parameters

None.

Body Parameters

StripeCheckoutReviewRequestDto
NameDescriptionTypeAdditional information
TrainerPersonId

integer

None.

CoachPersonId

integer

None.

StudentPersonId

integer

None.

PersonId

integer

None.

OfferingId

string

None.

OfferingDbId

integer

None.

Price

decimal number

None.

VideoId

string

None.

VideoTitle

string

None.

HorseName

string

None.

Discipline

string

None.

StudentNotes

string

None.

PackageCredits

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TrainerPersonId": 1,
  "CoachPersonId": 1,
  "StudentPersonId": 1,
  "PersonId": 1,
  "OfferingId": "sample string 2",
  "OfferingDbId": 1,
  "Price": 3.0,
  "VideoId": "sample string 4",
  "VideoTitle": "sample string 5",
  "HorseName": "sample string 6",
  "Discipline": "sample string 7",
  "StudentNotes": "sample string 8",
  "PackageCredits": 1
}

application/xml, text/xml

Sample:
<StripeCheckoutReviewRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities.HorseTrainer">
  <CoachPersonId>1</CoachPersonId>
  <Discipline>sample string 7</Discipline>
  <HorseName>sample string 6</HorseName>
  <OfferingDbId>1</OfferingDbId>
  <OfferingId>sample string 2</OfferingId>
  <PackageCredits>1</PackageCredits>
  <PersonId>1</PersonId>
  <Price>3</Price>
  <StudentNotes>sample string 8</StudentNotes>
  <StudentPersonId>1</StudentPersonId>
  <TrainerPersonId>1</TrainerPersonId>
  <VideoId>sample string 4</VideoId>
  <VideoTitle>sample string 5</VideoTitle>
</StripeCheckoutReviewRequestDto>

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.