POST api/ResultDispatching/PdfView

Request Information

URI Parameters

None.

Body Parameters

ResultPdfBody
NameDescriptionTypeAdditional information
LabNo

integer

None.

YearId

integer

None.

EmployeeId

integer

None.

BranchId

integer

None.

TestIds

Collection of TstId

None.

Request Formats

application/json, text/json

Sample:
{
  "LabNo": 1,
  "YearId": 2,
  "EmployeeId": 3,
  "BranchId": 4,
  "TestIds": [
    {
      "TestId": 1
    },
    {
      "TestId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<ResultPdfBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LISCAREWEBAPI.Models">
  <BranchId>4</BranchId>
  <EmployeeId>3</EmployeeId>
  <LabNo>1</LabNo>
  <TestIds>
    <TstId>
      <TestId>1</TestId>
    </TstId>
    <TstId>
      <TestId>1</TestId>
    </TstId>
  </TestIds>
  <YearId>2</YearId>
</ResultPdfBody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PdfView
NameDescriptionTypeAdditional information
status

Collection of Status

None.

PDF

string

None.

PdfName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": [
    {
      "status": "sample string 1",
      "Error": "sample string 2",
      "Message": "sample string 3"
    },
    {
      "status": "sample string 1",
      "Error": "sample string 2",
      "Message": "sample string 3"
    }
  ],
  "PDF": "sample string 1",
  "PdfName": "sample string 2"
}

application/xml, text/xml

Sample:
<PdfView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LISCAREWEBAPI.Models">
  <PDF>sample string 1</PDF>
  <PdfName>sample string 2</PdfName>
  <status>
    <Status>
      <Error>sample string 2</Error>
      <Message>sample string 3</Message>
      <status>sample string 1</status>
    </Status>
    <Status>
      <Error>sample string 2</Error>
      <Message>sample string 3</Message>
      <status>sample string 1</status>
    </Status>
  </status>
</PdfView>