POST admin/scheduler/upsert

Request Information

URI Parameters

None.

Body Parameters

ScheduledJobDto
NameDescriptionTypeAdditional information
JobId

string

None.

CronExpr

string

None.

TimeZoneId

string

None.

IsEnabled

boolean

None.

ParamJson

string

None.

Request Formats

application/json, text/json

Sample:
{
  "JobId": "sample string 1",
  "CronExpr": "sample string 2",
  "TimeZoneId": "sample string 3",
  "IsEnabled": true,
  "ParamJson": "sample string 5"
}

text/html

Sample:
{"JobId":"sample string 1","CronExpr":"sample string 2","TimeZoneId":"sample string 3","IsEnabled":true,"ParamJson":"sample string 5"}

application/xml, text/xml

Sample:
<ScheduledJobDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <CronExpr>sample string 2</CronExpr>
  <IsEnabled>true</IsEnabled>
  <JobId>sample string 1</JobId>
  <ParamJson>sample string 5</ParamJson>
  <TimeZoneId>sample string 3</TimeZoneId>
</ScheduledJobDto>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.