Leap JSON Request v1.0


This page represents version 1.0 of the Leap JSON Request specification. New versions of Leap JSON will always be backward compatible; using a never remove, only add strategy.

To request changes to the specification or report an error please contact support.

Request Format

This section describes the structure of a Leap JSON Request document, which is identified by the media-type: application/vnd.leap+json. Leap JSON documents are defined in JavaScript Object Notation (JSON). Conventions related to this document and definitions of client/server responsibilities related to Leap JSON are discussed in the Leap JSON introduction document.

Unless otherwise noted, objects defined by this specification should not contain any additional members. Client and server implementations must ignore members not recognized by this specification.

Top-level Reserved Property Names

A document MAY include the following attributes:

apiVersionStringRepresents the desired version of the service API in a request and is expected to match the response version.
contextStringEcho-back data, set by the client and returned by the server. Used for asynchronous, batch, or pagination situations.
langStringISO 639 language code for internationalization.
dataObjectContainer Object for data parameters sent to the server from the client.
methodStringSpecifies the operation to perform.
Optional Leap Request JSON fields

Code Example

  "apiVersion": "1.0",
  "context": "contextString",
  "lang": "en",
   "data": {
      "deliveryID": "12312312"  
Updated on December 28, 2020

Was this article helpful?

Related Articles