Api doc


SDK's


Api Modules

sales.budgets

Returns all budget settings for a given time period



Supported Methods:

GET
Params
  • token (Required): valid token
  • start_date (Required): date
  • end_date (Required): date


Documentation

GET
Retrieves all budget settings for a given time period.
Level 3 is required.

--

Parameters:

  1. "start_date": required //Start date (date)
  2. "end_date": required //End date (date)
  3. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"sales.budgets",
  3. "method":"GET",
  4. "request":{
  5. "start_date":"May 19, 2012",
  6. "end_date":"May 21, 2012"
  7. }
  8. }

Example Response:

  1. {
  2. "status":1,
  3. "data":[
  4. {
  5. "id":"1",
  6. "store":"11",
  7. "start_date":{
  8. "id":"1118",
  9. "month":"5",
  10. "day":"21",
  11. "year":"2012",
  12. "weekday":"Mon",
  13. "mname":"May",
  14. "week":"21",
  15. "dayid":2,
  16. "formatted":"May 21, 2012"
  17. },
  18. "end_date":{
  19. "id":"1118",
  20. "month":"5",
  21. "day":"21",
  22. "year":"2012",
  23. "weekday":"Mon",
  24. "mname":"May",
  25. "week":"21",
  26. "dayid":2,
  27. "formatted":"May 21, 2012"
  28. },
  29. "location":"37",
  30. "hours":"8.00",
  31. "dollars":"0.00"
  32. },
  33. {
  34. "id":"2",
  35. "store":"11",
  36. "start_date":{
  37. "id":"1118",
  38. "month":"5",
  39. "day":"21",
  40. "year":"2012",
  41. "weekday":"Mon",
  42. "mname":"May",
  43. "week":"21",
  44. "dayid":2,
  45. "formatted":"May 21, 2012"
  46. },
  47. "end_date":{
  48. "id":"1118",
  49. "month":"5",
  50. "day":"21",
  51. "year":"2012",
  52. "weekday":"Mon",
  53. "mname":"May",
  54. "week":"21",
  55. "dayid":2,
  56. "formatted":"May 21, 2012"
  57. },
  58. "location":"225",
  59. "hours":"1.00",
  60. "dollars":"12.00"
  61. },
  62. {
  63. "id":"14",
  64. "store":"11",
  65. "start_date":{
  66. "id":"1118",
  67. "month":"5",
  68. "day":"21",
  69. "year":"2012",
  70. "weekday":"Mon",
  71. "mname":"May",
  72. "week":"21",
  73. "dayid":2,
  74. "formatted":"May 21, 2012"
  75. },
  76. "end_date":{
  77. "id":"1118",
  78. "month":"5",
  79. "day":"21",
  80. "year":"2012",
  81. "weekday":"Mon",
  82. "mname":"May",
  83. "week":"21",
  84. "dayid":2,
  85. "formatted":"May 21, 2012"
  86. },
  87. "location":"74",
  88. "hours":"0.00",
  89. "dollars":null
  90. },
  91. {
  92. "id":"15",
  93. "store":"11",
  94. "start_date":{
  95. "id":"1118",
  96. "month":"5",
  97. "day":"21",
  98. "year":"2012",
  99. "weekday":"Mon",
  100. "mname":"May",
  101. "week":"21",
  102. "dayid":2,
  103. "formatted":"May 21, 2012"
  104. },
  105. "end_date":{
  106. "id":"1118",
  107. "month":"5",
  108. "day":"21",
  109. "year":"2012",
  110. "weekday":"Mon",
  111. "mname":"May",
  112. "week":"21",
  113. "dayid":2,
  114. "formatted":"May 21, 2012"
  115. },
  116. "location":"101",
  117. "hours":"0.00",
  118. "dollars":null
  119. },
  120. {
  121. "id":"16",
  122. "store":"11",
  123. "start_date":{
  124. "id":"1118",
  125. "month":"5",
  126. "day":"21",
  127. "year":"2012",
  128. "weekday":"Mon",
  129. "mname":"May",
  130. "week":"21",
  131. "dayid":2,
  132. "formatted":"May 21, 2012"
  133. },
  134. "end_date":{
  135. "id":"1118",
  136. "month":"5",
  137. "day":"21",
  138. "year":"2012",
  139. "weekday":"Mon",
  140. "mname":"May",
  141. "week":"21",
  142. "dayid":2,
  143. "formatted":"May 21, 2012"
  144. },
  145. "location":"3",
  146. "hours":"0.00",
  147. "dollars":null
  148. },
  149. {
  150. "id":"30",
  151. "store":"11",
  152. "start_date":{
  153. "id":"1118",
  154. "month":"5",
  155. "day":"21",
  156. "year":"2012",
  157. "weekday":"Mon",
  158. "mname":"May",
  159. "week":"21",
  160. "dayid":2,
  161. "formatted":"May 21, 2012"
  162. },
  163. "end_date":{
  164. "id":"1118",
  165. "month":"5",
  166. "day":"21",
  167. "year":"2012",
  168. "weekday":"Mon",
  169. "mname":"May",
  170. "week":"21",
  171. "dayid":2,
  172. "formatted":"May 21, 2012"
  173. },
  174. "location":"68",
  175. "hours":"9.00",
  176. "dollars":null
  177. },
  178. {
  179. "id":"31",
  180. "store":"11",
  181. "start_date":{
  182. "id":"1118",
  183. "month":"5",
  184. "day":"21",
  185. "year":"2012",
  186. "weekday":"Mon",
  187. "mname":"May",
  188. "week":"21",
  189. "dayid":2,
  190. "formatted":"May 21, 2012"
  191. },
  192. "end_date":{
  193. "id":"1118",
  194. "month":"5",
  195. "day":"21",
  196. "year":"2012",
  197. "weekday":"Mon",
  198. "mname":"May",
  199. "week":"21",
  200. "dayid":2,
  201. "formatted":"May 21, 2012"
  202. },
  203. "location":"64",
  204. "hours":"8.00",
  205. "dollars":null
  206. },
  207. {
  208. "id":"32",
  209. "store":"11",
  210. "start_date":{
  211. "id":"1118",
  212. "month":"5",
  213. "day":"21",
  214. "year":"2012",
  215. "weekday":"Mon",
  216. "mname":"May",
  217. "week":"21",
  218. "dayid":2,
  219. "formatted":"May 21, 2012"
  220. },
  221. "end_date":{
  222. "id":"1118",
  223. "month":"5",
  224. "day":"21",
  225. "year":"2012",
  226. "weekday":"Mon",
  227. "mname":"May",
  228. "week":"21",
  229. "dayid":2,
  230. "formatted":"May 21, 2012"
  231. },
  232. "location":"66",
  233. "hours":"10.00",
  234. "dollars":null
  235. },
  236. {
  237. "id":"84",
  238. "store":"11",
  239. "start_date":{
  240. "id":"1118",
  241. "month":"5",
  242. "day":"21",
  243. "year":"2012",
  244. "weekday":"Mon",
  245. "mname":"May",
  246. "week":"21",
  247. "dayid":2,
  248. "formatted":"May 21, 2012"
  249. },
  250. "end_date":{
  251. "id":"1118",
  252. "month":"5",
  253. "day":"21",
  254. "year":"2012",
  255. "weekday":"Mon",
  256. "mname":"May",
  257. "week":"21",
  258. "dayid":2,
  259. "formatted":"May 21, 2012"
  260. },
  261. "location":"294",
  262. "hours":"0.00",
  263. "dollars":null
  264. }
  265. ],
  266. "token":"xxxxxxx"
  267. }

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my Humanity Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a Humanity Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close