Skip to content
Developer home
X3

Export scenario - 3rd party application downloads the exported file

  Less than to read

3rd party application downloads the exported file

  • API call examples:

    • By curl command with automatic redirection (get directly the file content):

        curl -LH "Authorization: Bearer XXXXXXX" https://api.customerregion-sagex3.com/v1/datadelivery/SEED?filename=export_bpc00033.txt
      
        % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                        Dload  Upload   Total   Spent    Left  Speed
          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        100     6  100     6    0     0      3      0  0:00:02  0:00:01  0:00:01     3
          B;AO;AO001;Luanda BTT.;Luanda BTT;Lda.;001;001;001;001;AOA;;     ;;AO001;SPIC;ANCHQ30FM;AN_NGRU-NA;700;700;10000000;1;;;;;
          A;001;Luanda BTT;77, Rua Soba Mandume;Vila Alice;;;Luanda - Angola;AO;229879878;229090988;2
          D;001;Luanda BTT;;3;;CPT;0;;;;
          R;AO;000700150027781000979;Agencia Vila Alice
          ...
      
    • By Postman without automatic redirection (get a presigned URL for downloading the file): File downloading