POST api/Magento/newCluster

Request Information

URI Parameters

None.

Body Parameters

ScheduleJob
NameDescriptionTypeAdditional information
scheduleID

string

None.

cronExpression

string

None.

callService

string

None.

weekDates

Collection of string

None.

hours

Collection of integer

None.

mins

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "scheduleID": "sample string 1",
  "cronExpression": "sample string 2",
  "callService": "sample string 3",
  "weekDates": [
    "sample string 1",
    "sample string 2"
  ],
  "hours": [
    1,
    2
  ],
  "mins": 4
}

application/xml, text/xml

Sample:
<ScheduleJob xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BackgroundSchedularJobs.Models">
  <callService>sample string 3</callService>
  <cronExpression>sample string 2</cronExpression>
  <hours xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </hours>
  <mins>4</mins>
  <scheduleID>sample string 1</scheduleID>
  <weekDates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </weekDates>
</ScheduleJob>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.