U gudub nuxurka

Hage

Hagahan wuxuu ku qoran yahay Ingiriisi.

Sandbox

The sandbox is a copy of Raadiso for building and testing your integration: its own API host, its own partner clients and its own demo data, wiped from time to time. Every partner starts there, and moves to production when the integration works.

What it is

  • It runs on Raadiso's pre-production site, with the same code as production.
  • It has its own API host and its own token endpoint. Sandbox clients and tokens work only there, and production ones never do.
  • Its data is demo data. Nothing from production is ever copied into it, and it is wiped now and then: re-send your listings after a wipe (the same PUTs you would send every night).
  • Listings you send there never appear on raadiso.com.

The sandbox opens with the partner API. Its host name and token endpoint come with your sandbox client.

Getting a sandbox client

Ask as in getting started. You get the client's id and secret once, the sandbox's API host and token endpoint, and the scopes you asked for.

What behaves like production

Everything you will rely on: authentication, scopes, validation and the problem codes, photo fetching, publication states, quotas and their headers, webhooks (signed, with retries) and statistics. Test your error handling there too: send a listing with a missing field, a booking URL on another host, or too many calls in a minute, and check that your code does the right thing.

Moving to production

When your integration works in the sandbox and the API terms are signed (and the data-processing agreement, for leads:read), Raadiso's staff create your production client. Then change three things:

  1. the API host, to https://api.raadiso.com;
  2. the token endpoint, to https://auth.raadiso.com/realms/raadi-partners/protocol/openid-connect/token;
  3. the client id and secret, or your registered key.

Your own ids (externalId) stay the same: production starts empty, and your first full upload creates your listings there.