Single Record Query APIAPI Explorer

Introduction

API Introduction

You can query one record from a certain form through the API.

API Calling

Call one record from a certain form on a specific data ID.

Request URL: https://api.jodoo.com/api/v5/app/entry/data/get

Request Frequency: 30 times/second

Request Method: POST

Request Parameters:

Parameter

Type

Required

Description

app_id

String

Yes

App ID

entry_id

String

Yes

Form ID

data_id

String

Yes

Data ID

Sample Request:

{
   "app_id": "59264073a2a60c0c08e20bfb",
   "entry_id": "59264073a2a60c0c08e20bfd",
   "data_id": "59e9a2fe283ffa7c11b1ddbf"
}

Response:

Parameter

Type

Description

data

JSON

One record

Sample Response:

{
    "data": {
        "_id": "59e9a2fe283ffa7c11b1ddbf",  
        "appId": "59264073a2a60c0c08e20bfb",
        "entryId": "59264073a2a60c0c08e20bfd",
        "creator": {
            "name": "David",
            "username": "David",
            "status": 1,
            "type": 0,
            "departments": [1, 3],
            "integrate_id": "David"
        },
        "updater": {
            "name": "David",
            "username": "David",
            "status": 1,
            "type": 0,
            "departments": [1, 3],
            "integrate_id": "David"
        },
        "createTime": "2017-10-20T22:41:51.430Z", // Created time
        "updateTime": "2017-10-20T11:12:15.293Z", // Updated time
        "_widget_1432728651402": "Jodoo",  // Single Line
        "_widget_1432728651403": 100, // Number
        "_widget_1432728651404": "Jodoo is a powerful and easy-to-use app development platform that can quickly turn your ideas into apps", // Multi Line
        "_widget_1432728651405": "Option 1", // Radio, Single Select
        "_widget_1432728651406": [ // Checkbox, Multi Select
            "Option 1, Option 2, Option 3"
        ],
        "_widget_1432728651407": "2018-01-01T10:10:10.000Z", // Date&Time
        "_widget_1432728651408": { // RelatedData
            "id": "5b28effa49b561455dfda91e",
            "key": "Jodoo"
        },
        "_widget_1432728651409": [ // Image
            {
                "name": "image.jpg",
                "size": 262144,
                "mime": "image/jpeg",
                "url": "https://files.jodoo.com/lepxaifzcapghupffcaswikmhnyp"
            }
        ],
        "_widget_1432728651410": [ // Attachment
            {
                "name": "Product Documentation.pdf",
                "size": 524288,
                "mime": "application/pdf",
                "url": "https://files.jodoo.com/bogrebbkdbkfsbuldnjujoenclle"
            }
        ],
        "_widget_1432728651411": { // Signature
            "name": "image.png",
            "size": 262144,
            "mime": "image/png",
            "url": "https://files.jodoo.com/sxbikbrchwlylrgqwyfkjbjmuncp"
        },
                "_widget_1432728651414": { // Member
            "name": "David",
            "username": "David",
            "status": 1,
            "type": 0,
            "departments": [1, 3],
            "integrate_id": "David"
        },
        "_widget_1432728651415": [ // Members
            {
                "name": "David",
                "username": "David",
                "status": 1,
                "type": 0,
                "departments": [1, 3],
                "integrate_id": "David"
            }
        ],
        "_widget_1432728651416": {  // Department
            "name": "Sales Department",
            "dept_no": 1,
            "type": 0,
            "parent_no": 2,
            "status": 1,
            "integrate_id": 1
        },
        "_widget_1432728651417": [ // Departments
            {
                "name": "Sales Department",
                "dept_no": 1,
                "type": 0,
                "parent_no": 2,
                "status": 1,
                "integrate_id": 1
            }
        ],
        "_widget_1432728651408": [ // Subform
            {
                // ... the same as above
            }
        ],
    }
}

Was this information helpful?
Yes
NoNo
Need more help? Contact support