Pulling 0 beneficiaries

22 views
Skip to first unread message

Irene Kim

unread,
Jan 14, 2019, 9:47:04 AM1/14/19
to Developer Group for CMS Web Interface
Hello, got back from PTO and trying out the production environment and seeing 0 beneficiaries when I try to pull them? Here's the result I'm getting:

{
  "apiVersion": "1",
  "data": {
    "kind": "Beneficiary",
    "totalItems": 0,
    "currentItemCount": 0,
    "itemsPerPage": 25,
    "startIndex": 0,
    "items": []
  }
}

Branon Barrett

unread,
Jan 14, 2019, 12:00:55 PM1/14/19
to Developer Group for CMS Web Interface
Hi Irene,

From our logs it looks like you were trying to get beneficiaries for the 2017 performance year. Your organizationId for the 2018 performanceYear is 176093. The performanceYear can be obtained from the organization records returned in the https://qpp.cms.gov/api/submissions/web-interface/docs/#/Organization/get_organizations call, although the swagger documentation does not specifically call this out. We will be updating that this week and I'll re-post the link when it's available.

Irene Kim

unread,
Jan 14, 2019, 12:03:32 PM1/14/19
to Developer Group for CMS Web Interface
D'oh. I had no idea. Thank you!

Branon Barrett

unread,
Jan 14, 2019, 12:03:40 PM1/14/19
to Developer Group for CMS Web Interface
In the meantime here is and example response from the `GET /organizations` call with the performanceYear field:

{
"apiVersion": 1,
"data": {
"kind": "Organization",
"items": [{
"isAssociatedWithApm": false,
"id": 105325,
"tin": "000xxxxxx",
"name": "Fake Org",
"submissionUpdatedOn": null,
"lockedOn": null,
"acoId": "AXXX",
"acoName": null,
"acoReportingMechanism": null,
"acoType": null,
"submissionId": null,
"measurementSetId": null,
"groupSize": null,
"isTestOrg": false,
"nickname": null,
"duplicateAsGroup": false,
"hash": "88912728c0deba420852bd7c4921a427",
"associationType": null,
"groupReporting": false,
"cahpsRegistered": false,
"wiCancelled": false,
"wiCancelledOn": null,
"cahpsCancelled": false,
"cahpsCancelledOn": null,
"autoRegistered": false,
"performanceYear": 2018
}]
}
}


Branon Barrett

unread,
Jan 14, 2019, 1:46:36 PM1/14/19
to Developer Group for CMS Web Interface
The client example has been updated with an example of getting the organization by performanceYear: https://github.com/CMSgov/beneficiary-reporting-api-client-examples/blob/master/node-client/index.js
Reply all
Reply to author
Forward
0 new messages