I am submitting the below request but getting error. Below is the error details along with the request. If I and sending this request to
validate-submission API then I am getting the successful response.
Can you please let me know what is the issue with this request asap so that I can correct this during the developer preview period.
Error:
{
"error": {
"type": "ValidationError",
"message": "invalid submission object",
"details": [
{
"message": "field 'taxpayerIdentificationNumber' in Submission is invalid: taxpayerIdentificationNumber cannot be empty if entityType is individual or group",
"path": "$.taxpayerIdentificationNumber"
},
{
"message": "field 'entityType' in Submission is missing",
"path": "$.entityType"
},
{
"message": "field 'performanceYear' in Submission is missing",
"path": "$.performanceYear"
}
]
}
}
Request:
{
"submission": {
"entityType": "individual",
"taxpayerIdentificationNumber": "000123499",
"nationalProviderIdentifier": "0760122099",
"performanceYear": 2019
},
"measurements": [
{
"measureId": "PI_INFBLO_1",
"value": true
},
{
"measureId": "PI_ONCDIR_1",
"value": true
},
{
"measureId": "PI_ONCACB_1",
"value": true
},
{
"measureId": "PI_EP_1",
"value": {
"numerator": 1956,
"denominator": 2451
}
},
{
"measureId": "PI_HIE_1",
"value": {
"numerator": 4267,
"denominator": 4618
}
},
{
"measureId": "PI_HIE_4",
"value": {
"numerator": 4618,
"denominator": 4753
}
},
{
"measureId": "PI_PEA_1",
"value": {
"numerator": 2029,
"denominator": 2170
}
},
{
"measureId": "PI_PHCDRR_1",
"value": true
},
{
"measureId": "PI_PHCDRR_2",
"value": true
},
{
"measureId": "PI_PPHI_1",
"value": true
},
{
"measureId": "PI_PHCDRR_4",
"value": true
},
{
"measureId": "PI_PHCDRR_5",
"value": true
},
{
"measureId": "PI_PHCDRR_5",
"value": true
}
],
"category": "pi",
"submissionMethod": "registry",
"performanceStart": "2019-01-01",
"performanceEnd": "2019-12-31",
"cehrtId": "0015EJR3MPX3HHA",
"programName": "mips",
"practiceId": ""
}