Terms And Conditions
post
Accepts terms and conditions by providing a list of term IDs
Authorizations
Body
termsIdsstring[]OptionalExample:
64f8a0e2d5b7c9a1e3f4a5b6Responses
200
OK
No content
post/api/v1/employee/terms/accept
POST /api/v1/employee/terms/accept HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"termsIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
]
}200
OK
No content
get
Retrieves pending terms and conditions that the employee needs to accept
Authorizations
Responses
200
OK
application/json
Terms and conditions: id, title, detail, and full content.
idstringOptionalExample:
Terms document identifier
64f8a0e2d5b7c9a1e3f4a5b6titlestringOptional
Title
detailstringOptional
Short detail or summary
contentstringOptional
Full content (e.g. HTML)
get/api/v1/employee/terms/pending
GET /api/v1/employee/terms/pending HTTP/1.1
Host: api.happyforce.com
Accept: */*
200
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": "text",
"detail": "text",
"content": "text"
}
]get
Lists all active terms and conditions for the employee's company
Authorizations
Responses
200
OK
application/json
Terms and conditions: id, title, detail, and full content.
idstringOptionalExample:
Terms document identifier
64f8a0e2d5b7c9a1e3f4a5b6titlestringOptional
Title
detailstringOptional
Short detail or summary
contentstringOptional
Full content (e.g. HTML)
get/api/v1/employee/terms/active
GET /api/v1/employee/terms/active HTTP/1.1
Host: api.happyforce.com
Accept: */*
200
OK
[
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": "text",
"detail": "text",
"content": "text"
}
]Last updated