POST api/Reminders/CreateProductReminder

Request Information

URI Parameters

None.

Body Parameters

ReminderBindingModels
NameDescriptionTypeAdditional information
ReminerProductList

Collection of ReminderListBindingModels

Required

Request Formats

application/json, text/json

Sample:
{
  "ReminerProductList": [
    {
      "ReminderId": 1,
      "ProductId": 2,
      "ReminderDays": "sample string 3",
      "ReminderTime": "00:00:00.1234567"
    },
    {
      "ReminderId": 1,
      "ProductId": 2,
      "ReminderDays": "sample string 3",
      "ReminderTime": "00:00:00.1234567"
    }
  ]
}

application/xml, text/xml

Sample:
<ReminderBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Coke.Models.WebApi.BindingModels.Reminder">
  <ReminerProductList>
    <ReminderListBindingModels>
      <ProductId>2</ProductId>
      <ReminderDays>sample string 3</ReminderDays>
      <ReminderId>1</ReminderId>
      <ReminderTime>PT0.1234567S</ReminderTime>
    </ReminderListBindingModels>
    <ReminderListBindingModels>
      <ProductId>2</ProductId>
      <ReminderDays>sample string 3</ReminderDays>
      <ReminderId>1</ReminderId>
      <ReminderTime>PT0.1234567S</ReminderTime>
    </ReminderListBindingModels>
  </ReminerProductList>
</ReminderBindingModels>

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.