-
Notifications
You must be signed in to change notification settings - Fork 0
services baasicApiService
mzilic edited this page May 20, 2015
·
11 revisions
This service is used to perform low level model or option transformations before they are sent to the Baasic back-end.
Parses Baasic Api pagination, sorting and search parameters.
Example:
baasicApiService.findParams({
pageNumber:1,
pageSize:10
});
Parses specified key parameters; initial object can be expanded with additional parameters.
Example:
baasicApiService.getParams((
'<value>',
{additionalOptions: '<option>'},
'<property-name>'
));
Performs create resource transforms on an object so that it can be safely expanded with additional properties.
Example:
baasicApiService.createParams({});
Performs update resource transforms on transforms an object so that it can be safely expanded with additional properties.
Example:
baasicApiService.updateParams({});
Performs remove resource transforms on transforms an object so that it can be safely expanded with additional properties.
Example:
baasicApiService.removeParams({});