POST api/Patient/PatientReportAdd

Request Information

URI Parameters

None.

Body Parameters

PatientReportAddRequest
NameDescriptionTypeAdditional information
PatientReportAdd

PatientReportAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientReportAdd": {
    "ReportTypeID": "7f8cef89-bc49-4731-8de3-d1050beb9619",
    "Title": "sample string 1",
    "FileName": "sample string 2",
    "ReportCopy": "sample string 3",
    "ReportDate": "2025-12-11T14:38:07.0674571+03:00",
    "ReportAvailable": true,
    "Notes": "sample string 4"
  },
  "PatientID": "512f46b6-120e-4836-a847-0d94bd4efb4e",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientReportAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>512f46b6-120e-4836-a847-0d94bd4efb4e</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientReportAdd>
    <FileName>sample string 2</FileName>
    <Notes>sample string 4</Notes>
    <ReportAvailable>true</ReportAvailable>
    <ReportCopy>sample string 3</ReportCopy>
    <ReportDate>2025-12-11T14:38:07.0674571+03:00</ReportDate>
    <ReportTypeID>7f8cef89-bc49-4731-8de3-d1050beb9619</ReportTypeID>
    <Title>sample string 1</Title>
  </PatientReportAdd>
</PatientReportAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientReportResponse
NameDescriptionTypeAdditional information
PatientReport

PatientReport

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientReport": {
    "PatientReportID": "7a40061d-a567-4bcd-af2e-b0136f1749d3",
    "ReportTypeID": "5a98b55a-8f79-429f-96bb-dd4958a84d54",
    "Title": "sample string 2",
    "FileName": "sample string 3",
    "ReportCopy": "sample string 4",
    "ReportDate": "2025-12-11T14:38:07.0674571+03:00",
    "ReportAvailable": true,
    "Notes": "sample string 5"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<PatientReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <PatientReport>
    <FileName>sample string 3</FileName>
    <Notes>sample string 5</Notes>
    <PatientReportID>7a40061d-a567-4bcd-af2e-b0136f1749d3</PatientReportID>
    <ReportAvailable>true</ReportAvailable>
    <ReportCopy>sample string 4</ReportCopy>
    <ReportDate>2025-12-11T14:38:07.0674571+03:00</ReportDate>
    <ReportTypeID>5a98b55a-8f79-429f-96bb-dd4958a84d54</ReportTypeID>
    <Title>sample string 2</Title>
  </PatientReport>
</PatientReportResponse>