POST api/Online/SaveScheduledMessage?merchantId={merchantId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
merchantId | integer |
Required |
Body Parameters
Collection of SaveScheduleModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Message | string |
None. |
|
Date | date |
None. |
|
DateParts | ScheduleDateParts |
None. |
|
Customers | integer |
None. |
|
Cost | string |
None. |
|
TargetGroup | integer |
None. |
|
MultiTarget | string |
None. |
|
TrackingTag | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ID": 1, "Message": "sample string 1", "Date": "2024-11-21T06:27:15.3282288+00:00", "DateParts": { "Year": 1, "Month": 2, "Day": 3, "Hour": 4, "Minute": 5 }, "Customers": 2, "Cost": "sample string 3", "TargetGroup": 4, "MultiTarget": "sample string 5", "TrackingTag": "sample string 6" }, { "ID": 1, "Message": "sample string 1", "Date": "2024-11-21T06:27:15.3282288+00:00", "DateParts": { "Year": 1, "Month": 2, "Day": 3, "Hour": 4, "Minute": 5 }, "Customers": 2, "Cost": "sample string 3", "TargetGroup": 4, "MultiTarget": "sample string 5", "TrackingTag": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfSaveScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <SaveScheduleModel> <Cost>sample string 3</Cost> <Customers>2</Customers> <Date>2024-11-21T06:27:15.3282288+00:00</Date> <DateParts> <Day>3</Day> <Hour>4</Hour> <Minute>5</Minute> <Month>2</Month> <Year>1</Year> </DateParts> <ID>1</ID> <Message>sample string 1</Message> <MultiTarget>sample string 5</MultiTarget> <TargetGroup>4</TargetGroup> <TrackingTag>sample string 6</TrackingTag> </SaveScheduleModel> <SaveScheduleModel> <Cost>sample string 3</Cost> <Customers>2</Customers> <Date>2024-11-21T06:27:15.3282288+00:00</Date> <DateParts> <Day>3</Day> <Hour>4</Hour> <Minute>5</Minute> <Month>2</Month> <Year>1</Year> </DateParts> <ID>1</ID> <Message>sample string 1</Message> <MultiTarget>sample string 5</MultiTarget> <TargetGroup>4</TargetGroup> <TrackingTag>sample string 6</TrackingTag> </SaveScheduleModel> </ArrayOfSaveScheduleModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.