Porta Plus 2 Web Services

<back to all web services

SimetricSMSCharging

The following routes are available for this service:
POST/SimetricSMSCharging/{License}
GET/SimetricSMSCharging/{License}/
GET/SimetricSMSCharging/{License}/{Type}/{TransacID}/{Msisdn}/{Destination}/{Token}

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/reply/SimetricSMSCharging HTTP/1.1 
Host: 7el.co 
Content-Type: application/xml
Content-Length: length

<SimetricSMSCharging 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" />
  <Amount>0</Amount>
  <ChargeFlag>false</ChargeFlag>
  <Destination>String</Destination>
  <License>String</License>
  <Msisdn>0</Msisdn>
  <Token>String</Token>
  <TransacID>String</TransacID>
  <Type>String</Type>
</SimetricSMSCharging>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SimetricSMSChargingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <X_Result>String</X_Result>
</SimetricSMSChargingResponse>