Porta Plus 2 Web Services

<back to all web services

UnregisteredCustomer

The following routes are available for this service:
GET/AddUnregisteredCustomer/{License}/{CustomerDetails}/{Login}
GET/UpdateUnregisteredCustomer/{License}/{Login}/{ICustomer}
GET/GetUnregisteredCustomers/{License}/{FromDate}

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

<UnregisteredCustomer 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>
  <CustomerDetails>String</CustomerDetails>
  <FromDate>0001-01-01T00:00:00</FromDate>
  <ICustomer>0</ICustomer>
  <Login>String</Login>
</UnregisteredCustomer>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UnregisteredCustomerResponse 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>
  <LstCustomers xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">
    <d2p1:UnRegisteredCustomer>
      <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:CustomerDetails>String</d2p1:CustomerDetails>
      <d2p1:ICustomer>0</d2p1:ICustomer>
      <d2p1:Login>String</d2p1:Login>
      <d2p1:TenantId>0</d2p1:TenantId>
    </d2p1:UnRegisteredCustomer>
  </LstCustomers>
  <Success>false</Success>
</UnregisteredCustomerResponse>