Porta Plus 2 Web Services

<back to all web services

SaveFaxAdminSettings

The following routes are available for this service:
POST/SendFax
POST/SaveCustFaxSettings
GET/GetExistingAdminSettings/{License}/{Ienv}
GET/GetCustFaxStatus/{id}/{status}
GET/GetCustFaxHistory/{License}/{Icustomer}/{Ienv}
GET/GetFaxIdDetailsWavetel/{License}/{WavtelFaxStatus}
POST/ChangeDBStatus

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

<SaveFaxAdminSettings 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>String</License>
  <Icustomer>0</Icustomer>
  <Ienv>0</Ienv>
  <WavtelFaxStatus>false</WavtelFaxStatus>
  <addCustFaxSettings 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:GatewayUrl>String</d2p1:GatewayUrl>
    <d2p1:Ienv>0</d2p1:Ienv>
    <d2p1:License>String</d2p1:License>
    <d2p1:LogOn>String</d2p1:LogOn>
    <d2p1:Password>String</d2p1:Password>
    <d2p1:Provider>String</d2p1:Provider>
    <d2p1:ReportApiUrl>String</d2p1:ReportApiUrl>
  </addCustFaxSettings>
  <app>String</app>
  <data>
    <bps>0</bps>
    <destination>String</destination>
    <duration>0</duration>
    <id>String</id>
    <originator>String</originator>
    <pages>0</pages>
    <station>String</station>
    <status_code>0</status_code>
    <status_msg>String</status_msg>
    <time>0001-01-01T00:00:00</time>
    <url>String</url>
  </data>
  <hash>String</hash>
  <id>String</id>
  <pendigfax xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.FaxSettings">
    <d2p1:License>String</d2p1:License>
    <d2p1:Provider>String</d2p1:Provider>
    <d2p1:status>String</d2p1:status>
  </pendigfax>
  <sendCustFax xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.FaxSettings">
    <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:AccountNo>String</d2p1:AccountNo>
    <d2p1:CLI>String</d2p1:CLI>
    <d2p1:CustomerCharged>false</d2p1:CustomerCharged>
    <d2p1:Date>0001-01-01T00:00:00</d2p1:Date>
    <d2p1:Destination>String</d2p1:Destination>
    <d2p1:FaxId>String</d2p1:FaxId>
    <d2p1:Icustomer>0</d2p1:Icustomer>
    <d2p1:Ienv>0</d2p1:Ienv>
    <d2p1:License>String</d2p1:License>
    <d2p1:Pages>0</d2p1:Pages>
    <d2p1:PdfData>AA==</d2p1:PdfData>
    <d2p1:Provider>String</d2p1:Provider>
    <d2p1:Status>String</d2p1:Status>
    <d2p1:iaccount>0</d2p1:iaccount>
    <d2p1:report>String</d2p1:report>
  </sendCustFax>
  <status>String</status>
</SaveFaxAdminSettings>