Skip to main content

GET CERTIFICATE OF CURRENCY9.0.0

Get Certificate of Currency

This API is REST based that fetches certificate of the purchased product.

 

Business Use case

The Get Currency Certificate API provides a capability to obtain the certificate of purchased product in an encrypted form. It must be preceded by Quote and Bind. Policy ID and partner code combination is used to fetch the respective policy.

 

Technical Overview

   GET v1/policy/document?doctype=coc&policyid={policynumber}&partnercode={intermediaryId} 

Note: Refer to Environment URLs page under Overview/Guidelines/Documentation for complete URL for each environment.

 

Authentication

HTTP requests to the API are protected with HTTP Basic authentication. To learn more about how Allianz handles authentication, please refer to our Security Model page under Overview/Guidelines/Documentation.

 

FIELD REFERENCE - REquest

Request fields for this API are not present as it uses GET as HTTP method. policynumber and intermediaryId are mandatory URL params to find the appropriate policy.

Note: partnercode parameter is the same value as the intermediaryId field in the createPolicyEstimateAndEmailCustomer or createPolicyEstimate API requests.

 

FIELD REFERENCE - RESPONSE

Field Description Example
  • fileName string
    Name of the file.
  • Content base64 Encoded
    Document content is sent in base64 encoded format. Partner Application needs to decode and view as document.
  • contentType string 
    Type of the document. PDF is only used format.
  • message string 
    Status of the response (success/failure).
{
"fileName":"163S360675CMP_COC.pdf",
"content":
"JVBERi0xLjQKJeLjz9MKNSAwIG9iaiA8PC9MZW5ndG
ggMjU5Ni9GaWx0ZXIvRmxhdGVEZWNvZGUvTiAzPj5zd
HJlYW0KeJydlndUU9kWh8+9N71QkhCKlNBraFICSA29
SJEuKjEJEErAkAAiNkRUcERRkaYIMijggKNDkbEiioU
BUbHrBBlE1HFwFBuWSWStGd+8ee/Nm98f935rn73P3W
fvfda6AJD8gwXCTFgJgAyhWBTh58WIjYtnYAcBDPAAA
2wA4HCzs0IW+EYCmQJ82IxsmRP4F726DiD5+yrTP4zB
AP+flLlZIjEAUJiM5/L42VwZF8k4PVecJbdPyZi2NE3
OMErOIlmCMlaTc/IsW3z2mWUPOfMyhDwZy3PO4mXw5N
wn4405Er6MkWAZF+cI+LkyviZjg3RJhkDGb+SxGXxON
gAoktwu5nNTZGwtY5IoMowzWagypb27afWyuqv8gnfz
XhKvuQ31t90”,
"contentType": "PDF",
"message": "Success"
}

 

ERROR ReSPONSE CODES

Refer to Overview/Guidelines/Documentation section REST Based Error Codes for details.

About us

We build custom-fit developer portals in Drupal, a proven enterprise-ready technology with a large consultant and developer community.

Documentation

Concepts
Getting started
Tutorials
Rerefence Documentation

API catalog

Category 1

Category 2

Category 3

Category for hover

bottom_navigation_image

We are here to make insurance simple for you.