Porta Plus 2 Web Services

<back to all web services

GetUnAssignedSIMRequest

The following routes are available for this service:
GET/GetAllUnAssignedSIM/{License}
GET/GetSIMSetting/{License}/{SIMSetting}
GET/GetSimsByICustomer/{License}/{i_customer}
GET/CheckSimExists/{License}/{SIM}
POST/SaveSIMSetting
POST/UpdateUnAssignedSIM
POST/ProvisionSim
POST/RemoveSimSetting
POST/UploadSIMDetails

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/GetUnAssignedSIMRequest HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<GetUnAssignedSIMRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License i:nil="true" />
  <IAccount>String</IAccount>
  <IEnv>0</IEnv>
  <License>String</License>
  <SIM>String</SIM>
  <SIMSetting>false</SIMSetting>
  <SMSNumber>String</SMSNumber>
  <SimProductSettings xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">
    <d2p1:sim_provision_product_setting>
      <d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:RowVersion>0</d2p1:RowVersion>
      <d2p1:UpdatedOn>0001-01-01T00:00:00</d2p1:UpdatedOn>
      <d2p1:BundleName>String</d2p1:BundleName>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:NameToReseller>String</d2p1:NameToReseller>
      <d2p1:ProductFilter>String</d2p1:ProductFilter>
      <d2p1:TenantID>String</d2p1:TenantID>
    </d2p1:sim_provision_product_setting>
  </SimProductSettings>
  <enableC3Config>false</enableC3Config>
  <i_customer>0</i_customer>
  <provisioned>false</provisioned>
  <removeSimSetting xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">
    <d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:RowVersion>0</d2p1:RowVersion>
    <d2p1:UpdatedOn>0001-01-01T00:00:00</d2p1:UpdatedOn>
    <d2p1:BundleName>String</d2p1:BundleName>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:NameToReseller>String</d2p1:NameToReseller>
    <d2p1:ProductFilter>String</d2p1:ProductFilter>
    <d2p1:TenantID>String</d2p1:TenantID>
  </removeSimSetting>
  <simprovdetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:SIM_Provisioning>
      <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</CreatedOn>
      <Id xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</Id>
      <RowVersion xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</RowVersion>
      <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</UpdatedOn>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:i_account>String</d2p1:i_account>
      <d2p1:i_customer>0</d2p1:i_customer>
      <d2p1:i_env>0</d2p1:i_env>
      <d2p1:provisioned>false</d2p1:provisioned>
      <d2p1:sim>String</d2p1:sim>
      <d2p1:sim_type>String</d2p1:sim_type>
      <d2p1:sms_number>String</d2p1:sms_number>
    </d2p1:SIM_Provisioning>
  </simprovdetails>
  <uploadSIMDetails>false</uploadSIMDetails>
</GetUnAssignedSIMRequest>