Home > For Developers > Smart Object Data APIs > Get a List of Smart Object Records

Get a List of Smart Object Records

Get a list of records stored in a Smart Object.

 

Prerequisites

Details

Method: GET

URLhttps://us.pulpstream.com/vfr/api/smartObjectRecords/{objectId}?{queryParameters}

Headers:

tenantId: {tenantId}

apiKey: {apiKey}

Content-Type: application/json

 

Query Parameters:

Use these parameters to filter and order the records. 
Separate parameters with the & sign.

Sample parameters:

Response:

Here is a sample response for a GET of a smart object data that holds a Client information.

{
 "message":"",
 "responseBody":[             // start of record list
 {
   "id":"589...4d7c0",
   "smartObjectId":"d5b...c325",
   "name":"ABC Corporation",
    ...
   "string1":null,            // text field ("string1" would be field name)
   "intnumber1":0,            // integer field
   "double1":0.0,             // decimal field
   "date1":null,              // date field

   "boolean1":false,          // checkbox field
   "smartObject1":null,       // reference to another smart object record
   "smartObject1Name":null,   // display name for the referenced record
    ...
   "dateCreated":"2016-04-29T06:40:31.000+0000",
   "createdBy":"2d07...f71f67",
   "createdByMap":null,
   "dateModified":null,
   "modifiedBy":null,
   "userObject1":null,
   "userObject1Name":null,
   "locationId":null
 },
 {
   "id":"4c7...eefe",  // record ID #2
   ...record fields...
 },
 ...more records...
 ]

}