POST api/Online/SaveScheduledMessage?merchantId={merchantId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
merchantId

integer

Required

Body Parameters

Collection of SaveScheduleModel
NameDescriptionTypeAdditional information
ID

integer

None.

Message

string

None.

Date

date

None.

DateParts

ScheduleDateParts

None.

Customers

integer

None.

Cost

string

None.

TargetGroup

integer

None.

TrackingTag

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "Message": "sample string 1",
    "Date": "2024-05-04T02:22:03.4274202+01:00",
    "DateParts": {
      "Year": 1,
      "Month": 2,
      "Day": 3,
      "Hour": 4,
      "Minute": 5
    },
    "Customers": 2,
    "Cost": "sample string 3",
    "TargetGroup": 4,
    "TrackingTag": "sample string 5"
  },
  {
    "ID": 1,
    "Message": "sample string 1",
    "Date": "2024-05-04T02:22:03.4274202+01:00",
    "DateParts": {
      "Year": 1,
      "Month": 2,
      "Day": 3,
      "Hour": 4,
      "Minute": 5
    },
    "Customers": 2,
    "Cost": "sample string 3",
    "TargetGroup": 4,
    "TrackingTag": "sample string 5"
  }
]

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-05-04T02:22:03.4274202+01: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>
    <TargetGroup>4</TargetGroup>
    <TrackingTag>sample string 5</TrackingTag>
  </SaveScheduleModel>
  <SaveScheduleModel>
    <Cost>sample string 3</Cost>
    <Customers>2</Customers>
    <Date>2024-05-04T02:22:03.4274202+01: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>
    <TargetGroup>4</TargetGroup>
    <TrackingTag>sample string 5</TrackingTag>
  </SaveScheduleModel>
</ArrayOfSaveScheduleModel>

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.