api/v1/orders/activation
Method: POST https://developers.mobilemanager.co.uk/api/v1/orders/activation?simId={simId}
Summary
Create an order to activate a given SIM
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
simId |
The unique SIM id that's been requested to be activated |
globally unique identifier |
Required |
Body Parameters
The Activation model contains all information required to build a SIM Activation order
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. |
|
Reason | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "TariffId": "4c32010f-8cf7-4a81-beca-db39ea18ea35", "BoltonId": "b48bd98e-c9cd-4bb3-bcc1-88b3bd1ffd85", "PAC": "sample string 2", "PACMobile": "sample string 3", "PACExpiry": "2024-11-22T19:01:55.9697957+00:00", "PACPortDate": "2024-11-22T19:01:55.9697957+00:00", "DefaultAlertOptOut": true, "Tag": "sample string 5", "EmailAddress": "sample string 6", "OwnerMobileNumber": "sample string 7", "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>b48bd98e-c9cd-4bb3-bcc1-88b3bd1ffd85</BoltonId> <DefaultAlertOptOut>true</DefaultAlertOptOut> <EmailAddress>sample string 6</EmailAddress> <OwnerMobileNumber>sample string 7</OwnerMobileNumber> <PAC>sample string 2</PAC> <PACExpiry>2024-11-22T19:01:55.9697957+00:00</PACExpiry> <PACMobile>sample string 3</PACMobile> <PACPortDate>2024-11-22T19:01:55.9697957+00:00</PACPortDate> <Tag>sample string 5</Tag> <TariffId>4c32010f-8cf7-4a81-beca-db39ea18ea35</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&Reason=samplestring
Response Information
Resource Description
Order Status Details
OrderResponseModelName | Description | Type | Additional information |
---|---|---|---|
OrderId | globally unique identifier |
None. |
|
Created | date |
None. |
|
State | OrderState |
None. |
Response Formats
application/json, text/json
Sample:
{ "OrderId": "37144e43-7b23-49d6-a0ae-172e712eaa75", "Created": "2024-11-22T19:01:55.9854179+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" />