People With Birthdays

People With Birthdays Documentation

People With Birthday [LIST]

People With Birthday [LIST]

Request

Endpoint

GET /api/v2/reports/people_with_birthdays
Content-Type: application/vnd.api+json

Body

Parameters

Filters

account_list_id

Type string

Description The account list to run the report on.

Required No

end_date

Type string

Description The date in which you would like the report to end on. This will be shifted to the end of the final period. Default: today

Required No

range

Type string

Description A string defining the number of periods and how long they should be with an indictor: (d)ay, (w)eek, (m)onth, (y)ear. Examples: 30d, 2w, 12m, 1y. Default: 4m

Required No

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
200 OK

Body

{
  "data": [
    {
      "id": "2021-11-21",
      "type": "reports_people_with_birthdays_periods",
      "attributes": {
        "created_at": "2021-11-23T14:37:31Z",
        "end_date": "2021-11-27",
        "start_date": "2021-11-21",
        "updated_at": null,
        "updated_in_db_at": null
      },
      "relationships": {
        "people": {
          "data": [

          ]
        }
      }
    },
    {
      "id": "2021-11-14",
      "type": "reports_people_with_birthdays_periods",
      "attributes": {
        "created_at": "2021-11-23T14:37:31Z",
        "end_date": "2021-11-20",
        "start_date": "2021-11-14",
        "updated_at": null,
        "updated_in_db_at": null
      },
      "relationships": {
        "people": {
          "data": [

          ]
        }
      }
    },
    {
      "id": "2021-11-07",
      "type": "reports_people_with_birthdays_periods",
      "attributes": {
        "created_at": "2021-11-23T14:37:31Z",
        "end_date": "2021-11-13",
        "start_date": "2021-11-07",
        "updated_at": null,
        "updated_in_db_at": null
      },
      "relationships": {
        "people": {
          "data": [

          ]
        }
      }
    },
    {
      "id": "2021-10-31",
      "type": "reports_people_with_birthdays_periods",
      "attributes": {
        "created_at": "2021-11-23T14:37:31Z",
        "end_date": "2021-11-06",
        "start_date": "2021-10-31",
        "updated_at": null,
        "updated_in_db_at": null
      },
      "relationships": {
        "people": {
          "data": [

          ]
        }
      }
    }
  ],
  "meta": {
    "sort": null,
    "filter": {
    }
  }
}

Fields

data

Type [People With Birthdays Period]

Description An array of People With Birthdays Periods

Last updated