Promise to Pay Transaction Service REST Endpoints

Promise to Pay Services/Promise to Pay Transaction Service
This service is used to perform promise Transaction Service operations.
Add a new promise
Method: post
Path: /obedm-ptp-services/ptp/create/{accountNumber}
Add a new Promise to pay
Method: post
Path: /obedm-ptp-services/ptp
Appropriate Payment Against promise
Method: put
Path: /obedm-ptp-services/ptp/appropriate
Cancel promise with Reason and Notes
Method: post
Path: /obedm-ptp-services/ptp/cancel
Cancel PTPs by Account ID
Method: get
Path: /obedm-ptp-services/ptp/cancel/{acctId}
Display upcoming promise detail by user id
Method: get
Path: /obedm-ptp-services/upcomingpromise
Fetch Earliest promise details for Dialer batch.
Method: get
Path: /obedm-ptp-services/ptp/fetchEarliestPromise
Fetch promise and its history using promise Id.
Method: get
Path: /obedm-ptp-services/ptp/getPtpById/{ptpId}
Fetch PTP and its history using account number.
Method: get
Path: /obedm-ptp-services/ptp/fetch/{accountNumber}
Get Additional Account Information by Account ID
Method: get
Path: /obedm-ptp-services/ptp/acct/addn/{acctId}
Get All promise Detail by Account ID
Method: get
Path: /obedm-ptp-services/ptp/{type}
Get promise History based on account id and case id
Method: post
Path: /obedm-ptp-services/ptphistory
Get Status Count for Each Status
Method: post
Path: /obedm-ptp-services/ptp/count
Health Check of promise Service
Method: get
Path: /obedm-ptp-services/healthcheck
Retrieve Quick promise by Account ID
Method: get
Path: /obedm-ptp-services/ptp
Simulates a New Promise Schedule
Method: post
Path: /obedm-ptp-services/ptp/simulate