Validation Error when posting example xml object

46 views
Skip to first unread message

Drew Venturini

unread,
Feb 7, 2018, 5:02:57 PM2/7/18
to Developer Group for QPP APIs
Hey everyone,

I am currently just using postman to post the example xml on found on the qpp website at https://cmsgov.github.io/qpp-submissions-docs/examples. My headers are fine because I get valid responses when working with json, but when posting the example xml this is my response:

{
    "error": {
        "type": "ValidationError",
        "message": "invalid measurement-set object",
        "details": [
            {
                "message": "field 'category' in MeasurementSet is missing",
                "path": "$.category"
            },
            {
                "message": "field 'submissionMethod' in MeasurementSet is missing",
                "path": "$.submissionMethod"
            },
            {
                "message": "field 'performanceStart' in MeasurementSet is missing",
                "path": "$.performanceStart"
            },
            {
                "message": "field 'performanceEnd' in MeasurementSet is missing",
                "path": "$.performanceEnd"
            }
        ]
    }
}

I have played around with the capitalization of everything because in the error MeasurementSet is capitalized but it is not in the example xml, and that also did not fix it. Does anyone know what the issue might be?

Sarah White

unread,
Feb 8, 2018, 10:42:42 AM2/8/18
to Drew Venturini, Developer Group for QPP APIs
Hi Drew,

The samples on the developer docs are outdated. Fixing them is on our to-do list. For now, I'd reference the public sandbox for examples and testing: https://qpp-submissions-sandbox.navapbc.com/#/

Sarah White
Business Analyst

--
You received this message because you are subscribed to the Google Groups "Developer Group for QPP APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qpp-apis+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/qpp-apis.
To view this discussion on the web visit https://groups.google.com/d/msgid/qpp-apis/1dd360f2-eb8f-46f4-99bc-fbe81e3f7d04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Drew Venturini

unread,
Feb 8, 2018, 10:46:17 AM2/8/18
to Sarah White, Developer Group for QPP APIs
Thank you Sarah!  Sorry for the confusion.
Reply all
Reply to author
Forward
0 new messages