facilitytime.http 478 B

1234567891011121314151617181920212223242526
  1. ### 로그인
  2. # @name login
  3. POST {{baseUrl}}/api/users/login HTTP/1.1
  4. content-type: application/json
  5. {
  6. "type": 0,
  7. "userId": "ubitems",
  8. "passwd": "ubitems"
  9. }
  10. @token = {{login.response.body.AccessToken}}
  11. ### 시설가동시간
  12. GET {{baseUrl}}/api/FacilityTime/Data
  13. //?siteId=1&facilityType=0&year=2020&month=2
  14. ?siteId=1
  15. Authorization: Bearer {{token}}
  16. ### 시설종류
  17. GET {{baseUrl}}/api/FacilityTime/FacilityTypeList
  18. ?siteId=1
  19. Authorization: Bearer {{token}}