getDefaultGUIActions
Gets the default GUI actions for a new record.
Parameters
guiId is the ID of the GUI to retrieve.
Returns
An array of transition objects is returned.
Errors
- GuiDoesNotExistException
- A GUI with the given ID does not exist or the user does not have access to the form.
- java.lang.Exception
- A system error occurred when the request was being processed.
Sample request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.tririga.com">
<soapenv:Body>
<ws:getDefaultGUIActions>
<ws:guiId>10002954</ws:guiId>
</ws:getDefaultGUIActions>
</soapenv:Body>
</soapenv:Envelope>
Sample response
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<getDefaultGUIActionsResponse xmlns="http://ws.tririga.com">
<out>
<ns1:Transition xmlns:ns1="http://dto.ws.tririga.com">
<action xmlns="http://dto.ws.tririga.com">triCreateDraft</action>
<actionId xmlns="http://dto.ws.tririga.com">1</actionId>
<actionSequence xmlns="http://dto.ws.tririga.com">0</actionSequence>
<label xmlns="http://dto.ws.tririga.com">Create Draft</label>
<nextState xmlns="http://dto.ws.tririga.com">triDraft</nextState>
<subActions xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
</ns1:Transition>
</out>
</getDefaultGUIActionsResponse>
</soap:Body>
</soap:Envelope>