GET v1/Toggles/{toggleName}/Status

Description

Retrieve current state of specified toggle

Base Url

https://api-agc.wsohosting.com/


Rest Call Syntax


GET MarkitAPIs/v1/Toggles/{toggleName}/Status

GET MarkitAPIs/v1/Toggles/{toggleName}/Status

Verb

Base Url

URI parameters

 = 

Authentication



Response Format


Headers

Add header


 

Delete




Limitations

There are no limitations specified.




Request Information


Parameters

Name

Description

Type

Additional Information

toggleName

The toggle name to check state on

string

Required




Response Information


The state of the toggle (true = on, false = off)


ToggleStatus

Name

Description

Type

Additional Information

IsEnabled

The current enabled state of the toggle

boolean

Name

The name of the toggle

string




Response Body Formats



application/json, text/json

Sample:
{
  "name": "sample string 1",
  "isEnabled": true
}

application/xml, text/xml

Sample:
<ToggleStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <IsEnabled>true</IsEnabled>
  <Name>sample string 1</Name>
</ToggleStatus>



Feedback



(0 out of 1500 characters used)
Feedback has been submitted. Thank you for your feedback.
Automatic feedback submission has been turned off by your system administrator. Your feedback has been logged to the exceptions table. Please contact support to find out how to manually send in your feedback. Thank you.