reports.wu_daily_reports

SUPPORTED METHODS:

GET

Parameters

Type

Description

token (required)

Valid token

start_date (accepted)

date

Start date

end_date (accepted)

date

End date

employee (accepted)

varchar

Employee

schedule (accepted)

varchar

Position

task (deprecated)

varchar

Task

location (accepted)

varchar

Location

task_state (deprecated)

varchar

Task state

workunit (accepted)

varchar

Work unit

remote_site (accepted)

varchar

Remote 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
                    }
                }
            }
        }
      }
}