POST api/Test/AddTestMethod

Request Information

URI Parameters

None.

Body Parameters

TestMethodBindingModel
NameDescriptionTypeAdditional information
TestMethodId

integer

None.

TestId

integer

None.

TestMethodName

string

None.

TestConditions

string

None.

TestCategories

string

None.

CreatedBy

integer

None.

CreationDate

date

None.

UpdatedBy

integer

None.

UpdationDate

date

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TestMethodId": 1,
  "TestId": 1,
  "TestMethodName": "sample string 2",
  "TestConditions": "sample string 3",
  "TestCategories": "sample string 4",
  "CreatedBy": 1,
  "CreationDate": "2026-02-07T17:47:22.8469877+05:30",
  "UpdatedBy": 1,
  "UpdationDate": "2026-02-07T17:47:22.8469877+05:30",
  "IsActive": true
}

application/xml, text/xml

Sample:
<TestMethodBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/labman_api.Models">
  <CreatedBy>1</CreatedBy>
  <CreationDate>2026-02-07T17:47:22.8469877+05:30</CreationDate>
  <IsActive>true</IsActive>
  <TestCategories>sample string 4</TestCategories>
  <TestConditions>sample string 3</TestConditions>
  <TestId>1</TestId>
  <TestMethodId>1</TestMethodId>
  <TestMethodName>sample string 2</TestMethodName>
  <UpdatedBy>1</UpdatedBy>
  <UpdationDate>2026-02-07T17:47:22.8469877+05:30</UpdationDate>
</TestMethodBindingModel>

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.