POST api/UserInfoes/PostProfilePic

Request Information

URI Parameters

None.

Body Parameters

ImageBase64
NameDescriptionTypeAdditional information
userId

integer

None.

medicationHistoryId

integer

None.

prescriptionId

integer

None.

imageCode

string

None.

isDoctorFeedback

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "medicationHistoryId": 2,
  "prescriptionId": 3,
  "imageCode": "sample string 4",
  "isDoctorFeedback": true
}

application/xml, text/xml

Sample:
<ImageBase64 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryManagementAPI.ViewModels">
  <imageCode>sample string 4</imageCode>
  <isDoctorFeedback>true</isDoctorFeedback>
  <medicationHistoryId>2</medicationHistoryId>
  <prescriptionId>3</prescriptionId>
  <userId>1</userId>
</ImageBase64>

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.