OlapicHandler Class Reference
| Inherits from | NSObject |
| Declared in | OlapicHandler.h |
Instance Methods
createEntityFromJSON:
Create entity from an API JSON response
- (id)createEntityFromJSON:(NSDictionary *)JSONParameters
- JSON
The JSON dictionary
Return Value
An entity object
Availability
v1.0
Declared In
OlapicHandler.hextractEntitiesFromRequest:
Extract entities from API response
- (NSDictionary *)extractEntitiesFromRequest:(NSDictionary *)requestParameters
- request
The request information
Return Value
A dictionary with the entities
Availability
v1.0
Declared In
OlapicHandler.hgetBulkRequest
Get an instance of the object for bulk requests
- (OlapicBulkRequest *)getBulkRequestReturn Value
A OlapicBulkRequest instance
Availability
v1.0
Declared In
OlapicHandler.hgetForms:
Get embedded forms URLs from an API JSON response
- (NSDictionary *)getForms:(NSDictionary *)formsParameters
- forms
The form’s information from the API
Return Value
A dictionary with the form’s URLs
Availability
v1.0
Declared In
OlapicHandler.hgetResources:
Get embedded resource URLs from a JSON API response
- (NSDictionary *)getResources:(NSDictionary *)embeddedParameters
- embedded
The API JSON response
Return Value
A dictionary with the resource’s URLs
Availability
v1.0
Declared In
OlapicHandler.hgetSDK
Get the OlapicSDK reference
- (OlapicSDK *)getSDKReturn Value
A reference to the SDK singleton
Availability
v1.0
Declared In
OlapicHandler.h