POST api/cse/ApproveTestRequest
Request Information
URI Parameters
None.
Body Parameters
ApproveTestRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TestRequestId | integer |
None. |
|
| SampleName | string |
None. |
|
| SampleDescription | string |
None. |
|
| ExpectedDeliveryDate | date |
None. |
|
| CategoryId | integer |
None. |
|
| Tests | Collection of TestRequestDetailModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"TestRequestId": 1,
"SampleName": "sample string 2",
"SampleDescription": "sample string 3",
"ExpectedDeliveryDate": "2026-06-25T22:16:15.7961623+05:30",
"CategoryId": 1,
"Tests": [
{
"TestId": 1,
"TestMethodId": 2
},
{
"TestId": 1,
"TestMethodId": 2
}
]
}
application/xml, text/xml
Sample:
<ApproveTestRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labman_api.Models">
<CategoryId>1</CategoryId>
<ExpectedDeliveryDate>2026-06-25T22:16:15.7961623+05:30</ExpectedDeliveryDate>
<SampleDescription>sample string 3</SampleDescription>
<SampleName>sample string 2</SampleName>
<TestRequestId>1</TestRequestId>
<Tests>
<TestRequestDetailModel>
<TestId>1</TestId>
<TestMethodId>2</TestMethodId>
</TestRequestDetailModel>
<TestRequestDetailModel>
<TestId>1</TestId>
<TestMethodId>2</TestMethodId>
</TestRequestDetailModel>
</Tests>
</ApproveTestRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.