Advertisement
Guest User

Untitled

a guest
Mar 30th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. ## Session Token
  2. curl "https://live.ableat.com/rest/session/token"
  3.  
  4. ## Update Fuel Gilbarco
  5. curl -X "PATCH" "https://live.ableat.com/api/alpha/fuel/871107/update?_format=hal_json" \
  6. -H "Accept: application/hal+json" \
  7. -H "Content-Type: application/hal+json" \
  8. -H "X-CSRF-Token: Pz8X7cqKTTzUO1I6CFLMeh0BofGhxRb65msOg6HiyyE" \
  9. -u admin:***** Hidden credentials ***** \
  10. -d $'{
  11. "fg_001": {
  12. "sl_1": {
  13. "pm_0001": 1.00
  14. }
  15. },
  16. "fg_002": {
  17. "sl_1": {
  18. "pm_0001": 1.00
  19. }
  20. },
  21. "fg_003": {
  22. "sl_1": {
  23. "pm_0001": 1.00
  24. }
  25. },
  26. "fg_019": {
  27. "sl_1": {
  28. "pm_0001": 1.00
  29. }
  30. }
  31. }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement