Tool module
Access all of the API endpoints under the 'tool' path. Each module is loaded via {@link \APAPI\APLoader} and passed a reference to a {@link \APAPI\APAPI} instance to use. In practice, usage of SDK modules is as simple as:
$api->tool->initialize();
see |
---|
__construct($pxAPIOb)
When a module is requested via the API base class, it is automatically passed a reference to a {@link \APAPI\APAPI} instance to use.
getTCN() : mixed
Get the current TCN Loan list.
mixed
getTCNTemplates() : mixed
Get the TCN templates available to the current instance.
mixed
getUser(string $loanId, string $tool, string $expand = '') : mixed
Run one of the user tools against a loan's borrower and coborrower.
string
ID of the loan associated to the borrower
string
User tool to run
string
Other tool options
mixed
postTCN(array $data) : mixed
Add the specified loan to TCN telephone campaign. The current user must have a TCN account already set up and with good standing with TCN.
array
TCN data
mixed
postTCNInitiate(array $data) : mixed
Initiate a TCN campaign for the current loan list.
array
TCN tool data
mixed
postCollectorQueue(array $data) : mixed
Add the specified loan to the collector queue.
array
Array with the loan ID to add to the collector queue
mixed
postEmailRecipients(array $data) : mixed
Add the specified loan to the list of email recipients.
array
Array with the loan ID to add to the list of email recipients
mixed
api