POST api/Agents/SetAgentSettings?agentIp={agentIp}&agentMac={agentMac}&orgId={orgId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentIp

string

Required

agentMac

string

Required

orgId

globally unique identifier

Required

Body Parameters

SettingModel
NameDescriptionTypeAdditional information
IsAutoSyncActive

boolean

None.

AutoSyncInterval

integer

None.

AutosyncTime

string

None.

IsRealtimeSyncActive

boolean

None.

RealTimeSyncUrl

string

None.

LogTargets

integer

None.

LogSeveritys

integer

None.

Exports

integer

None.

LogInDetail

boolean

None.

LogInDatabase

boolean

None.

NotifyEmailId

string

None.

DiagonisticsMode

boolean

None.

ResyncRule

string

None.

ResyncBatchCount

string

None.

IsResyncScheduled

boolean

None.

ExecuteFor

integer

None.

Batch

integer

None.

SaveSyncInfoToDb

boolean

None.

RealTimePort

string

None.

NotificationRule

string

None.

IsNotificationMailEnabled

boolean

None.

FileDeleteTime

string

None.

AgentType

string

None.

Frequency

string

None.

PendingTimeout

string

None.

PartitionKey

string

None.

RowKey

string

None.

Timestamp

date

None.

ETag

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IsAutoSyncActive": true,
  "AutoSyncInterval": 2,
  "AutosyncTime": "sample string 3",
  "IsRealtimeSyncActive": true,
  "RealTimeSyncUrl": "sample string 5",
  "LogTargets": 6,
  "LogSeveritys": 7,
  "Exports": 8,
  "LogInDetail": true,
  "LogInDatabase": true,
  "NotifyEmailId": "sample string 11",
  "DiagonisticsMode": true,
  "ResyncRule": "sample string 13",
  "ResyncBatchCount": "sample string 14",
  "IsResyncScheduled": true,
  "ExecuteFor": 1,
  "Batch": 16,
  "SaveSyncInfoToDb": true,
  "RealTimePort": "sample string 18",
  "NotificationRule": "sample string 19",
  "IsNotificationMailEnabled": true,
  "FileDeleteTime": "sample string 21",
  "AgentType": "sample string 22",
  "Frequency": "sample string 23",
  "PendingTimeout": "sample string 24",
  "PartitionKey": "sample string 25",
  "RowKey": "sample string 26",
  "Timestamp": "2024-11-12T02:12:49.1751223+00:00",
  "ETag": "sample string 28"
}

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 'SettingModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.