PUT api/agent/activate
Turn On/Off a specific agent. PUT with body: AgentID, WorkFlowID (optional scope), IsActive.
Request Information
URI Parameters
None.
Body Parameters
AgentActivateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| AgentID | integer |
None. |
|
| WorkFlowID | integer |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"agentID": 1,
"workFlowID": 1,
"isActive": true
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |