Downloading Certification Files Using the Trading Partner Profile Certification API

Prerequisites

Context

Use this procedure to download certification files from a supplier profile.

Procedure

  1. Use the following endpoint to obtain the certification ID and certification instance ID of the certification file you wish to download:
    GET {{runtime_url}}/v1/certifications?tradingPartnerId={org-an-id}

    In the output, id in the certification details part is the certification ID, and id in the certification instance details part is the certification instance ID. For details, refer to Retrieving Supplier Certification List Using the Trading Partner Profile Certification API.

  2. Use the following endpoint to download the desired certification file:
    GET {{runtime_url}}/v1/certifications/{certificationId}/versions/{versionId}/attachment
    runtime_url
    Replace it with the desired runtime URL from the Environment Details table on the SAP Ariba Developer Portal discovery page for this API.
    certificationId and versionId
    Replace them with the certification ID and certification instance ID obtained in the first step.

    If the query is unsuccessful, the response will include an error message. Refer to Error Messages Returned by the Trading Partner Profile Certification API for a list of specific error messages related to this API.