PUT Request

πŸ“˜

PUT Request on Presigned URL

Once the job is successfully created, upload the payload using HTTP PUT method on generated presigned url. Read More

JSON Payload

This API accepts payload in the following format:

Tradebook

View Workbook

πŸ‘

Click here to learn more about this JSON Payload

{
    "@entity": "workbook",
    "name": "crypto_tradebook_workbook",
    "sheets": [
        {
            "@entity": "sheet",
            "name": "crypto_currency_tradebook_sheet",
            "blocks": [
                {
                    "@entity": "table",
                    "name": "crypto_currency_tradebook_table",
                    "header": [
                        "crypto_currency_tradebook_table"
                    ],
                    "rows": [
                        [
                            "id",
                            "date",
                            "transaction_type",
                            "label",
                            "received_currency",
                            "received_quantity",
                            "price",
                            "price_currency",
                            "price_in_inr",
                            "sent_currency",
                            "sent_quantity",
                            "fee_currency",
                            "fee_amount",
                            "fee_in_inr"
                        ],
                        [
                            "crypto_currency_last_traded_price_list"
                        ],
                        [
                            "cryptocurrency_name",
                            "last_traded_price"
                        ]
                    ]
                }
            ]
        },
        {
            "@entity": "sheet",
            "name": "future_tradebook_sheet",
            "blocks": [
                {
                    "@entity": "table",
                    "name": "future_tradebook_table",
                    "header": [
                        "id",
                        "contract_name",
                        "date",
                        "transaction_type",
                        "quantity",
                        "price",
                        "price_currency",
                        "price_in_inr",
                        "fee_amount",
                        "fee_currency",
                        "fee_in_inr"
                    ],
                    "rows": [
                        [
                            "last_traded_price_list"
                        ],
                        [
                            "contract_name",
                            "last_traded_price"
                        ]
                    ]
                }
            ]
        }
    ]
}