GET getdaymenu?contractID={contractID}&date={date}&IsMultiSelect={IsMultiSelect}

Gets data for day manu, when the user holds their finger on the icon of the day

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contractID

Current contract ID selected in attendance page

integer

Required

date

Current selected day by user

string

Required

IsMultiSelect

True if user is in multi day selection

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

DayMenu
NameDescriptionTypeAdditional information
DayTextRows

Collection of DayTextRow

None.

MenuItems

Collection of MenuItem

None.

Response Formats

application/json, text/json

Sample:
{
  "DayTextRows": [
    {
      "IconIndex": 1,
      "Text": "sample string 1"
    },
    {
      "IconIndex": 1,
      "Text": "sample string 1"
    }
  ],
  "MenuItems": null
}

application/xml, text/xml

Sample:
<DayMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SenseWebAPI.Models">
  <DayTextRows>
    <DayTextRow>
      <IconIndex>1</IconIndex>
      <Text>sample string 1</Text>
    </DayTextRow>
    <DayTextRow>
      <IconIndex>1</IconIndex>
      <Text>sample string 1</Text>
    </DayTextRow>
  </DayTextRows>
  <MenuItems i:nil="true" />
</DayMenu>