API

Overview

The V3 Api is a REST-like API to the MVNO system.

The API is divided into distinct areas based on the business scenario.

Click here to see the method description.

Response Codes

The following response codes are used by all methods in V3 API unless otherwise noted.

Resource format

The resources are returned as JSON documents.

{
  "TicketId": "db65db8c-3af9-3000-b992-39d0ea553442",
  "ExpiryMonth": 6,
  "ExpiryYear": 24,
  "TruncatedCardNumber": "0000",
  "CardType": "V-DK",
}

DataType formats

DataTypes are formatted according to the following rules:

Tracing context (Optional)

A correlation header can be included in any request, and will be saved to our request log for traceability and debugging. The id must be in the form of a Guid. For instance:

X-Correlation-Id: 6f5ef4ca-4404-4f52-b6df-01cb63b6b985

(Obsolete) For backward compability the X-Context-Id header can still be included until further notice. There are no restrictions to the format of this header but Guid is recommended. For instance:

X-Context-Id: 6f5ef4ca-4404-4f52-b6df-01cb63b6b985

Tracking assisted operations (Optional)

If the api is used by employees on behalf of the user, the employee email can be included for traceablity. The email should refer to a user created in the MVNO system. For instance:

X-User-Id: salesteammember1@mvno.dk

Scenarios