Execute
Executes the Execute type method on the SmartObject with the data posted.
Value | Notes | |
---|---|---|
URI | {Service Root URI}{Service Path} Example: http://k2.denallix.com:8888/SmartObjectServices/REST/Samples/Employee/Disable |
The SmartObject Key can contain multiple properties separated by ampersand (&), for example Id1=100&Id2=2001 if you wish to update multiple records at once. |
Method | POST | This method cannot be called via URI construction in the address bar of standard browsers. Tooling such as Fiddler or .NET code may be required to execute the POST. |
Request Headers | Content-type: application/xml | Ensure that the request has the correct Content-type set |
Request Body |
XML string representing the SmartObject record to create Example Body data for a a hypothetical Employee SmartObject, to call the disable method with a specific username <Employee> <Username>DENALLIX\Rick</Username> </Employee> |
The request body contains the SmartObject item to execute, represented as XML. |
Return Type |
The method may return data in XML format, if the underlying execute method is configured to return data. |
Due to the asynchronous nature of the POST, a successful call may not return anything depending on the tooling used to execute the POST. |