POST api/AppSettings/ActiveInactiveApplicationSettings

Request Information

URI Parameters

None.

Body Parameters

ActiveInactiveBO
NameDescriptionTypeAdditional information
Action

boolean

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Action": true,
  "ID": 2
}

application/xml, text/xml

Sample:
<ActiveInactiveBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.BO">
  <Action>true</Action>
  <ID>2</ID>
</ActiveInactiveBO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ActiveInactiveBO'.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Message

string

None.

Data

Object

None.

Count

integer

None.

Activity

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Data": {},
  "Count": 3,
  "Activity": "sample string 4"
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.BO">
  <Activity>sample string 4</Activity>
  <Count>3</Count>
  <Data />
  <Message>sample string 1</Message>
</APIResponse>