Test Service

All about the endpoints

Endpoints

METHODAPI ENDPOINTFUNCTION
POST/v1/open/followupoutcomegetEnvironment()

createFollowupoutcome()

  1. When the api is hit, the flow goes to followupservice.createFollowupOutcome() and gets callback id, incident id and follow up type id.
  2. If callback id is not null and greater than 0 , then callback task and incident are fetched using crudservice.getObject () and if followup type is not null and is disconnected (1003) then the no. of disconnected is incremented accordingly else if the follow up type is not null and is no answer (1001) then the no.of noanswer is incremented accordingly
  3. If the FollowupOutcomeResponse message is null or empty then the follow up outcome is fetched using crudService.getObject(), with the follow up outcome details followuptask, incident and callbacktask is created using ‘crudService.create()’ and response message “Followup Outcome Created!” is returned.
Top