api/v1/orders
Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/orders?search={search}&skip={skip}&take={take}&type={type}&state={state}&startDate={startDate}&endDate={endDate}
Summary
Get a list of orders
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
search |
The resource being looked up |
string |
None. |
skip |
The number of records to skip |
integer |
Default value is 0 |
take |
The number of records requested |
integer |
Default value is 10 |
type |
Click the button to display the type values |
OrderType |
None. |
state |
Click the button to display the state values |
OrderState |
None. |
startDate |
The earliest possible order create date |
date |
None. |
endDate |
The latest possible order that which was created |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "e76bc0af-beea-4b29-bb3d-1201b079b069", "Ceased": "2025-07-03T19:47:13.3545761+00:00", "Completed": "2025-07-03T19:47:13.3545761+00:00", "Created": "2025-07-03T19:47:13.3545761+00:00", "Customer": "sample string 3", "ICCID": "sample string 4", "Id": "33c42f26-e48a-4407-bf7a-69d71edbc786", "MobileNumber": "sample string 6", "SimId": "afd046a4-1f8f-4d7e-bc50-6badbc1330d9", "PlacedBy": "sample string 7", "Tariff": "sample string 8", "TariffId": "fbcea6b9-2a50-4dff-84a8-f102910291a9", "Type": "sample string 9", "CustomerId": "bf3088b0-4e71-4436-a724-dd72481c401c", "ResellerId": "e76bb08f-83e2-43cc-b51b-8736993ab212", "PreviousTariff": "sample string 11", "PreviousTariffId": "3118d45a-87f3-422e-bc47-414477b9f265", "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-03T19:47:13.3545761+00:00" }, "SimTypeLabel": "sample string 13" }, { "Bolton": "sample string 1", "BoltonId": "e76bc0af-beea-4b29-bb3d-1201b079b069", "Ceased": "2025-07-03T19:47:13.3545761+00:00", "Completed": "2025-07-03T19:47:13.3545761+00:00", "Created": "2025-07-03T19:47:13.3545761+00:00", "Customer": "sample string 3", "ICCID": "sample string 4", "Id": "33c42f26-e48a-4407-bf7a-69d71edbc786", "MobileNumber": "sample string 6", "SimId": "afd046a4-1f8f-4d7e-bc50-6badbc1330d9", "PlacedBy": "sample string 7", "Tariff": "sample string 8", "TariffId": "fbcea6b9-2a50-4dff-84a8-f102910291a9", "Type": "sample string 9", "CustomerId": "bf3088b0-4e71-4436-a724-dd72481c401c", "ResellerId": "e76bb08f-83e2-43cc-b51b-8736993ab212", "PreviousTariff": "sample string 11", "PreviousTariffId": "3118d45a-87f3-422e-bc47-414477b9f265", "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-03T19:47:13.3545761+00:00" }, "SimTypeLabel": "sample string 13" } ]
application/xml, text/xml
Sample:
<ArrayOfOrderResultsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders"> <OrderResultsViewModel> <Bolton>sample string 1</Bolton> <BoltonId>e76bc0af-beea-4b29-bb3d-1201b079b069</BoltonId> <Ceased>2025-07-03T19:47:13.3545761+00:00</Ceased> <Completed>2025-07-03T19:47:13.3545761+00:00</Completed> <Created>2025-07-03T19:47:13.3545761+00:00</Created> <Customer>sample string 3</Customer> <ICCID>sample string 4</ICCID> <Id>33c42f26-e48a-4407-bf7a-69d71edbc786</Id> <MobileNumber>sample string 6</MobileNumber> <PlacedBy>sample string 7</PlacedBy> <SimId>afd046a4-1f8f-4d7e-bc50-6badbc1330d9</SimId> <SimTypeLabel>sample string 13</SimTypeLabel> <Tariff>sample string 8</Tariff> <TariffId>fbcea6b9-2a50-4dff-84a8-f102910291a9</TariffId> <Type>sample string 9</Type> </OrderResultsViewModel> <OrderResultsViewModel> <Bolton>sample string 1</Bolton> <BoltonId>e76bc0af-beea-4b29-bb3d-1201b079b069</BoltonId> <Ceased>2025-07-03T19:47:13.3545761+00:00</Ceased> <Completed>2025-07-03T19:47:13.3545761+00:00</Completed> <Created>2025-07-03T19:47:13.3545761+00:00</Created> <Customer>sample string 3</Customer> <ICCID>sample string 4</ICCID> <Id>33c42f26-e48a-4407-bf7a-69d71edbc786</Id> <MobileNumber>sample string 6</MobileNumber> <PlacedBy>sample string 7</PlacedBy> <SimId>afd046a4-1f8f-4d7e-bc50-6badbc1330d9</SimId> <SimTypeLabel>sample string 13</SimTypeLabel> <Tariff>sample string 8</Tariff> <TariffId>fbcea6b9-2a50-4dff-84a8-f102910291a9</TariffId> <Type>sample string 9</Type> </OrderResultsViewModel> </ArrayOfOrderResultsViewModel>