POST api/ControlType/UpdateIsActive

Request Information

URI Parameters

None.

Body Parameters

ControlType
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

IsActive

boolean

None.

Code

string

None.

IsHide

boolean

None.

CreatedDate

date

None.

CreatedBy

integer

None.

LastModifiedDate

date

None.

LastModifiedBy

integer

None.

DeletedDate

date

None.

DeletedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "IsActive": true,
  "Code": "sample string 4",
  "IsHide": true,
  "CreatedDate": "2025-08-29T20:29:39.4372871+00:00",
  "CreatedBy": 7,
  "LastModifiedDate": "2025-08-29T20:29:39.4372871+00:00",
  "LastModifiedBy": 9,
  "DeletedDate": "2025-08-29T20:29:39.4372871+00:00",
  "DeletedBy": 1
}

application/xml, text/xml

Sample:
<ControlType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain">
  <Code>sample string 4</Code>
  <CreatedBy>7</CreatedBy>
  <CreatedDate>2025-08-29T20:29:39.4372871+00:00</CreatedDate>
  <DeletedBy>1</DeletedBy>
  <DeletedDate>2025-08-29T20:29:39.4372871+00:00</DeletedDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsHide>true</IsHide>
  <LastModifiedBy>9</LastModifiedBy>
  <LastModifiedDate>2025-08-29T20:29:39.4372871+00:00</LastModifiedDate>
  <Name>sample string 2</Name>
</ControlType>

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.