api/v1/orders/activation

Method: POST https://simportal-api-staging.azurewebsites.net/api/v1/orders/activation

Summary

Create an order to activate a QR SIM without specifying simId

Request Information

URI Parameters

None.

Body Parameters

CreateActivateOrderModel
NameDescriptionTypeAdditional information
TariffId

globally unique identifier

None.

BoltonId

globally unique identifier

None.

PAC

string

None.

PACMobile

string

None.

PACExpiry

date

None.

PACPortDate

date

None.

DefaultAlertOptOut

boolean

None.

Tag

string

None.

EmailAddress

string

None.

OwnerMobileNumber

string

None.

CustomerId

Only required for QR SIM activations

globally unique identifier

None.

Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TariffId": "1bde74aa-8bf7-4f49-b4fe-a53321942330",
  "BoltonId": "853ebe1b-a5f3-402d-ac6f-bd444f52103e",
  "PAC": "sample string 2",
  "PACMobile": "sample string 3",
  "PACExpiry": "2024-11-21T10:49:07.2581515+00:00",
  "PACPortDate": "2024-11-21T10:49:07.2581515+00:00",
  "DefaultAlertOptOut": true,
  "Tag": "sample string 5",
  "EmailAddress": "sample string 6",
  "OwnerMobileNumber": "sample string 7",
  "CustomerId": "dd810423-d8c2-415c-9ebc-bbeb1a6c5fc2",
  "Reason": "sample string 8"
}

application/xml, text/xml

Sample:
<CreateActivateOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders">
  <Reason>sample string 8</Reason>
  <BoltonId>853ebe1b-a5f3-402d-ac6f-bd444f52103e</BoltonId>
  <CustomerId>dd810423-d8c2-415c-9ebc-bbeb1a6c5fc2</CustomerId>
  <DefaultAlertOptOut>true</DefaultAlertOptOut>
  <EmailAddress>sample string 6</EmailAddress>
  <OwnerMobileNumber>sample string 7</OwnerMobileNumber>
  <PAC>sample string 2</PAC>
  <PACExpiry>2024-11-21T10:49:07.2581515+00:00</PACExpiry>
  <PACMobile>sample string 3</PACMobile>
  <PACPortDate>2024-11-21T10:49:07.2581515+00:00</PACPortDate>
  <Tag>sample string 5</Tag>
  <TariffId>1bde74aa-8bf7-4f49-b4fe-a53321942330</TariffId>
</CreateActivateOrderModel>

application/x-www-form-urlencoded

Sample:
TariffId=a1234567-gu1d-3x4m-pl31-e1f2g12345678&BoltonId=value&PAC=samplestring&PACMobile=samplestring&PACExpiry=value&PACPortDate=value&DefaultAlertOptOut=value&Tag=samplestring&EmailAddress=samplestring&OwnerMobileNumber=samplestring&CustomerId=value&Reason=samplestring

Response Information

Resource Description

OrderResponseModel
NameDescriptionTypeAdditional information
OrderId

globally unique identifier

None.

Created

date

None.

State

OrderState

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderId": "67f811b0-557c-4683-a4da-e73aef773f90",
  "Created": "2024-11-21T10:49:07.2745064+00:00",
  "State": 0
}

application/xml, text/xml

Sample:
<OrderResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Models.Orders" />