POST api/patient/UpdatePatientDetails

Request Information

URI Parameters

None.

Body Parameters

UpdatePatientDetailsDto
NameDescriptionTypeAdditional information
id

integer

None.

FirstName

string

None.

LastName

string

None.

Longitude

decimal number

None.

Latitude

decimal number

None.

EmailAddress

string

None.

MobileNumber

string

None.

Address

string

None.

Location

string

None.

DefaultDentistId

integer

None.

ProfileImage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Longitude": 4.0,
  "Latitude": 5.0,
  "EmailAddress": "sample string 6",
  "MobileNumber": "sample string 7",
  "Address": "sample string 8",
  "Location": "sample string 9",
  "DefaultDentistId": 1,
  "ProfileImage": "sample string 10"
}

application/xml, text/xml

Sample:
<UpdatePatientDetailsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model.Patient">
  <Address>sample string 8</Address>
  <DefaultDentistId>1</DefaultDentistId>
  <EmailAddress>sample string 6</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <Latitude>5</Latitude>
  <Location>sample string 9</Location>
  <Longitude>4</Longitude>
  <MobileNumber>sample string 7</MobileNumber>
  <ProfileImage>sample string 10</ProfileImage>
  <id>1</id>
</UpdatePatientDetailsDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdatePatientDetailsDto'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.