POST api/ScheduledAutoCall/Create

Request Information

URI Parameters

None.

Body Parameters

ScheduledAutoCallVm
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

ScheduledEntity

string

None.

ScheduledEntityId

integer

None.

ScheduledSubEntity

string

None.

ScheduledEntityName

string

None.

ScheduledSubEntityId

integer

None.

StartDate

date

None.

EndDate

date

None.

IsActive

boolean

None.

RepeatOn

string

None.

ScheduleTime

date

None.

DaysOfWeek

Collection of string

None.

WeeksOfMonth

Collection of string

None.

ScheduleConfig

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "ScheduledEntity": "sample string 3",
  "ScheduledEntityId": 1,
  "ScheduledSubEntity": "sample string 4",
  "ScheduledEntityName": "sample string 5",
  "ScheduledSubEntityId": 1,
  "StartDate": "2025-12-07T14:37:23.9938989Z",
  "EndDate": "2025-12-07T14:37:23.9938989Z",
  "IsActive": true,
  "RepeatOn": "sample string 9",
  "ScheduleTime": "2025-12-07T14:37:23.9938989Z",
  "DaysOfWeek": [
    "sample string 1",
    "sample string 2"
  ],
  "WeeksOfMonth": [
    "sample string 1",
    "sample string 2"
  ],
  "ScheduleConfig": "sample string 11"
}

application/xml, text/xml

Sample:
<ScheduledAutoCallVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrokerServer.Services.AutoDialerCore">
  <Company_Id>1</Company_Id>
  <DaysOfWeek xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DaysOfWeek>
  <EndDate>2025-12-07T20:07:23.9938989+05:30</EndDate>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <RepeatOn>sample string 9</RepeatOn>
  <ScheduleConfig>sample string 11</ScheduleConfig>
  <ScheduleTime>2025-12-07T20:07:23.9938989+05:30</ScheduleTime>
  <ScheduledEntity>sample string 3</ScheduledEntity>
  <ScheduledEntityId>1</ScheduledEntityId>
  <ScheduledEntityName>sample string 5</ScheduledEntityName>
  <ScheduledSubEntity>sample string 4</ScheduledSubEntity>
  <ScheduledSubEntityId>1</ScheduledSubEntityId>
  <StartDate>2025-12-07T20:07:23.9938989+05:30</StartDate>
  <WeeksOfMonth xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WeeksOfMonth>
</ScheduledAutoCallVm>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.