- Endpoint:
/bonus-point-rules
- Method:
GET
- Header:
x-api-key
: String
- Query:
workspace_id
: String
- Response:
error_code
: Numbermessage
: Stringdata
:time
: Number (minutes)type
: String {CHECKIN
,CHECKOUT
}point
: Number
- Endpoint:
/bonus-point-rules
- Method:
POST
- Header:
x-api-key
: String
- Body:
workspace_id
: Stringrules
: Arraytime
: Number (minutes)type
: String {CHECKIN
,CHECKOUT
}point
: Number
apoint_partner_access_key
: Stringapoint_partner_secret_key
: String
- Response:
error_code
: Numbermessage
: Stringdata
:status
: boolean
Update bonus point
/bonus-point-rules
POST
x-api-key
: Stringworkspace_id
: Stringrules
: Arraytime
: Number (minutes)type
: String {CHECKIN
,CHECKOUT
- defaultCHECKIN
}point
: Numberapoint_partner_access_key
: Stringapoint_partner_secret_key
: Stringstatus
: String, optional {ACTIVE
,INACTIVE
- defaultACTIVE
}error_code
: Numbermessage
: Stringdata
:status
: boolean