Skip to content

Instantly share code, notes, and snippets.

@huetran97
Forked from viettd56/bonusPoint.md
Last active October 19, 2019 03:57
Show Gist options
  • Save huetran97/773a885771d0283abea5b127bf2d7cc8 to your computer and use it in GitHub Desktop.
Save huetran97/773a885771d0283abea5b127bf2d7cc8 to your computer and use it in GitHub Desktop.
ACheckin bonus point

Update bonus point

  • Endpoint: /update-bonus-point
  • Method: POST
  • Header:
    • x-api-key: String
  • Body:
    • workspace_id: String
    • rules: Array
      • time: Number (minutes)
      • type: String {CHECKIN, CHECKOUT}
      • point: Number
    • apoint_partner_access_key: String
    • apoint_partner_refresh_key: String
  • Response:
    • error_code: Number
    • message: String
    • data:
      • status: boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment