• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
2

PDF To Word

New Here ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

Screenshot 2024-01-18 at 1.11.40 PM.png

 

I want to convert PDF to word document in Swift ios. With the help of rest API.
I follow the steps

1. genrate token -> https://pdf-services.adobe.io/token

2. genrate upload uri -> https://pdf-services.adobe.io/assets

3. upload the pdf file at the given path

4. again export pdf in docx -> get response 201 https://pdf-services.adobe.io/operation/exportpdf
5. now I am unable to check the status https://pdf-services.adobe.io/operation/compresspdf/urn:aaid:AS:UE1:d88e30be-1f8e-4ac3-b9cb-436d70a3...
6. and i have also no idea about how i can download docx file

TOPICS
Bug , PDF Services API , REST APIs

Views

465

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jan 18, 2024 Jan 18, 2024

You need to use 'x-request-id' from the Export PDF response in the last url. Not the Asset ID. 

You can get the full url from your previous response (step 4) -> 'location' header.

i.e.

https://pdf-services.adobe.io/operation/exportpdf/x-request-id/status

Votes

Translate

Translate
Community Beginner ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

You need to use 'x-request-id' from the Export PDF response in the last url. Not the Asset ID. 

You can get the full url from your previous response (step 4) -> 'location' header.

i.e.

https://pdf-services.adobe.io/operation/exportpdf/x-request-id/status

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

LATEST

Eh, I'm not sure about that answer. Technically, when you create the job, you should check the Location header in the response. That's a URL that can be used as is - ie just hit the URL (with a x-api-key containing your client id and authorization bearer token).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources