reports.wu_daily_reports

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
start_date (accepted)dateStart date
end_date (accepted)dateEnd date
employee (accepted)varcharEmployee
schedule (accepted)varcharPosition
task (deprecated)varcharTask
location (accepted)varcharLocation
task_state (deprecated)varcharTask state
workunit (accepted)varcharWork unit
remote_site (accepted)varcharRemote site

DOCUMENTATION

GET
Returns a list of worked units
Level 5 is required

--
Example Request:

{
         "module":"reports.wu_daily_report",
         "method":"GET",
         "request":{
             "start_date":"Oct 8, 2014",
             "end_date":"Oct 9, 2014"
         }
     }

Example response:

{  
    "status":1,
    "token":"xxxxxxx",
    "data":{  
        "wu_names":{  
            "605692":{  
                "108":"Cards",
                "107":"Staples"
            }
        },
        "data":{  
            "605692":{  
                "86941866":{  
                    "878708":{  
                        "start":"8:00am",
                        "cost":"37.5",
                        "worked_units":{  
                            "108":"10",
                            "107":"55"
                        },
                        "end":"4:00pm",
                        "employee_id":"878708",
                        "position":"Student",
                        "employee":"John Doe",
                        "location":"WorkShop",
                        "employee_eid":null
                    }
                },
                "1412838000878708":{  
                    "878708":{  
                        "start":"N/A",
                        "cost":"2.5",
                        "worked_units":{  
                            "108":0,
                            "107":"5"
                        },
                        "end":"N/A",
                        "employee_id":"878708",
                        "position":"Student",
                        "employee":"John Doe",
                        "location":"WorkShop",
                        "employee_eid":null
                    }
                },
                "86941886":{  
                    "878708":{  
                        "start":"7:00pm",
                        "cost":10,
                        "worked_units":{  
                            "108":"10",
                            "107":0
                        },
                        "end":"10:00pm",
                        "employee_id":"878708",
                        "position":"Student",
                        "employee":"John Doe",
                        "location":"WorkShop",
                        "employee_eid":null
                    }
                }
            }
        }
      }
}