api/v1/sims/{id}/checkpac
Method: GET https://developers.mobilemanager.co.uk/api/v1/sims/{id}/checkpac?pac={pac}&mobile={mobile}&pacDate={pacDate}
Summary
Checks the PAC code against the network if the given SIM exists
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The SIM id that belongs to the reseller |
globally unique identifier |
Required |
pac |
The 9 digit code that allows the number to be moved to a different provider |
string |
Required |
mobile |
The current mobile number that will be moved |
string |
Required |
pacDate |
The date when the mobile number will be ported/migrated |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
ProviderPACResponseName | Description | Type | Additional information |
---|---|---|---|
ExpiryDate | date |
None. |
|
Status | string |
None. |
|
OperatorCode | string |
None. |
|
OperatorName | string |
None. |
|
IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ExpiryDate": "2024-11-18T19:23:57.4466842+00:00", "Status": "sample string 2", "OperatorCode": "sample string 3", "OperatorName": "sample string 4", "IsValid": true }
application/xml, text/xml
Sample:
<ProviderPACResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JolaSimPortal.Shared.Models"> <ExpiryDate>2024-11-18T19:23:57.4466842+00:00</ExpiryDate> <IsValid>true</IsValid> <OperatorCode>sample string 3</OperatorCode> <OperatorName>sample string 4</OperatorName> <Status>sample string 2</Status> </ProviderPACResponse>