Você está na página 1de 3

Cancellation

-

ht.tname.cancellationInitiate

Read:
http://54.68.111.22/web/api/v1.0/ui/system/ht/rest/list-output-
variables/133/ht.tname.cancellationInitiate

--- in_illustrationDetailVo ---


Submit:

http://54.68.111.22/web/api/v1.0/ui/system/ht/rest/list-output-
variables/133/ht.tname.cancellationInitiate

{
"out_cancellationType" : "manual",
"out_cancellationRequestor" : "customer",
"out_requestorComments" : "NA",
"out_cancellationReason" : "personal",
"out_requestorId" : 1
}

Comments:

Illustration to be displayed from input Var as in all HT
All fields to be posted are editable except out_cancellationRequestor and
out_requestorId
Out_cancellationRequestor will be a drop down list of constant values viz. :
Individual customer | Agent | Employee | Corporate Customer.
Based on selection of Cancellation Requestor , fetch list from api.


CustomerIndividual = http://54.68.111.22/web/api/v1.0/api/customer-indv/list


CustomerCorporate = http://54.68.111.22/web/api/v1.0/api/customer-corp/list
Agent = http://54.68.111.22/web/api/v1.0/agent/list
Employee = http://54.68.111.22/web/api/v1.0/employee


Requestor id will equal to id of the selected name from dropdown.

Show only relevant List of Requestor from dropdown.






ht.tname.cancellationConfirm


Read:

http://54.68.111.22/web/api/v1.0/ui/system/ht/rest/list-input-
variables/133/ht.tname.cancellationConfirm

--- in_illustrationDetailVo ---


Submit:

http://54.68.111.22/web/api/v1.0/ui/system/ht/rest/list-output-
variables/133/ht.tname.cancellationConfirm

{
"out_isCancelled" : true,
"out_supervisorComments" : "approved",
"out_supervisorId" : 1
}

Comments:

Illustration to be displayed as in rest all.

Supervisor id will be a dropdown selection of supervisor and alternate
supervisor. You can get the id of both by posting a read api.

To get this :
Copy agent id form illustration
Get the agent supervisor id and alternate supervisor id by posting
read api : http://54.68.111.22/web/api/v1.0/agent/read/{agentId from
illustration }


Based on user selection , pass on the supervisor or alternate
supervisor id.
Rest all fields are editable.











ht.tname.cancellationPremiumPaidPrincipalCheck


Read:

http://54.68.111.22/web/api/v1.0/ui/system/ht/rest/list-input-
variables/133/ht.tname.cancellationPremiumPaidPrincipalCheck



Submit:

http://54.68.111.22/web/api/v1.0/ui/system/ht/rest/list-output-
variables/133/ht.tname.cancellationPremiumPaidPrincipalCheck

{
"out_isPremiumPaidPrincipal" : true
}


Comments:

Illustration to be displayed form input as in rest all HT.
Just one checkbox ..no selection means false.

Você também pode gostar