api/v1/orders/{id}

Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/orders/{id}

Summary

Get a single order

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique order id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

OrderResultsViewModel
NameDescriptionTypeAdditional information
Bolton

string

None.

BoltonId

globally unique identifier

None.

Ceased

date

None.

Completed

date

None.

Created

date

None.

Customer

string

None.

ICCID

string

None.

Id

globally unique identifier

None.

MobileNumber

string

None.

SimId

globally unique identifier

None.

PlacedBy

string

None.

Tariff

string

None.

TariffId

globally unique identifier

None.

Type

string

None.

CustomerId

globally unique identifier

None.

ResellerId

globally unique identifier

None.

PreviousTariff

string

None.

PreviousTariffId

globally unique identifier

None.

State

OrderState

None.

BillingSiteId

string

None.

Delivery

OrderDeliveryModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Bolton": "sample string 1",
  "BoltonId": "5042afcc-de1f-4417-9488-1869d7ea2aa1",
  "Ceased": "2022-05-22T18:54:36.6393386+00:00",
  "Completed": "2022-05-22T18:54:36.6393386+00:00",
  "Created": "2022-05-22T18:54:36.6393386+00:00",
  "Customer": "sample string 3",
  "ICCID": "sample string 4",
  "Id": "60d114f6-25cf-4264-ab98-e4ba76a3cabb",
  "MobileNumber": "sample string 6",
  "SimId": "0d523909-72e5-4a27-8a68-b7c5957a0979",
  "PlacedBy": "sample string 7",
  "Tariff": "sample string 8",
  "TariffId": "7d4cc18c-4dbf-48d2-9a76-abcb818c0ef6",
  "Type": "sample string 9",
  "CustomerId": "c9f576e6-930a-4be6-bdd0-de54a1c57b93",
  "ResellerId": "ead7596b-9f48-459b-b79f-5dbf38d5932e",
  "PreviousTariff": "sample string 11",
  "PreviousTariffId": "e0e5f1d1-d0fa-4068-a43e-35565785ff53",
  "State": 0,
  "BillingSiteId": "sample string 12",
  "Delivery": {
    "TrackingReference": "sample string 1",
    "TrackingUrl": "sample string 2",
    "EstimatedDelivery": "sample string 3",
    "State": 0,
    "Courier": "sample string 4",
    "SignedForBy": "sample string 5",
    "DeliveredDate": "2022-05-22T18:54:36.6862515+00:00"
  }
}

application/xml, text/xml

Sample:
<OrderResultsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders">
  <Bolton>sample string 1</Bolton>
  <BoltonId>5042afcc-de1f-4417-9488-1869d7ea2aa1</BoltonId>
  <Ceased>2022-05-22T18:54:36.6393386+00:00</Ceased>
  <Completed>2022-05-22T18:54:36.6393386+00:00</Completed>
  <Created>2022-05-22T18:54:36.6393386+00:00</Created>
  <Customer>sample string 3</Customer>
  <ICCID>sample string 4</ICCID>
  <Id>60d114f6-25cf-4264-ab98-e4ba76a3cabb</Id>
  <MobileNumber>sample string 6</MobileNumber>
  <PlacedBy>sample string 7</PlacedBy>
  <SimId>0d523909-72e5-4a27-8a68-b7c5957a0979</SimId>
  <Tariff>sample string 8</Tariff>
  <TariffId>7d4cc18c-4dbf-48d2-9a76-abcb818c0ef6</TariffId>
  <Type>sample string 9</Type>
</OrderResultsViewModel>