makeURL()
Creates one or more URL to specific SuiteProjects Pro pages.
Syntax
MakeURLResult[] makeURLResults = stub.makeURL(MakeURLRequest[] makeURLRequests);
Usage
Use the makeURL()
command to create URLs to specific SuiteProjects Pro page.
Arguments
Name |
Type |
Description |
---|---|---|
|
|
An array of |
Response
makeURLResult[]
— Array of MakeURLResult objects.
Sample Code — C#
oaEnvelope envelope = new oaEnvelope();
envelope.id = "1";
MakeURLRequest mur = new MakeURLRequest();
mur.uid = _svc.SessionHeaderValue.sessionId;
mur.app = "te";
mur.page = "list-envelope-receipts";
mur.arg = envelope;
MakeURLResult[] results = _svc.makeURL(new MakeURLRequest[] { mur });
Sample Code — Java
String sessionId = loginResult.getSessionId();
MakeURLRequest make = new MakeURLRequest();
make.setUid(sessionId);
make.setApp("te");
make.setPage( "list-envelope-receipts" );
oaEnvelope envelope = new oaEnvelope();
envelope.setId("1");
make.setArg( envelope );
// make url
MakeURLResult[] mkresults = stub.makeURL(new MakeURLRequest[] { make });