POST api/PostPatientInfo

Request Information

URI Parameters

None.

Body Parameters

PatientInfo
NameDescriptionTypeAdditional information
CallID

integer

None.

CallAddress

string

None.

CallCity

string

None.

CallPostCode

string

None.

CallRegion

string

None.

Gender

string

None.

PatientFirstName

string

None.

PatientLastName

string

None.

PatientAddress

string

None.

longitude

decimal number

None.

latitude

decimal number

None.

PatientCity

string

None.

PatientPostCode

string

None.

PatientRegion

string

None.

DOB

date

None.

NOKFirstName

string

None.

NOKLastName

string

None.

NOKPhone

string

None.

NOKType

string

None.

GPDoctorID

integer

None.

GPID

integer

None.

GPTExt

string

None.

DoctorText

string

None.

NhsNumber

string

None.

Age

string

None.

PtContactNumber

string

None.

PtContactNumber2

string

None.

PtEmail

string

None.

PtSchoolID

integer

None.

PtSchoolNote

string

None.

PtTitle

string

None.

PtPhone

string

None.

PtPhoneNote

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CallID": 1,
  "CallAddress": "sample string 2",
  "CallCity": "sample string 3",
  "CallPostCode": "sample string 4",
  "CallRegion": "sample string 5",
  "Gender": "sample string 6",
  "PatientFirstName": "sample string 7",
  "PatientLastName": "sample string 8",
  "PatientAddress": "sample string 9",
  "longitude": 1.0,
  "latitude": 1.0,
  "PatientCity": "sample string 10",
  "PatientPostCode": "sample string 11",
  "PatientRegion": "sample string 12",
  "DOB": "2025-08-29T02:55:09.0648406+01:00",
  "NOKFirstName": "sample string 13",
  "NOKLastName": "sample string 14",
  "NOKPhone": "sample string 15",
  "NOKType": "sample string 16",
  "GPDoctorID": 1,
  "GPID": 1,
  "GPTExt": "sample string 17",
  "DoctorText": "sample string 18",
  "NhsNumber": "sample string 19",
  "Age": "sample string 20",
  "PtContactNumber": "sample string 21",
  "PtContactNumber2": "sample string 22",
  "PtEmail": "sample string 23",
  "PtSchoolID": 1,
  "PtSchoolNote": "sample string 24",
  "PtTitle": "sample string 25",
  "PtPhone": "sample string 26",
  "PtPhoneNote": "sample string 27"
}

application/octet-stream, multipart/form-data

Sample:
{"CallID":1,"CallAddress":"sample string 2","CallCity":"sample string 3","CallPostCode":"sample string 4","CallRegion":"sample string 5","Gender":"sample string 6","PatientFirstName":"sample string 7","PatientLastName":"sample string 8","PatientAddress":"sample string 9","longitude":1.0,"latitude":1.0,"PatientCity":"sample string 10","PatientPostCode":"sample string 11","PatientRegion":"sample string 12","DOB":"2025-08-29T02:55:09.0648406+01:00","NOKFirstName":"sample string 13","NOKLastName":"sample string 14","NOKPhone":"sample string 15","NOKType":"sample string 16","GPDoctorID":1,"GPID":1,"GPTExt":"sample string 17","DoctorText":"sample string 18","NhsNumber":"sample string 19","Age":"sample string 20","PtContactNumber":"sample string 21","PtContactNumber2":"sample string 22","PtEmail":"sample string 23","PtSchoolID":1,"PtSchoolNote":"sample string 24","PtTitle":"sample string 25","PtPhone":"sample string 26","PtPhoneNote":"sample string 27"}

application/xml, text/xml

Sample:
<PrfController.PatientInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers">
  <Age>sample string 20</Age>
  <CallAddress>sample string 2</CallAddress>
  <CallCity>sample string 3</CallCity>
  <CallID>1</CallID>
  <CallPostCode>sample string 4</CallPostCode>
  <CallRegion>sample string 5</CallRegion>
  <DOB>2025-08-29T02:55:09.0648406+01:00</DOB>
  <DoctorText>sample string 18</DoctorText>
  <GPDoctorID>1</GPDoctorID>
  <GPID>1</GPID>
  <GPTExt>sample string 17</GPTExt>
  <Gender>sample string 6</Gender>
  <NOKFirstName>sample string 13</NOKFirstName>
  <NOKLastName>sample string 14</NOKLastName>
  <NOKPhone>sample string 15</NOKPhone>
  <NOKType>sample string 16</NOKType>
  <NhsNumber>sample string 19</NhsNumber>
  <PatientAddress>sample string 9</PatientAddress>
  <PatientCity>sample string 10</PatientCity>
  <PatientFirstName>sample string 7</PatientFirstName>
  <PatientLastName>sample string 8</PatientLastName>
  <PatientPostCode>sample string 11</PatientPostCode>
  <PatientRegion>sample string 12</PatientRegion>
  <PtContactNumber>sample string 21</PtContactNumber>
  <PtContactNumber2>sample string 22</PtContactNumber2>
  <PtEmail>sample string 23</PtEmail>
  <PtPhone>sample string 26</PtPhone>
  <PtPhoneNote>sample string 27</PtPhoneNote>
  <PtSchoolID>1</PtSchoolID>
  <PtSchoolNote>sample string 24</PtSchoolNote>
  <PtTitle>sample string 25</PtTitle>
  <latitude>1</latitude>
  <longitude>1</longitude>
</PrfController.PatientInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CallResult
NameDescriptionTypeAdditional information
Code

integer

None.

Message

string

None.

CallID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2",
  "CallID": 1
}

application/octet-stream, multipart/form-data

Sample:
{"Code":1,"Message":"sample string 2","CallID":1}

application/xml, text/xml

Sample:
<CallController.CallResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HTMW.Controllers">
  <CallID>1</CallID>
  <Code>1</Code>
  <Message>sample string 2</Message>
</CallController.CallResult>