How to get File IDs for a specific process and then download Via Azure Logic App.

I am trying to run couple of exports in a single process through Anaplan APIs,

the challenge is I want only the file IDs for the process which i am running, but if i run the get file ID API, i get all the files within the model, so is there any API which will let me take only the files which are under the process?

or is there any other method for this.

also, while downloading i want to download the whole file in a single chunk, but in the APIary page only option is an API which lets us download the file data with Chunk IDs.

Best Answer

  • anirudh
    Answer ✓

    Hi Vikas, this is a good question. There is no way to limit the file ID API by the process it's connected with. Even the process APIs currently do not identify the action IDs in that process. The only thing I can think of is to create a lookup table within an Anaplan module and in that table manually input the file ID against the process ID. Then you can call this lookup table using transactional APIs

    Also I don't think there's currently any way to download files in a single chunk, you will have to append the chunk numbers against each API call and then combine the chunks to get the complete file

Answers