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
Name | Description | Type | Additional information |
---|---|---|---|
id |
The unique order id |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
OrderResultsViewModelName | Description | Type | Additional 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. |
|
SimTypeLabel | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Bolton": "sample string 1", "BoltonId": "f76ec706-3714-4c1e-8916-6e52e603a7a0", "Ceased": "2025-07-02T17:59:51.1169351+00:00", "Completed": "2025-07-02T17:59:51.1169351+00:00", "Created": "2025-07-02T17:59:51.1169351+00:00", "Customer": "sample string 3", "ICCID": "sample string 4", "Id": "55d09c39-c379-4cfe-ba7f-278a6db15492", "MobileNumber": "sample string 6", "SimId": "17c750c1-9070-4df5-a04d-3249f87c065d", "PlacedBy": "sample string 7", "Tariff": "sample string 8", "TariffId": "6183cd7f-b978-4d2f-8503-f0803719748c", "Type": "sample string 9", "CustomerId": "e0858c94-b5c9-46fe-a9d0-0c900fab12c0", "ResellerId": "fa8a611a-a061-48e1-b8b4-d3e738a87483", "PreviousTariff": "sample string 11", "PreviousTariffId": "7dca3121-e95b-4e5a-839a-9200709f0400", "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": "2025-07-02T17:59:51.1169351+00:00" }, "SimTypeLabel": "sample string 13" }
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>f76ec706-3714-4c1e-8916-6e52e603a7a0</BoltonId> <Ceased>2025-07-02T17:59:51.1169351+00:00</Ceased> <Completed>2025-07-02T17:59:51.1169351+00:00</Completed> <Created>2025-07-02T17:59:51.1169351+00:00</Created> <Customer>sample string 3</Customer> <ICCID>sample string 4</ICCID> <Id>55d09c39-c379-4cfe-ba7f-278a6db15492</Id> <MobileNumber>sample string 6</MobileNumber> <PlacedBy>sample string 7</PlacedBy> <SimId>17c750c1-9070-4df5-a04d-3249f87c065d</SimId> <SimTypeLabel>sample string 13</SimTypeLabel> <Tariff>sample string 8</Tariff> <TariffId>6183cd7f-b978-4d2f-8503-f0803719748c</TariffId> <Type>sample string 9</Type> </OrderResultsViewModel>