I am praying that someone can help me. I had everything working in the test bed API, but now that I have switched to the production space I am getting "HTTP/1.1 422 Unprocessable Entity" errors.
My authentication seems to work, but I am getting unprocessable entity errors. I have included my curlout and curl text below if anyone can help me.
Help, anyone? A huge thanks in advance.
{
"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"
},
{
"message": "$.entityType is not a recognized field",
"path": "$"
},
{
"message": "$.taxpayerIdentificationNumber is not a recognized field",
"path": "$"
},
{
"message": "$.nationalProviderIdentifier is not a recognized field",
"path": "$"
},
{
"message": "$.performanceYear is not a recognized field",
"path": "$"
},
{
"message": "$.measurementSets is not a recognized field",
"path": "$"
}
]
}
}
And here is my curl code that worked in the test bed URL but not in the production URL. I have blanked out the ID's with XXXXs:
{
"entityType": "individual",
"taxpayerIdentificationNumber": "XXXX",
"nationalProviderIdentifier": "XXXX",
"performanceYear": 2017,
"measurementSets": [
{
"category": "quality",
"submissionMethod": "registry",
"performanceStart": "2017-01-01",
"performanceEnd": "2017-12-31",
"measurements": [
{
"measureId": "021",
"value": {
"isEndToEndReported": false,
"performanceMet": 54,
"performanceNotMet": 0,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 54,
"performanceRate": 100,
"reportingRate": 100
}
},
{
"measureId": "043",
"value": {
"isEndToEndReported": false,
"performanceMet": 24,
"performanceNotMet": 0,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 100,
"reportingRate": 100
}
},
{
"measureId": "044",
"value": {
"isEndToEndReported": false,
"performanceMet": 16,
"performanceNotMet": 0,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 4,
"eligiblePopulation": 20,
"performanceRate": 100,
"reportingRate": 100
}
},
{
"measureId": "164",
"value": {
"isEndToEndReported": false,
"performanceMet": 1,
"performanceNotMet": 23,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 4.17,
"reportingRate": 100
}
},
{
"measureId": "165",
"value": {
"isEndToEndReported": false,
"performanceMet": 0,
"performanceNotMet": 24,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 0,
"reportingRate": 100
}
},
{
"measureId": "166",
"value": {
"isEndToEndReported": false,
"performanceMet": 0,
"performanceNotMet": 24,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 0,
"reportingRate": 100
}
},
{
"measureId": "167",
"value": {
"isEndToEndReported": false,
"performanceMet": 0,
"performanceNotMet": 24,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 0,
"reportingRate": 100
}
},
{
"measureId": "168",
"value": {
"isEndToEndReported": false,
"performanceMet": 0,
"performanceNotMet": 24,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 0,
"reportingRate": 100
}
},
{
"measureId": "226",
"value": {
"isEndToEndReported": false,
"performanceMet": 48,
"performanceNotMet": 3,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 51,
"performanceRate": 94.12,
"reportingRate": 100
}
},
{
"measureId": "445",
"value": {
"isEndToEndReported": false,
"performanceMet": 0,
"performanceNotMet": 24,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 0,
"reportingRate": 100
}
},
{
"measureId": "STS1",
"value": {
"isEndToEndReported": false,
"performanceMet": 1,
"performanceNotMet": 23,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 3.7393,
"reportingRate": 100
}
},
{
"measureId": "STS5",
"value": {
"isEndToEndReported": false,
"performanceMet": 0,
"performanceNotMet": 4,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 4,
"performanceRate": 0,
"reportingRate": 100
}
},
{
"measureId": "STS7",
"value": {
"isEndToEndReported": false,
"performanceMet": 4,
"performanceNotMet": 20,
"eligiblePopulationExclusion": 0,
"eligiblePopulationException": 0,
"eligiblePopulation": 24,
"performanceRate": 16.67,
"reportingRate": 100
}
}
]
}
]
}