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
CreateActivateOrderModelName | Description | Type | Additional 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": "608316f3-e7cc-41f4-a18a-9784f0144c31", "BoltonId": "fe4b4739-302a-4442-bd65-73fc120a6ecf", "PAC": "sample string 2", "PACMobile": "sample string 3", "PACExpiry": "2025-01-18T04:53:09.7558248+00:00", "PACPortDate": "2025-01-18T04:53:09.7558248+00:00", "DefaultAlertOptOut": true, "Tag": "sample string 5", "EmailAddress": "sample string 6", "OwnerMobileNumber": "sample string 7", "CustomerId": "eef71ae0-dfd1-49e5-bc69-0d79c926206a", "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>fe4b4739-302a-4442-bd65-73fc120a6ecf</BoltonId> <CustomerId>eef71ae0-dfd1-49e5-bc69-0d79c926206a</CustomerId> <DefaultAlertOptOut>true</DefaultAlertOptOut> <EmailAddress>sample string 6</EmailAddress> <OwnerMobileNumber>sample string 7</OwnerMobileNumber> <PAC>sample string 2</PAC> <PACExpiry>2025-01-18T04:53:09.7558248+00:00</PACExpiry> <PACMobile>sample string 3</PACMobile> <PACPortDate>2025-01-18T04:53:09.7558248+00:00</PACPortDate> <Tag>sample string 5</Tag> <TariffId>608316f3-e7cc-41f4-a18a-9784f0144c31</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
OrderResponseModelName | Description | Type | Additional information |
---|---|---|---|
OrderId | globally unique identifier |
None. |
|
Created | date |
None. |
|
State | OrderState |
None. |
Response Formats
application/json, text/json
Sample:
{ "OrderId": "a60c59f7-fe95-4b4c-a5a8-b55e3e4e72fa", "Created": "2025-01-18T04:53:09.9745698+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" />