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": "ddc562f6-7f00-4bf3-a6d5-3bb42d44504c",
  "Ceased": "2024-04-10T16:07:25.3951798+00:00",
  "Completed": "2024-04-10T16:07:25.3951798+00:00",
  "Created": "2024-04-10T16:07:25.3951798+00:00",
  "Customer": "sample string 3",
  "ICCID": "sample string 4",
  "Id": "ce227169-59e7-427e-a341-3132234038d5",
  "MobileNumber": "sample string 6",
  "SimId": "45c14002-17b8-4d5a-a020-d92f55c767e6",
  "PlacedBy": "sample string 7",
  "Tariff": "sample string 8",
  "TariffId": "2747bad1-8123-439a-8f6d-d4cdf4c35ec4",
  "Type": "sample string 9",
  "CustomerId": "4f429427-67bf-4704-a2b0-9869156317cb",
  "ResellerId": "becedbe0-1802-4786-a890-8b28de8eaebb",
  "PreviousTariff": "sample string 11",
  "PreviousTariffId": "b1843c69-ab5d-4d4d-aff8-3a79aa83f52d",
  "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": "2024-04-10T16:07:25.3951798+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>ddc562f6-7f00-4bf3-a6d5-3bb42d44504c</BoltonId>
  <Ceased>2024-04-10T16:07:25.3951798+00:00</Ceased>
  <Completed>2024-04-10T16:07:25.3951798+00:00</Completed>
  <Created>2024-04-10T16:07:25.3951798+00:00</Created>
  <Customer>sample string 3</Customer>
  <ICCID>sample string 4</ICCID>
  <Id>ce227169-59e7-427e-a341-3132234038d5</Id>
  <MobileNumber>sample string 6</MobileNumber>
  <PlacedBy>sample string 7</PlacedBy>
  <SimId>45c14002-17b8-4d5a-a020-d92f55c767e6</SimId>
  <Tariff>sample string 8</Tariff>
  <TariffId>2747bad1-8123-439a-8f6d-d4cdf4c35ec4</TariffId>
  <Type>sample string 9</Type>
</OrderResultsViewModel>