Porta Plus 2 Web Services

<back to all web services

UserInfo

The following routes are available for this service:
GET/GetUserInfo/{License}/{IUser}
GET/GetSessionInfo/{License}/{getSeesion}
GET/GetAllEnvUsers/{License}

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

<UserInfo 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>
  <IUser>0</IUser>
  <getSeesion>false</getSeesion>
</UserInfo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<UserInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <AllEnvUsers xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:PortaUserInfo>
      <d2p1:IUser>0</d2p1:IUser>
      <d2p1:baddr1>String</d2p1:baddr1>
      <d2p1:baddr2>String</d2p1:baddr2>
      <d2p1:baddr3>String</d2p1:baddr3>
      <d2p1:baddr4>String</d2p1:baddr4>
      <d2p1:baddr5>String</d2p1:baddr5>
      <d2p1:city>String</d2p1:city>
      <d2p1:country>String</d2p1:country>
      <d2p1:email>String</d2p1:email>
      <d2p1:firstname>String</d2p1:firstname>
      <d2p1:i_customer>0</d2p1:i_customer>
      <d2p1:login>String</d2p1:login>
      <d2p1:password>String</d2p1:password>
      <d2p1:phone1>String</d2p1:phone1>
      <d2p1:state>String</d2p1:state>
      <d2p1:zip>String</d2p1:zip>
    </d2p1:PortaUserInfo>
  </AllEnvUsers>
  <SessionKey>String</SessionKey>
  <UserDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:IUser>0</d2p1:IUser>
    <d2p1:baddr1>String</d2p1:baddr1>
    <d2p1:baddr2>String</d2p1:baddr2>
    <d2p1:baddr3>String</d2p1:baddr3>
    <d2p1:baddr4>String</d2p1:baddr4>
    <d2p1:baddr5>String</d2p1:baddr5>
    <d2p1:city>String</d2p1:city>
    <d2p1:country>String</d2p1:country>
    <d2p1:email>String</d2p1:email>
    <d2p1:firstname>String</d2p1:firstname>
    <d2p1:i_customer>0</d2p1:i_customer>
    <d2p1:login>String</d2p1:login>
    <d2p1:password>String</d2p1:password>
    <d2p1:phone1>String</d2p1:phone1>
    <d2p1:state>String</d2p1:state>
    <d2p1:zip>String</d2p1:zip>
  </UserDetails>
</UserInfoResponse>