api/v1/orders

Method: GET https://developers.mobilemanager.co.uk/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

NameDescriptionTypeAdditional 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 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": "4c7627cc-cc5c-4147-9334-4105134f8738",
    "Ceased": "2024-05-17T08:57:14.1342406+00:00",
    "Completed": "2024-05-17T08:57:14.1342406+00:00",
    "Created": "2024-05-17T08:57:14.1342406+00:00",
    "Customer": "sample string 3",
    "ICCID": "sample string 4",
    "Id": "6e35fbff-9792-425c-a1e2-3ac69321cf4a",
    "MobileNumber": "sample string 6",
    "SimId": "8c3671c6-216c-47f4-b9c6-c8c35fdee398",
    "PlacedBy": "sample string 7",
    "Tariff": "sample string 8",
    "TariffId": "ede40fa0-0d2b-480b-b87b-f34b1aaeb682",
    "Type": "sample string 9",
    "CustomerId": "f06b6dc1-fb58-4f7f-8ca9-2ac75211117e",
    "ResellerId": "de8a3c9c-c489-41f3-b2a1-a9b35e9a2621",
    "PreviousTariff": "sample string 11",
    "PreviousTariffId": "c2908dc4-f02a-4751-a45c-3c1e4cebd9fc",
    "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-05-17T08:57:14.1342406+00:00"
    }
  },
  {
    "Bolton": "sample string 1",
    "BoltonId": "4c7627cc-cc5c-4147-9334-4105134f8738",
    "Ceased": "2024-05-17T08:57:14.1342406+00:00",
    "Completed": "2024-05-17T08:57:14.1342406+00:00",
    "Created": "2024-05-17T08:57:14.1342406+00:00",
    "Customer": "sample string 3",
    "ICCID": "sample string 4",
    "Id": "6e35fbff-9792-425c-a1e2-3ac69321cf4a",
    "MobileNumber": "sample string 6",
    "SimId": "8c3671c6-216c-47f4-b9c6-c8c35fdee398",
    "PlacedBy": "sample string 7",
    "Tariff": "sample string 8",
    "TariffId": "ede40fa0-0d2b-480b-b87b-f34b1aaeb682",
    "Type": "sample string 9",
    "CustomerId": "f06b6dc1-fb58-4f7f-8ca9-2ac75211117e",
    "ResellerId": "de8a3c9c-c489-41f3-b2a1-a9b35e9a2621",
    "PreviousTariff": "sample string 11",
    "PreviousTariffId": "c2908dc4-f02a-4751-a45c-3c1e4cebd9fc",
    "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-05-17T08:57:14.1342406+00:00"
    }
  }
]

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>4c7627cc-cc5c-4147-9334-4105134f8738</BoltonId>
    <Ceased>2024-05-17T08:57:14.1342406+00:00</Ceased>
    <Completed>2024-05-17T08:57:14.1342406+00:00</Completed>
    <Created>2024-05-17T08:57:14.1342406+00:00</Created>
    <Customer>sample string 3</Customer>
    <ICCID>sample string 4</ICCID>
    <Id>6e35fbff-9792-425c-a1e2-3ac69321cf4a</Id>
    <MobileNumber>sample string 6</MobileNumber>
    <PlacedBy>sample string 7</PlacedBy>
    <SimId>8c3671c6-216c-47f4-b9c6-c8c35fdee398</SimId>
    <Tariff>sample string 8</Tariff>
    <TariffId>ede40fa0-0d2b-480b-b87b-f34b1aaeb682</TariffId>
    <Type>sample string 9</Type>
  </OrderResultsViewModel>
  <OrderResultsViewModel>
    <Bolton>sample string 1</Bolton>
    <BoltonId>4c7627cc-cc5c-4147-9334-4105134f8738</BoltonId>
    <Ceased>2024-05-17T08:57:14.1342406+00:00</Ceased>
    <Completed>2024-05-17T08:57:14.1342406+00:00</Completed>
    <Created>2024-05-17T08:57:14.1342406+00:00</Created>
    <Customer>sample string 3</Customer>
    <ICCID>sample string 4</ICCID>
    <Id>6e35fbff-9792-425c-a1e2-3ac69321cf4a</Id>
    <MobileNumber>sample string 6</MobileNumber>
    <PlacedBy>sample string 7</PlacedBy>
    <SimId>8c3671c6-216c-47f4-b9c6-c8c35fdee398</SimId>
    <Tariff>sample string 8</Tariff>
    <TariffId>ede40fa0-0d2b-480b-b87b-f34b1aaeb682</TariffId>
    <Type>sample string 9</Type>
  </OrderResultsViewModel>
</ArrayOfOrderResultsViewModel>