POST api/SampleType/UpdateSampleType

Request Information

URI Parameters

None.

Body Parameters

SampleTypeMasterBindingModel
NameDescriptionTypeAdditional information
SampleTypeId

integer

None.

SampleTypeName

string

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreationDate

date

None.

UpdatedBy

integer

None.

UpdationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SampleTypeId": 1,
  "SampleTypeName": "sample string 2",
  "IsActive": true,
  "CreatedBy": 1,
  "CreationDate": "2026-05-19T12:13:55.1109719+05:30",
  "UpdatedBy": 1,
  "UpdationDate": "2026-05-19T12:13:55.1129328+05:30"
}

application/xml, text/xml

Sample:
<SampleTypeMasterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tsms_api.Models">
  <CreatedBy>1</CreatedBy>
  <CreationDate>2026-05-19T12:13:55.1109719+05:30</CreationDate>
  <IsActive>true</IsActive>
  <SampleTypeId>1</SampleTypeId>
  <SampleTypeName>sample string 2</SampleTypeName>
  <UpdatedBy>1</UpdatedBy>
  <UpdationDate>2026-05-19T12:13:55.1129328+05:30</UpdationDate>
</SampleTypeMasterBindingModel>

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.