GET CMPromotions/GetWeekDays
Returns a list of the weekdays to avoid confusion, sunday = 0
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of DayOfWeekModelName | Type | Description | Additional information |
---|---|---|---|
DayOfWeek | string |
None. |
|
DayOfWeekId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "DayOfWeek": "sample string 1", "DayOfWeekId": 2 }, { "DayOfWeek": "sample string 1", "DayOfWeekId": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfCMPromotionsController.DayOfWeekModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Controllers"> <CMPromotionsController.DayOfWeekModel> <DayOfWeek>sample string 1</DayOfWeek> <DayOfWeekId>2</DayOfWeekId> </CMPromotionsController.DayOfWeekModel> <CMPromotionsController.DayOfWeekModel> <DayOfWeek>sample string 1</DayOfWeek> <DayOfWeekId>2</DayOfWeekId> </CMPromotionsController.DayOfWeekModel> </ArrayOfCMPromotionsController.DayOfWeekModel>