Porta Plus 2 Web Services

<back to all web services

CPEInventory

The following routes are available for this service:
GET/GetCPEInventory/{License}/{ResellerID}

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

<CPEInventory 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>
  <AssignUA>false</AssignUA>
  <CheckAssignedPorts>false</CheckAssignedPorts>
  <DeleteUA>false</DeleteUA>
  <Ienv>0</Ienv>
  <ManagedBy>String</ManagedBy>
  <ReleaseUA>false</ReleaseUA>
  <ResellerID>0</ResellerID>
  <UpdateUA>false</UpdateUA>
  <ascii_key>String</ascii_key>
  <description>String</description>
  <i_account>0</i_account>
  <i_customer>0</i_customer>
  <i_customerSpecified>false</i_customerSpecified>
  <i_ua>0</i_ua>
  <i_ua_type>0</i_ua_type>
  <inventory_id>String</inventory_id>
  <mac>String</mac>
  <name>String</name>
  <notepad>String</notepad>
  <opc_key>String</opc_key>
  <port>0</port>
  <profile>String</profile>
  <profile_id>0</profile_id>
  <releaseUAOnAccountDeletion>false</releaseUAOnAccountDeletion>
  <type>String</type>
  <ua_profile_id>String</ua_profile_id>
  <used>String</used>
</CPEInventory>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CPEInventoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ListCPEInventory>
    <CPEInventory>
      <ContentId>0</ContentId>
      <FeatureName>String</FeatureName>
      <License>String</License>
      <AssignUA>false</AssignUA>
      <CheckAssignedPorts>false</CheckAssignedPorts>
      <DeleteUA>false</DeleteUA>
      <Ienv>0</Ienv>
      <ManagedBy>String</ManagedBy>
      <ReleaseUA>false</ReleaseUA>
      <ResellerID>0</ResellerID>
      <UpdateUA>false</UpdateUA>
      <ascii_key>String</ascii_key>
      <description>String</description>
      <i_account>0</i_account>
      <i_customer>0</i_customer>
      <i_customerSpecified>false</i_customerSpecified>
      <i_ua>0</i_ua>
      <i_ua_type>0</i_ua_type>
      <inventory_id>String</inventory_id>
      <mac>String</mac>
      <name>String</name>
      <notepad>String</notepad>
      <opc_key>String</opc_key>
      <port>0</port>
      <profile>String</profile>
      <profile_id>0</profile_id>
      <releaseUAOnAccountDeletion>false</releaseUAOnAccountDeletion>
      <type>String</type>
      <ua_profile_id>String</ua_profile_id>
      <used>String</used>
    </CPEInventory>
  </ListCPEInventory>
  <UAAdded>false</UAAdded>
  <UAAddedtoAS>0</UAAddedtoAS>
  <UADelete>false</UADelete>
  <errorMessage>String</errorMessage>
  <uaResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:ExceptionFlag>false</d2p1:ExceptionFlag>
    <d2p1:UAAdded>false</d2p1:UAAdded>
  </uaResponse>
</CPEInventoryResponse>