Skip to main content
GET
/
v1
/
pvt
/
Objectives
/
all
Return all objectives (active and inactive) for the client
curl --request GET \
  --url https://api.bonifiq.com.br/v1/pvt/Objectives/all \
  --header 'Authorization: Basic <encoded-value>'
{
  "Items": [
    {
      "Title": "<string>",
      "Description": "<string>",
      "AmountOfPoints": 123,
      "Active": true,
      "Details": "<unknown>",
      "Id": 123
    }
  ],
  "TotalItemCount": 123,
  "PageSize": 123,
  "PageNumber": 123,
  "HasNextPage": true,
  "HasError": true,
  "ErrorMessages": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Response

200 - application/json

Base List response model methods

Items
object[] | null

Collection with the found entities on the bonifiq DB.

TotalItemCount
integer<int32>

Total of rewards Configurations founds.

PageSize
integer<int32>

Pagination size

PageNumber
integer<int32>

Actual Page Number

HasNextPage
boolean

true if there is another page to be load.

HasError
boolean

If true the request had an error.

ErrorMessages
string[]

List with the error messages