POST api/TravelPasses/Appeal

Request Information

URI Parameters

None.

Body Parameters

TravelPassAppealDto
NameDescriptionTypeAdditional information
Id

integer

None.

PupilName

string

None.

DateOfBirth

date

None.

UPRN

string

None.

Postcode

string

None.

Address

string

None.

Telephone

string

None.

EmailAddress

string

None.

School

string

None.

OtherSchool

string

None.

Reason

string

None.

StudentID

string

None.

Files

Collection of FileDto

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PupilName": "sample string 2",
  "DateOfBirth": "2024-11-22T22:30:43.9566258+00:00",
  "UPRN": "sample string 4",
  "Postcode": "sample string 5",
  "Address": "sample string 6",
  "Telephone": "sample string 7",
  "EmailAddress": "sample string 8",
  "School": "sample string 9",
  "OtherSchool": "sample string 10",
  "Reason": "sample string 11",
  "StudentID": "sample string 12",
  "Files": [
    {
      "Content": "QEA=",
      "Filename": "sample string 1"
    },
    {
      "Content": "QEA=",
      "Filename": "sample string 1"
    }
  ]
}

text/html

Sample:
{"Id":1,"PupilName":"sample string 2","DateOfBirth":"2024-11-22T22:30:43.9566258+00:00","UPRN":"sample string 4","Postcode":"sample string 5","Address":"sample string 6","Telephone":"sample string 7","EmailAddress":"sample string 8","School":"sample string 9","OtherSchool":"sample string 10","Reason":"sample string 11","StudentID":"sample string 12","Files":[{"Content":"QEA=","Filename":"sample string 1"},{"Content":"QEA=","Filename":"sample string 1"}]}

application/xml, text/xml

Sample:
<TravelPassAppealDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.Service.TravelPasses.DTOs">
  <Address>sample string 6</Address>
  <DateOfBirth>2024-11-22T22:30:43.9566258+00:00</DateOfBirth>
  <EmailAddress>sample string 8</EmailAddress>
  <Files>
    <FileDto>
      <Content>QEA=</Content>
      <Filename>sample string 1</Filename>
    </FileDto>
    <FileDto>
      <Content>QEA=</Content>
      <Filename>sample string 1</Filename>
    </FileDto>
  </Files>
  <Id>1</Id>
  <OtherSchool>sample string 10</OtherSchool>
  <Postcode>sample string 5</Postcode>
  <PupilName>sample string 2</PupilName>
  <Reason>sample string 11</Reason>
  <School>sample string 9</School>
  <StudentID>sample string 12</StudentID>
  <Telephone>sample string 7</Telephone>
  <UPRN>sample string 4</UPRN>
</TravelPassAppealDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.