API - Workers - Retrieve Details

Put the Worker ID in the URL below.

Request:

GET /api2/workers/13687/?apiKey=XXXXXX {

}

Response:

{

"id": "13687",

"wuname": "jimmsb",

"regtime": "",

"modifiedtime": "2016-04-27T16:27:21-04:00",

"lastvisit": "",

"approved": "Yes",

"firstname": "Jimmy",

"lastname": "Smith",

"address": "2826 12th ST SW",

"city": "Akron",

"state": "OH",

"zip": "44444",

"country": "United States",

"hphone": "(234) 200-9962",

"cphone": "(330) 656-5455",

"ophone": "",

"email": "jmmyb@yahoo.com",

"rank": "1",

"notes": "",

"gcalendarid": "",

"payrate": "0.00",

"overviewfilter": "0",

"carrier": "cricket",

"commission_percentage": "0.00",

"commission_rentalsubtotal": "0",

"commission_staffcosts": "0",

"commission_deliveryfees": "0",

"commission_fees": "0",

"commission_couponspackages": "0",

"commission_specials": "0",

"commission_discounts": "0",

"commission_salestax": "0",

"hideshifts": "0",

"mileagerate": "0.00",

"mileagestart": "0",

"lattitude": "",

"longitude": "",

"weightcapacity": "",

"mpg": "",

"name": "Jimmy Smith",

"leads": "write",

"customers": "write",

"workers": "write",

"calendar": "none",

"Customer_Merger": "none",

"overview": "none",

"Workers_Payroll": "none",

"Workers_Merger": "none",

"Settings_Rental_Inventory": "none",

"Settings_Price_Categories": "none",

"Settings_Distance_Charges": "none",

"Settings_Delivery_Methods": "none",

"Settings_Promotions": "none",

"Settings_Rental_Order": "none",

"Settings_Warehouse_Locations": "none",

"Settings_Customer_Interface": "none",

"Settings_Contract_Templates": "none",

"Settings_General": "none",

"Settings_Payment_Options": "none",

"Settings_Insurance_Applications": "none",

"Settings_Email": "none",

"Settings_QuickBooks": "none",

"settings": "none",

"Settings_Alerts": "none",

"Settings_Google_Tracking": "none",

"Settings_Optional_Fields": "none",

"Settings_Expenses": "none",

"Settings_QuickBooks_Queue": "none",

"Settings_QuickBooks_Log": "none",

"Settings_Training_Safety": "none",

"Settings_Google_Calendar": "none",

"Settings_Testimonials": "none",

"Settings_Categories": "none",

"Settings_Maintenance": "none",

"Settings_Statuses": "none",

"Settings_Company_Details": "none",

"Workers_Positions": "none",

"Settings_Referrals": "none",

"Settings_Business_Hours": "none",

"Settings_Customer_Types": "none",

"Settings_Packing_List": "none",

"Deliveries": "none",

"Overview_Sales": "none",

"Overview_Charts": "none",

"Overview_Stats": "none",

"Overview_Map": "none",

"Overview_Workers": "none",

"Overview_Phone": "none",

"Lead_Change_Salesrep": "none",

"Lead_Sales_Rep_Assign": "none",

"Settings_Pages_Templates": "none",

"Worker_Site_Signup": "write",

"Worker_Site_Request_Off": "write",

"Worker_Site_Directions": "write",

"Worker_Site_Packing_List": "none",

"Worker_Site_Delivery_Print": "none",

"Worker_Site_Contract": "none",

"Worker_Site_Manager_Survey": "none",

"Worker_Site_Maintenance": "none",

"Worker_Site_Access_Others_Shifts": "none",

"Settings_Subscription": "none",

"Settings_Surfaces": "none",

"Settings_Online_Quoting": "none",

"Settings_Wordpress": "none",

"Settings_Surveys": "none",

"Settings_Google_Voice": "none",

"Settings_Payment_Types": "none",

"Worker_Vehicles": "none",

"Todo_Edit": "write",

"Todo_Assign": "none",

"Lead_Sales_Rep_Edit": "none",

"Leads_Delete": "write",

"Settings_Rental_Inventory_Shared": "none",

"locations": [

"9858",

"8777",

"12422"

],

"positionid": [

"6984"

],

"position_payrate": [

"0.00"

],

"positions": [

"Sales Rep"

],

"href": "http:\/\/localhost\/jbug\/trunk\/api2\/workers\/13687",

"regtime_ts": "0",

"regtime_utc": "",

"modifiedtime_ts": "1461788841",

"modifiedtime_utc": "2016-04-27T20:27:21Z",

"lastvisit_ts": "0",

"lastvisit_utc": ""

}

Is article helpful?