Read Record

Read record for an application using record id:

URL : /api/v1/app/{app_id}/record/{record_id} Method : GET

Parameters

access_token (required, header parameter) Send this as header – e.g.“Authorization: Bearer access_token”

app_id (required, path parameter) Application Id App for where the record is present

record_id (required, path parameter) ID of the record you want to fetch

Sample Request

curl -H "Authorization: Bearer {access_token}" https://my.worksmart.app/api/v1/app/1234/record/1

Sample Response

{
   "data":{
      "f1":"Test Record"
   },
   "metadata":[
      {
         "app_id":"1234",
         "field_id":"f1",
         "field_name":"Test Field",
         "field_description":"",
         "type":"0",
         "type_name":"Text Field",
         "position":"2",
         "required":"1"
      }
   ]
}

Last updated