api/v1/sims/{id}/checkpac

Method: GET https://simportal-api-staging.azurewebsites.net/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

NameDescriptionTypeAdditional 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

ProviderPACResponse
NameDescriptionTypeAdditional 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-21T10:36:16.6056477+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-21T10:36:16.6056477+00:00</ExpiryDate>
  <IsValid>true</IsValid>
  <OperatorCode>sample string 3</OperatorCode>
  <OperatorName>sample string 4</OperatorName>
  <Status>sample string 2</Status>
</ProviderPACResponse>