POST
/
admin
/
progress_report
curl --request POST \
  --url https://api.helpyousponsor.com/v1/admin/progress_report \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "date_from": "2022-01-01",
  "date_to": "2022-12-31",
  "hysform_id": "1",
  "program_id": 1,
  "pageIndex": 1,
  "pageSize": 10,
  "type": "donor",
  "client_id": "1"
}'
{
  "fields": [
    {}
  ],
  "organization": {},
  "forms": [
    {}
  ],
  "total": 100,
  "profile_fields": [
    {}
  ],
  "date_from": "2022-01-01",
  "date_to": "2022-12-31"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
date_from
string
required
Example:

"2022-01-01"

date_to
string
required
Example:

"2022-12-31"

hysform_id
string
required
Example:

"1"

program_id
integer
required
Example:

1

pageIndex
integer
required
Example:

1

pageSize
integer
required
Example:

10

type
string
required
Example:

"donor"

client_id
string
Example:

"1"

Response

200
application/json
Successful operation
fields
object[]
organization
object
forms
object[]
total
integer
Example:

100

profile_fields
object[]
date_from
string
Example:

"2022-01-01"

date_to
string
Example:

"2022-12-31"