I am trying to create a datatable via API. According to the documentation, I need to pass the following parameters:
orgId
token
body
Regarding the body parameters, the documentation does not explicitly indicate which parameters to pass. However, I managed to determine the necessary parameters and am currently sending the following in my POST request:
file: A CSV file
columnInfo:
[
{ "name": "User", "type": "String" }
]
name: “Test”
By making the request trough Postman, it is giving me a 500 error, which is not really giving me an idea of where might issue be located
Hard to say from that particular CSV and apologies for the unhelpful 500 error. Will you try your call with the CSV & columnInfo below and see if it helps guide you?
Hi Les, I realize you got this working already, but I just updated our docs with an example in TypeScript for how this could work. Hopefully this will prove helpful in the future.