POST api/TravelPasses/Duplicate
Request Information
URI Parameters
None.
Body Parameters
DuplicateTravelPassDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
PupilName | string |
None. |
|
DateOfBirth | date |
None. |
|
UPRN | string |
None. |
|
Postcode | string |
None. |
|
Address | string |
None. |
|
OtherAddress | string |
None. |
|
Telephone | string |
None. |
|
EmailAddress | string |
None. |
|
School | string |
None. |
|
OtherSchool | string |
None. |
|
Photograph | Collection of byte |
None. |
|
PhotographFilename | string |
None. |
|
ParentName | string |
None. |
|
PaymentReference | string |
None. |
|
Reason | integer |
None. |
|
PassType | integer |
None. |
|
StudentID | string |
None. |
|
AttendSEN | boolean |
None. |
|
SENSchool | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "PupilName": "sample string 2", "DateOfBirth": "2024-11-22T22:20:39.8733233+00:00", "UPRN": "sample string 4", "Postcode": "sample string 5", "Address": "sample string 6", "OtherAddress": "sample string 7", "Telephone": "sample string 8", "EmailAddress": "sample string 9", "School": "sample string 10", "OtherSchool": "sample string 11", "Photograph": "QEA=", "PhotographFilename": "sample string 12", "ParentName": "sample string 13", "PaymentReference": "sample string 14", "Reason": 15, "PassType": 16, "StudentID": "sample string 17", "AttendSEN": true, "SENSchool": "sample string 19" }
text/html
Sample:
{"Id":1,"PupilName":"sample string 2","DateOfBirth":"2024-11-22T22:20:39.8733233+00:00","UPRN":"sample string 4","Postcode":"sample string 5","Address":"sample string 6","OtherAddress":"sample string 7","Telephone":"sample string 8","EmailAddress":"sample string 9","School":"sample string 10","OtherSchool":"sample string 11","Photograph":"QEA=","PhotographFilename":"sample string 12","ParentName":"sample string 13","PaymentReference":"sample string 14","Reason":15,"PassType":16,"StudentID":"sample string 17","AttendSEN":true,"SENSchool":"sample string 19"}
application/xml, text/xml
Sample:
<DuplicateTravelPassDto 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> <AttendSEN>true</AttendSEN> <DateOfBirth>2024-11-22T22:20:39.8733233+00:00</DateOfBirth> <EmailAddress>sample string 9</EmailAddress> <Id>1</Id> <OtherAddress>sample string 7</OtherAddress> <OtherSchool>sample string 11</OtherSchool> <ParentName>sample string 13</ParentName> <PassType>16</PassType> <PaymentReference>sample string 14</PaymentReference> <Photograph>QEA=</Photograph> <PhotographFilename>sample string 12</PhotographFilename> <Postcode>sample string 5</Postcode> <PupilName>sample string 2</PupilName> <Reason>15</Reason> <SENSchool>sample string 19</SENSchool> <School>sample string 10</School> <StudentID>sample string 17</StudentID> <Telephone>sample string 8</Telephone> <UPRN>sample string 4</UPRN> </DuplicateTravelPassDto>
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
IHttpActionResultNone.
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.