Introduction
The dmp module allows a Mosel model running in a supported Decision Management Platform (DMP) Component (FICO® Xpress Insight or FICO® Xpress Executor) to interact with components and webservices within the same DMP Solution, and restricted parts of DMP Manager pertaining to the solution. Using the dmpresource type supplied by the dmp module, you will be able to make HTTP requests to these resources that will be automatically authorized with appropriate credentials, for example:
declarations mycomponent: dmpresource end-declarations dmpinitcomp(mycomponent, "Xpress Executor") if mycomponent.status<>DMP_OK then writeln('Component not found') else httpStatusCode := dmphttpget(mycomponent, "/rest/runtime/status", "status.json") end-if
This manual will not cover how to interact with specific DMP webservices; the developer should consult the documentation for the resource they are trying to call for details of how to formulate the HTTP request and interpret the response.
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.