pucardotorg / Dristi_kerala

For Pucar Solutions team
0 stars 3 forks source link

QA || Application Update API Error in rescheduling request for hearing #741

Open bhuvanyuguru opened 2 months ago

bhuvanyuguru commented 2 months ago

After re-scheduling request for hearing, API error found.

URL : https://dristi-kerala-qa.pucar.org/application/v1/update?tenantId=kl&_=1724337022225

response: { "ResponseInfo": null, "Errors": [ { "id": null, "parentId": null, "code": "WORKFLOW_SERVICE_EXCEPTION", "message": null, "description": null, "params": null } ] }

CURL : curl 'https://dristi-kerala-qa.pucar.org/application/v1/update?tenantId=kl&_=1724337022225' \ -H 'accept: application/json, text/plain, */*' \ -H 'accept-language: en-GB,en;q=0.9' \ -H 'content-type: application/json;charset=UTF-8' \ -H 'origin: https://dristi-kerala-qa.pucar.org' \ -H 'priority: u=1, i' \ -H 'referer: https://dristi-kerala-qa.pucar.org/digit-ui/citizen/submissions/submissions-create?filingNumber=F-C.1973.002-2024-000312&applicationNumber=APPLICATION-NO-2024-08-22-000010' \ -H 'sec-ch-ua: "Not)A;Brand";v="99", "Microsoft Edge";v="127", "Chromium";v="127"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'sec-ch-ua-platform: "Linux"' \ -H 'sec-fetch-dest: empty' \ -H 'sec-fetch-mode: cors' \ -H 'sec-fetch-site: same-origin' \ -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0' \ --data-raw '{"application":{"responseRequired":false,"id":"7c3bc4b1-fa62-4697-9294-10c2ccb06a35","tenantId":"kl","caseId":"daf1a3df-e9b7-4a38-a57c-2f6a2b734451","filingNumber":"F-C.1973.002-2024-000312","cnrNumber":"KLJL01-000312-2024","referenceId":null,"createdDate":"22-08-2024","createdBy":null,"onBehalfOf":["b94c8ba3-441c-47cd-93bf-5fa7069e6142"],"applicationType":"RE_SCHEDULE","applicationNumber":"APPLICATION-NO-2024-08-22-000010","issuedBy":null,"status":"PENDINGESIGN","comment":[],"isActive":true,"statuteSection":{"id":"07872320-f001-4332-a077-16b46f463efa","tenantId":"kl","statute":null,"sections":null,"subsections":null,"additionalDetails":null,"auditdetails":{"createdBy":"20e88bf0-734f-417a-9182-294a627203e9","lastModifiedBy":"20e88bf0-734f-417a-9182-294a627203e9","createdTime":1724336983970,"lastModifiedTime":1724336983970},"strSections":null,"strSubsections":null},"documents":[{"documentType":"SIGNED","fileStore":"58698d72-7ef1-4f9e-b904-1bfe43273ae3"}],"additionalDetails":{"formdata":{"comments":{"text":"test test "},"submissionType":{"code":"APPLICATION","name":"APPLICATION"},"applicationDate":"2024-08-22","applicationType":{"name":"APPLICATION_TYPE_RE_SCHEDULE","type":"RE_SCHEDULE","isactive":true},"changedHearingDate":"2024-09-01","initialHearingDate":"2024-08-30","reschedulingReason":{"id":2,"code":"ILLNESS","name":"ILLNESS","isactive":true}},"hearingId":"HEARING-ID-2024-08-22-000071","partyType":"complainant.primary","onBehalOfName":"Resp Lit","isResponseRequired":true},"auditDetails":{"createdBy":"20e88bf0-734f-417a-9182-294a627203e9","lastModifiedBy":"20e88bf0-734f-417a-9182-294a627203e9","createdTime":1724336983970,"lastModifiedTime":1724336983970},"workflow":{"action":"PAY","comments":"Workflow comments","documents":[{}],"assignes":null,"rating":null}},"tenantId":"kl","RequestInfo":{"apiId":"Rainmaker","authToken":"ac224273-7a54-40e1-9511-09fa5e8e90ae","userInfo":{"id":403,"uuid":"20e88bf0-734f-417a-9182-294a627203e9","userName":"7012345504","name":"Bhuvi Guru","mobileNumber":"7012345504","emailId":null,"locale":null,"type":"CITIZEN","roles":[{"name":"HEARING_VIEWER","code":"HEARING_VIEWER","tenantId":"kl"},{"name":"CASE_VIEWER","code":"CASE_VIEWER","tenantId":"kl"},{"name":"DEPOSITION_VIEWER","code":"DEPOSITION_VIEWER","tenantId":"kl"},{"name":"Citizen","code":"CITIZEN","tenantId":"kl"},{"name":"ADVOCATE_ROLE","code":"ADVOCATE_ROLE","tenantId":"kl"},{"name":"APPLICATION_CREATOR","code":"APPLICATION_CREATOR","tenantId":"kl"},{"name":"SUBMISSION_DELETE","code":"SUBMISSION_DELETE","tenantId":"kl"},{"name":"DEPOSITION_CREATOR","code":"DEPOSITION_CREATOR","tenantId":"kl"},{"name":"SUBMISSION_RESPONDER","code":"SUBMISSION_RESPONDER","tenantId":"kl"},{"name":"ORDER_VIEWER","code":"ORDER_VIEWER","tenantId":"kl"},{"name":"CASE_EDITOR","code":"CASE_EDITOR","tenantId":"kl"},{"name":"SUBMISSION_CREATOR","code":"SUBMISSION_CREATOR","tenantId":"kl"},{"name":"APPLICATION_VIEWER","code":"APPLICATION_VIEWER","tenantId":"kl"},{"name":"TASK_VIEWER","code":"TASK_VIEWER","tenantId":"kl"},{"name":"CASE_CREATOR","code":"CASE_CREATOR","tenantId":"kl"}],"active":true,"tenantId":"kl","permanentCity":null},"msgId":"1724337022225|en_IN","plainAccessRequest":{}}}'

Image

bhuvanyuguru commented 2 months ago

only API Error, no flow ERROR.