POST 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
| Name | Description | Type | Additional 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
MenuActionBodyData| Name | Description | Type | Additional information |
|---|---|---|---|
| dates | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"dates": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<MenuActionBodyData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SenseWebAPI.Models">
<dates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</dates>
</MenuActionBodyData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DayMenu| Name | Description | Type | Additional 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>