Inconsistent response for Anaplan APIs

Options
rajanirath
rajanirath Member, ALL USERS Posts: 3 Occasional Contributor

Hi,

While trying with Anaplan API GET method to export data from model, I am getting inconsistent response.

i. I was getting 9 columns earlier based on which we designed our database schema, now I am getting 8 columns in response.

ii. While trying with another user, I am getting all 9 columns in response.

iii. If I run export from UI, I am getting 9 columns in response.

iv. For 1 file id, I get chunk size as 29 for my user while for other user id I get chunk size as 0.

Can you please help to understand this behavior?

Thanks

Comments

  • rajanirath
    rajanirath Member, ALL USERS Posts: 3 Occasional Contributor

    Hi,

    The response is in CSV format.I have verified that with my ID in gui I am getting all the columns in downloaded file. Its when I do API call, I see 1 column missing.

    With user2, I see all the columns in GUI and API response as well.

    Let me know if want me to provide any additional detail

  • rajanirath
    rajanirath Member, ALL USERS Posts: 3 Occasional Contributor

    hi,

    I realized, I should first run a post method to refresh the export and then run the GET api to download file. It worked fine for me.