POST api/ResultDispatching/WhatsApp

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

Collection of Status
NameDescriptionTypeAdditional information
status

string

None.

Error

string

None.

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LISCAREWEBAPI.Models">
  <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>
</ArrayOfStatus>