POST api/labtestresult/sendtoserver

Request Information

URI Parameters

None.

Body Parameters

LabTestInfo
NameDescriptionTypeAdditional information
LabTestInfoID

integer

None.

InvoiceNo

string

None.

InvoiceDate

date

None.

PatinetName

string

None.

Age

string

None.

DoctorName

string

None.

DBServerDateTime

date

None.

SendToServer

boolean

None.

SendToServerTime

date

None.

ClientGUID

string

None.

TestIDs

string

None.

CompanyName

string

None.

ErrorMessage

string

None.

Selected

boolean

None.

ExpireDate

date

None.

LotDate

date

None.

QcLevel

string

None.

LabTestResults

Collection of LabTestResult

None.

InvoiceDateSt

string

None.

DBServerDateTimeSt

string

None.

SendToServerTimeSt

string

None.

SendToServerSt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LabTestInfoID": 1,
  "InvoiceNo": "sample string 2",
  "InvoiceDate": "2025-12-31T10:55:19.1607078+06:00",
  "PatinetName": "sample string 4",
  "Age": "sample string 5",
  "DoctorName": "sample string 6",
  "DBServerDateTime": "2025-12-31T10:55:19.1607078+06:00",
  "SendToServer": true,
  "SendToServerTime": "2025-12-31T10:55:19.1607078+06:00",
  "ClientGUID": "sample string 10",
  "TestIDs": "sample string 11",
  "CompanyName": "sample string 12",
  "ErrorMessage": "sample string 13",
  "Selected": true,
  "ExpireDate": "2025-12-31T10:55:19.1607078+06:00",
  "LotDate": "2025-12-31T10:55:19.1607078+06:00",
  "QcLevel": "sample string 17",
  "LabTestResults": [
    {
      "LabTestResultID": 1,
      "LabTestInfoID": 2,
      "ParameterName": "sample string 3",
      "Result": "sample string 4",
      "ExpireDate": "2025-12-31T10:55:19.1607078+06:00",
      "LotDate": "2025-12-31T10:55:19.1607078+06:00",
      "QcLevel": "sample string 7",
      "QcStatus": "sample string 8",
      "LowerValue": "sample string 9",
      "UpperValue": "sample string 10",
      "ErrorMessage": "sample string 11"
    },
    {
      "LabTestResultID": 1,
      "LabTestInfoID": 2,
      "ParameterName": "sample string 3",
      "Result": "sample string 4",
      "ExpireDate": "2025-12-31T10:55:19.1607078+06:00",
      "LotDate": "2025-12-31T10:55:19.1607078+06:00",
      "QcLevel": "sample string 7",
      "QcStatus": "sample string 8",
      "LowerValue": "sample string 9",
      "UpperValue": "sample string 10",
      "ErrorMessage": "sample string 11"
    }
  ],
  "InvoiceDateSt": "31 Dec 2025",
  "DBServerDateTimeSt": "31 Dec 2025 10:55 AM",
  "SendToServerTimeSt": "31 Dec 2025 10:55 AM",
  "SendToServerSt": "Yes"
}

application/xml, text/xml

Sample:
<LabTestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PSBD.BODAS.BusinessObjects">
  <Age>sample string 5</Age>
  <ClientGUID>sample string 10</ClientGUID>
  <CompanyName>sample string 12</CompanyName>
  <DBServerDateTime>2025-12-31T10:55:19.1607078+06:00</DBServerDateTime>
  <DoctorName>sample string 6</DoctorName>
  <ErrorMessage>sample string 13</ErrorMessage>
  <ExpireDate>2025-12-31T10:55:19.1607078+06:00</ExpireDate>
  <InvoiceDate>2025-12-31T10:55:19.1607078+06:00</InvoiceDate>
  <InvoiceNo>sample string 2</InvoiceNo>
  <LabTestInfoID>1</LabTestInfoID>
  <LabTestResults>
    <LabTestResult>
      <ErrorMessage>sample string 11</ErrorMessage>
      <ExpireDate>2025-12-31T10:55:19.1607078+06:00</ExpireDate>
      <LabTestInfoID>2</LabTestInfoID>
      <LabTestResultID>1</LabTestResultID>
      <LotDate>2025-12-31T10:55:19.1607078+06:00</LotDate>
      <LowerValue>sample string 9</LowerValue>
      <ParameterName>sample string 3</ParameterName>
      <QcLevel>sample string 7</QcLevel>
      <QcStatus>sample string 8</QcStatus>
      <Result>sample string 4</Result>
      <UpperValue>sample string 10</UpperValue>
    </LabTestResult>
    <LabTestResult>
      <ErrorMessage>sample string 11</ErrorMessage>
      <ExpireDate>2025-12-31T10:55:19.1607078+06:00</ExpireDate>
      <LabTestInfoID>2</LabTestInfoID>
      <LabTestResultID>1</LabTestResultID>
      <LotDate>2025-12-31T10:55:19.1607078+06:00</LotDate>
      <LowerValue>sample string 9</LowerValue>
      <ParameterName>sample string 3</ParameterName>
      <QcLevel>sample string 7</QcLevel>
      <QcStatus>sample string 8</QcStatus>
      <Result>sample string 4</Result>
      <UpperValue>sample string 10</UpperValue>
    </LabTestResult>
  </LabTestResults>
  <LotDate>2025-12-31T10:55:19.1607078+06:00</LotDate>
  <PatinetName>sample string 4</PatinetName>
  <QcLevel>sample string 17</QcLevel>
  <Selected>true</Selected>
  <SendToServer>true</SendToServer>
  <SendToServerTime>2025-12-31T10:55:19.1607078+06:00</SendToServerTime>
  <TestIDs>sample string 11</TestIDs>
</LabTestInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.