moh-kenya / echis-2.0-integration

This Repo will be used for the Integration of echis,afya ke,client registry,KHIS integration and also any other future systems
2 stars 8 forks source link

UPD: Aligned Responses #123

Closed karimkkanji closed 1 year ago

karimkkanji commented 1 year ago

Aligned the responses to the following format:

 "data": {  
        "keyValue": "response" 
 },
 "errors": [{
        "message": "UPI was created however, the document could not be uploaded to eCHIS!",
        "path": [ "/client" ]
 }]

Either Key may contain null when there is no values to display

freddieptf commented 1 year ago

@karimkkanji can we close this in favor of #125? I see similar changes in the two PRs

karimkkanji commented 1 year ago

Sure @freddieptf.