{"swagger":"2.0","info":{"description":"Application Status Update API","version":"1.0.0","title":"API DOCUMENTATION for Application Status Update","contact":{"email":"SudhakarShindeS@CALSAWS.org"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"host":"virtserver.swaggerhub.com","basePath":"/sssayali/getApplicationStatusUpdateAPI/1.0.0","schemes":["https"],"paths":{"/putApplicationStatusUpdate":{"put":{"tags":["application"],"summary":"Application Status Update","parameters":[{"in":"body","name":"Application Status","description":"Application Status to be updated","required":true,"schema":{"$ref":"#/definitions/ApplicationStatusRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ApplicationStatusResponse"}},"400":{"description":"tech failure because the required data attribute was not supplied.","schema":{"$ref":"#/definitions/ApplicationStatusResponse"}},"404":{"description":"the required data attribute cannot be found in the CalSAWS System.","schema":{"$ref":"#/definitions/ApplicationStatusResponse"}},"422":{"description":"there is a problem with the request for the required data attribute and the Integration Server is unable to process it.","schema":{"$ref":"#/definitions/ApplicationStatusResponse"}},"500":{"description":"Return HTTP response code 500 if there is an unknown internal server error that occurred while trying to process the request.","schema":{"$ref":"#/definitions/ApplicationStatusResponse"}},"default":{"description":"Invalid Application. Failure to update     status information in Portal from CalSAWS.","schema":{"$ref":"#/definitions/ApplicationStatusResponse"}}}}}},"definitions":{"ApplicationStatusRequest":{"type":"object","required":["appNumber","appStatus"],"properties":{"appNumber":{"type":"string","description":"Application Number.","minLength":10,"maxLength":10},"caseNumber":{"type":"string","description":"Case Number.","minLength":7,"maxLength":7},"appStatus":{"type":"string","description":"The appStatus parameter would be mapped to any 1 of the below set of status. DT - Data Transfer (Linked to a case and worker is processing). Will display as 'Received' on Portal. NA - Not Accepted(Worker Rejecting the application. Will display as 'Not Accepted' on Portal).TR - Transferred (EDBC is run and  either benefits are issued or case/person is denied. Will display as 'Processed' on Portal).","minLength":2,"maxLength":2},"applicationDate":{"type":"string","format":"date","description":"Application Date"}}},"ApplicationStatusResponse":{"type":"object","required":["data","status"],"properties":{"status":{"type":"string","description":"Response status"},"data":{"type":"object","description":"Response Object","$ref":"#/definitions/ResponseObject"}}},"ResponseObject":{"type":"object","required":["responseCode","responseDescription","responseStatus"],"properties":{"responseCode":{"type":"string"},"responseDescription":{"type":"string"},"responseStatus":{"type":"string","description":"Value will be success/ failure."}}}}}