POST api/BookingRequests/EndOccurrence/{id}/{occurrenceId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

occurrenceId

string

Required

Body Parameters

BookingEndInfo
NameDescriptionTypeAdditional information
EndedDateTime

date

None.

EndedByIdentity

string

None.

EndedByName

string

None.

EndedByEmailAddress

string

None.

EndedForm

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EndedDateTime": "2024-11-21T08:59:25.4682548+00:00",
  "EndedByIdentity": "sample string 1",
  "EndedByName": "sample string 2",
  "EndedByEmailAddress": "sample string 3",
  "EndedForm": "sample string 4"
}

application/xml, text/xml

Sample:
<BookingEndInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <EndedByEmailAddress>sample string 3</EndedByEmailAddress>
  <EndedByIdentity>sample string 1</EndedByIdentity>
  <EndedByName>sample string 2</EndedByName>
  <EndedDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T08:59:25.4682548Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </EndedDateTime>
  <EndedForm>sample string 4</EndedForm>
</BookingEndInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.