Retrieves an object's or the specified datum from Gigya's Data Store.
Note: If you plan on integrating the DS, we highly recommend reading the Data Store Guide.
The DS is a premium platform that requires separate activation. If the DS is not part of your site package please contact your Gigya Account Manager or email email@example.com.
us1.gigya.com - For the US data center.
eu1 - For the European data center.
au1 - For the Australian data center.
ru1 - For the Russian data center.
cn1 - For the Chinese data center.
If you are not sure of your site's data center, see Finding Your Data Center.
|||oid||string||The ID of the object to retrieve.|
|||type||string ||A string indicating the type of the object, equivalent to a name classifying objects as being of the same type; used in searches and when applying schemas.|
||fields||string||A comma separated list of fields to retrieve. Acceptable values for this parameter:|
- Data field names, specifying the the complete path, i.e. album.photo.photoTitle_t
- Partial field names (fields that contain only a part of the path to sub-objects, i.e. album.photo) - indicate to retrieve everything below that path.
- "*" - indicates to retrieve the entire stored object.
||UID||string||If the object is associate with a user, then the ID of the user should be specified and forms a compound key together with the oid.|
* If you call this method through an external OAuth2 SDK, then the UID may be passed implicitly within the access_token.
||Determines the format of the response. The options are:
- json (default)
- jsonp - if the format is jsonp then you are required to define a callback method (see parameter below).
||This parameter is required only when the format parameter is set to jsonp (see above). In such cases this parameter should define the name of the callback method to be called in the response, along with the jsonp response data.
||The default value of this parameter is false, which means that the HTTP status code in Gigya's response is always 200 (OK), even if an error occurs. The error code and message is given within the response data (see below). If this parameter is set to true, the HTTP status code in Gigya's response would reflect an error, if one occurred.
Each REST API request must contain identification and authorization parameters.
Please refer to the Authorization Parameters section for details.
||The HTTP response code of the operation. Code '200' indicates success.
||The result code of the operation. Code '0' indicates success, any other number indicates failure. For a complete list of error codes, see the Error Codes table.
||A brief explanation of the status code.
||A short textual description of an error, associated with the errorCode, for logging purposes. This field will appear in the response only in case of an error.
||This field will appear in the response only in case of an error and will contain the exception info, if available.
||The full name of the event that triggered the response. This is an internally used parameter that is not always returned and should not be relied upon by your implementation.
||Unique identifier of the transaction, for debugging purposes.
||The time of the response represented in ISO 8601 format, i.e., yyyy-mm-dd-Thh:MM:ss.SSSZ or
|data||JSON object||The object data retrieved from Gigya's Data Store.|
|oid||string||The ID of the object|
|UID||string||If the object is associate with a user, then the ID of the user.|
|lastUpdated||long||The time of the latest change in this object, in Java time (number of milliseconds since Jan. 1st 1970).|
|lastUpdatedTime||string||The time of the latest change in this object, in ISO 8601 format.|
|created||long||The time of this object's creation, in Java time (number of milliseconds since Jan. 1st 1970).|
|createdTime||string||The time of this object's creation, in ISO 8601 format.|
"Height": "179 cms",
"Weight": "94.1 kgs"