Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1. ACTIVE TASKS
  2.  
  3.  
  4. URL
  5. url = http://pm.scm.co.id/apiv2/mytaskopen_by_station
  6.  
  7.  
  8. PARAMETER
  9. data = {"param":101} // station_id
  10.  
  11.  
  12. RESPONSE
  13. {
  14. "status": "success",
  15. "data": [
  16. {
  17. "work_id": "PM2018072000316",
  18. "work_date": "2018-07-20",
  19. "header_id": "1",
  20. "work_status": "0",
  21. "work_pic": null,
  22. "station_id": "101",
  23. "region_id": "102",
  24. "department_id": "101",
  25. "ticket_id": null,
  26. "work_picture1": null,
  27. "work_picture2": null,
  28. "work_picture3": null,
  29. "work_picture4": null,
  30. "work_picture5": null,
  31. "remarks": null,
  32. "assign_date": null,
  33. "remarks_accept": null,
  34. "expired_date": "2018-07-21 00:00:00",
  35. "header_name": "Program Monitoring dan Pengamatan AV",
  36. "header_desc": "",
  37. "type_id": "2",
  38. "include_ticket": "1",
  39. "dynamic_task": "0",
  40. "table_trans": "t_program_monitoring",
  41. "include_photo": "0",
  42. "for_technician": "1",
  43. "for_engineer": "0",
  44. "gen_param": "-1",
  45. "type_name": "Daily",
  46. "type_desc": "Task for technician",
  47. "user_name": null,
  48. "station_name": "Cudo Station",
  49. "station_lat": "-6.330960",
  50. "station_long": "106.679343",
  51. "ac_nielsen": "0"
  52. },
  53. {
  54. "work_id": "PM2018072000317",
  55. "work_date": "2018-07-20",
  56. "header_id": "2",
  57. "work_status": "0",
  58. "work_pic": null,
  59. "station_id": "101",
  60. "region_id": "102",
  61. "department_id": "101",
  62. "ticket_id": null,
  63. "work_picture1": null,
  64. "work_picture2": null,
  65. "work_picture3": null,
  66. "work_picture4": null,
  67. "work_picture5": null,
  68. "remarks": null,
  69. "assign_date": null,
  70. "remarks_accept": null,
  71. "expired_date": "2018-07-21 00:00:00",
  72. "header_name": "Visual Inspection",
  73. "header_desc": "",
  74. "type_id": "2",
  75. "include_ticket": "1",
  76. "dynamic_task": "1",
  77. "table_trans": null,
  78. "include_photo": "0",
  79. "for_technician": "1",
  80. "for_engineer": "0",
  81. "gen_param": "-1",
  82. "type_name": "Daily",
  83. "type_desc": "Task for technician",
  84. "user_name": null,
  85. "station_name": "Cudo Station",
  86. "station_lat": "-6.330960",
  87. "station_long": "106.679343",
  88. "ac_nielsen": "0"
  89. }
  90. ]
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement