POST api/MailSchedule
Request Information
URI Parameters
None.
Body Parameters
MailScheduleName | Description | Type | Additional information |
---|---|---|---|
AccountId | integer |
None. |
|
ScheduleId | integer |
None. |
|
TemplateId | integer |
None. |
|
To | string |
None. |
|
Cc | string |
None. |
|
Bcc | string |
None. |
|
Subject | string |
None. |
|
Id | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountId": 1, "ScheduleId": 2, "TemplateId": 3, "To": "sample string 4", "Cc": "sample string 5", "Bcc": "sample string 6", "Subject": "sample string 7", "Id": 8, "Status": "sample string 9", "CreatedBy": "sample string 10", "CreateTimestamp": "2024-11-21T08:42:04.2440794+00:00", "ModifiedBy": "sample string 12", "ModifiedTimestamp": "2024-11-21T08:42:04.2440794+00:00", "DataStateFlag": "sample string 13" }
application/xml, text/xml
Sample:
<MailSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.MailSchedules"> <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d2p1:DateTime>2024-11-21T08:42:04.2440794Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 10</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 13</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">8</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 12</ModifiedBy> <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities"> <d2p1:DateTime>2024-11-21T08:42:04.2440794Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.BaseEntities">sample string 9</Status> <AccountId>1</AccountId> <Bcc>sample string 6</Bcc> <Cc>sample string 5</Cc> <ScheduleId>2</ScheduleId> <Subject>sample string 7</Subject> <TemplateId>3</TemplateId> <To>sample string 4</To> </MailSchedule>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>