BaseRepeaterBootstrap.callWebApi Method
Calls the server web API with the specified path, payload, and type.
Parameters
- path
-
Type: RequestPath
The path to the controller/action to be executed.
- options
-
Type: Object
(optional) The options for this request. The following properties are checked:
options.data - the payload for the server.
options.pathParameters - an array with any parameters to be applied to the path with string.format() (this is for
requests that require url modification).
Optional: True
- type
-
Type: RequestType
(optional default=POST) The type of the request (GET/POST/PUT/DELETE).
Return Value
Type: jQuery.Promise
A promise object that is resolved when the call is complete.