Onvo Documentation
APIs
Datasources
Get:Initialize Data Source Data by Id

Initialize data source data by id

GET
/
api
/
datasources
/
{id}
/
initialize

Authorizations

x-api-key
string
headerrequired

Response

200 - application/json

The response is of type object.

{
    "id": "ff9936cb-9e9b-4399-bd78-510dd608ce69",
    "size": 3,
    "sample_data": [
        {
            "Date": "1-Jul",
            "Guest": "Siddharth Manmdhan",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,880.00",
            "GST": "200",
            "Received by Bank": " \t3,680.00"
        },
        {
            "Date": "6-Jul",
            "Guest": "John Umman",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,880.00",
            "GST": "200",
            "Received by Bank": " \t3,680.00"
        },
        {
            "Date": "8-Jul",
            "Guest": "Irshad PP",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,880.00",
            "GST": "200",
            "Received by Bank": " \t3,680.00"
        },
        {
            "Date": "9-Jul",
            "Guest": "Avith M Lal",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,317.40",
            "GST": "171",
            "Received by Bank": " \t3,146.40"
        },
        {
            "Date": "11-Jul",
            "Guest": "Shams Nazar",
            "Phone number": "",
            "Total nights": "2",
            "Confirmed Amt": " \t7,760.00",
            "GST": "400",
            "Received by Bank": " \t7,360.00"
        },
        {
            "Date": "14-Jul",
            "Guest": "Kevin Thomas",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,317.40",
            "GST": "171",
            "Received by Bank": " \t3,146.40"
        },
        {
            "Date": "15-Jul",
            "Guest": "Kevin Thomas",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,880.00",
            "GST": "200",
            "Received by Bank": " \t3,680.00"
        },
        {
            "Date": "16-Jul",
            "Guest": "Anna Binu",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,298.00",
            "GST": "170",
            "Received by Bank": " \t3,128.00"
        },
        {
            "Date": "18-Jul",
            "Guest": "Faiza M",
            "Phone number": "",
            "Total nights": "2",
            "Confirmed Amt": " \t7,760.00",
            "GST": "400",
            "Received by Bank": " \t7,360.00"
        },
        {
            "Date": "22-Jul",
            "Guest": "Prabhath CA",
            "Phone number": "",
            "Total nights": "1",
            "Confirmed Amt": " \t3,880.00",
            "GST": "200",
            "Received by Bank": " \t3,680.00"
        }
    ],
    "columns": [
        {
            "title": "Date",
            "description": "Date format (DD-MMM)"
        },
        {
            "title": "Guest",
            "description": "Name of the guest"
        },
        {
            "title": "Phone number",
            "description": "Phone number of the guest"
        },
        {
            "title": "Total nights",
            "description": "Number of nights stayed"
        },
        {
            "title": "Confirmed Amt",
            "description": "Confirmed amount in currency format"
        },
        {
            "title": "GST",
            "description": "GST amount in currency format"
        },
        {
            "title": "Received by Bank",
            "description": "Amount received by bank in currency format"
        }
    ]
}

You can find all properties for Data sources in the concepts at this link