We have a main account and a number of sub accounts. I am trying to use the API to generate a report on number of envelopes sent without having to run reports on each manually.
I just got the API going and I am running the end point:
restapi/v2.1/accounts/{account id}
I am getting the following information back:
'planStartDate': '2023-07-26T17:00:00.0000000Z',
'planEndDate': '2024-07-25T17:00:00.0000000Z',
'billingPeriodStartDate': '2024-10-01T07:00:00.0000000Z',
'billingPeriodEndDate': '2024-11-01T07:00:00.0000000Z',
'billingPeriodEnvelopesSent': '119',
which does not match our contract dates (7/25 was months ago). Nor does it match the number of envelopes sent during the last contact (certainly not if the billing period is only this month). Thoughts? Am I interpreting this data incorrectly, or is there a better endpoint I should be using?