POST api/AddServiceReportPhotosPDF

Request Information

URI Parameters

None.

Body Parameters

ADD_ServiceReportPhotoPDF
NameDescriptionTypeAdditional information
ServiceReportID

string

None.

ServiceReportPhoto

Collection of byte

None.

ServiceReportPDF

string

None.

EXTRA1

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceReportID": "sample string 1",
  "ServiceReportPhoto": "QEA=",
  "ServiceReportPDF": "sample string 2",
  "EXTRA1": "sample string 3"
}

application/xml, text/xml

Sample:
<ADD_ServiceReportPhotoPDF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaiHealthCare.Models.ServiceReport">
  <EXTRA1>sample string 3</EXTRA1>
  <ServiceReportID>sample string 1</ServiceReportID>
  <ServiceReportPDF>sample string 2</ServiceReportPDF>
  <ServiceReportPhoto>QEA=</ServiceReportPhoto>
</ADD_ServiceReportPhotoPDF>

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 'ADD_ServiceReportPhotoPDF'.

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.