POST api/TestResult/UpdateTestDates

Request Information

URI Parameters

None.

Body Parameters

WorkOrderModel
NameDescriptionTypeAdditional information
ProformaInvoiceId

integer

None.

PIDetailsId

integer

None.

PIDetailsTestId

integer

None.

CustomerReference

string

None.

CategoryId

integer

None.

CategoryName

string

None.

ProformaInvoiceDate

date

None.

DeliveryDate

date

None.

CustomerName

string

None.

LabAnalystName

string

None.

AnalystId

integer

None.

ProformaInvoiceNo

string

None.

TestId

integer

None.

TestName

string

None.

TestStatus

string

None.

TestMethodId

integer

None.

TestMethodName

string

None.

TestDoc

string

None.

TestCategory

string

None.

TestUnit

string

None.

SelectedTestUnit

string

None.

TestGroupName

string

None.

TestTAT

integer

None.

TestStartDate

date

None.

TestEndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProformaInvoiceId": 1,
  "PIDetailsId": 2,
  "PIDetailsTestId": 3,
  "CustomerReference": "sample string 4",
  "CategoryId": 5,
  "CategoryName": "sample string 6",
  "ProformaInvoiceDate": "2026-08-23T11:30:52.1311894+05:30",
  "DeliveryDate": "2026-08-23T11:30:52.1467342+05:30",
  "CustomerName": "sample string 7",
  "LabAnalystName": "sample string 8",
  "AnalystId": 1,
  "ProformaInvoiceNo": "sample string 9",
  "TestId": 1,
  "TestName": "sample string 10",
  "TestStatus": "sample string 11",
  "TestMethodId": 1,
  "TestMethodName": "sample string 12",
  "TestDoc": "sample string 13",
  "TestCategory": "sample string 14",
  "TestUnit": "sample string 15",
  "SelectedTestUnit": "sample string 16",
  "TestGroupName": "sample string 17",
  "TestTAT": 1,
  "TestStartDate": "2026-08-23T11:30:52.1467342+05:30",
  "TestEndDate": "2026-08-23T11:30:52.1467342+05:30"
}

application/xml, text/xml

Sample:
<TestResultController.WorkOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labman_api.Controllers">
  <AnalystId>1</AnalystId>
  <CategoryId>5</CategoryId>
  <CategoryName>sample string 6</CategoryName>
  <CustomerName>sample string 7</CustomerName>
  <CustomerReference>sample string 4</CustomerReference>
  <DeliveryDate>2026-08-23T11:30:52.1467342+05:30</DeliveryDate>
  <LabAnalystName>sample string 8</LabAnalystName>
  <PIDetailsId>2</PIDetailsId>
  <PIDetailsTestId>3</PIDetailsTestId>
  <ProformaInvoiceDate>2026-08-23T11:30:52.1311894+05:30</ProformaInvoiceDate>
  <ProformaInvoiceId>1</ProformaInvoiceId>
  <ProformaInvoiceNo>sample string 9</ProformaInvoiceNo>
  <SelectedTestUnit>sample string 16</SelectedTestUnit>
  <TestCategory>sample string 14</TestCategory>
  <TestDoc>sample string 13</TestDoc>
  <TestEndDate>2026-08-23T11:30:52.1467342+05:30</TestEndDate>
  <TestGroupName>sample string 17</TestGroupName>
  <TestId>1</TestId>
  <TestMethodId>1</TestMethodId>
  <TestMethodName>sample string 12</TestMethodName>
  <TestName>sample string 10</TestName>
  <TestStartDate>2026-08-23T11:30:52.1467342+05:30</TestStartDate>
  <TestStatus>sample string 11</TestStatus>
  <TestTAT>1</TestTAT>
  <TestUnit>sample string 15</TestUnit>
</TestResultController.WorkOrderModel>

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.