POST api/TestCategory/CreateTestCategory
Request Information
URI Parameters
None.
Body Parameters
TestCategoryBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TestCategoryId | integer |
None. |
|
| TestCategoryName | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreationDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdationDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| LabAnalyst | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TestCategoryId": 1,
"TestCategoryName": "sample string 2",
"CreatedBy": 1,
"CreationDate": "2026-08-23T11:31:19.2560496+05:30",
"UpdatedBy": 1,
"UpdationDate": "2026-08-23T11:31:19.2560496+05:30",
"IsActive": true,
"LabAnalyst": "sample string 3"
}
application/xml, text/xml
Sample:
<TestCategoryBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labman_api.Models"> <CreatedBy>1</CreatedBy> <CreationDate>2026-08-23T11:31:19.2560496+05:30</CreationDate> <IsActive>true</IsActive> <LabAnalyst>sample string 3</LabAnalyst> <TestCategoryId>1</TestCategoryId> <TestCategoryName>sample string 2</TestCategoryName> <UpdatedBy>1</UpdatedBy> <UpdationDate>2026-08-23T11:31:19.2560496+05:30</UpdationDate> </TestCategoryBindingModel>
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.