> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://allianz.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://allianz.ferndocs.com/_mcp/server.

# JSON Service Integration Guide

An integration with Allianz Partner Services (AWP) uses two core web services:

#### [Quote Web Service](/integration-guide/quote-web-service)

Send booking and itinerary details, get back an optimized insurance offer as HTML.

#### [Purchase Web Service](/integration-guide/purchase-web-service)

Send the customer's purchase so AWP can bill, issue the policy, and confirm.

## How the flow works

#### Request a quote

The Partner sends a JSON Quote Request with the price of the core product the customer is buying, plus the ancillary data AWP needs to price the quote accurately.

#### Display the offer

AWP responds with a full HTML insurance quote. The Partner displays it to the customer.

#### Send the purchase

If the customer buys the insurance, the Partner sends the purchase information to the Purchase Web Service.

#### Receive confirmation

AWP executes the purchase, notifies the customer, and sends a confirmation message back to the Partner.

> **Info**
>
> The Quote Response returns a `quoteId` and a `productCode`. Pass both back in the Purchase Request so AWP can tie the purchase to the quote.

## Reference material

#### [Data standards](/integration-guide/data-standards)

Date, number, text, and country formats, plus residency rules.

#### [Examples](/integration-guide/examples/quote)

Complete sample request and response messages.

#### [Data dictionaries](/in-path-offers/server-side/documentation/data-dictionaries/quote-request)

Every element in the quote and purchase messages.