Porta Plus 2 Web Services

<back to all web services

PortaGetUA

The following routes are available for this service:
GET/GetUAType/{License}/{ICustomer}
GET/GetUATypesbyTypeID/{License}/{ICustomer}/{i_ua_type}/{Type}
GET/GetUATypesbyTypeIDforMACSearch/{License}/{i_ua_type}/{Type}/{getresultsbymac}
GET/GetAllUANames/{License}/{UAName}/{getAllUANames}
GET/GetUAbyIcustomer/{License}/{ICustomer}/{getforCPEIM}/{toGetAllUAs}
GET/Getuabymacsearchstring/{License}/{mac}/{getresultsbymac}
GET/GetAllMACAddress/{License}/{MAC}/{getAllMAC}
GET/GetMACBySearch/{License}/{searchstring}/{macSearch}
GET/GetAllUAType/{License}/{getAllUATypes}
GET/GetAllProfileName/{License}/{i_ua_type}/{currentModelVal}/{getAllUAProfiles}
GET/GetProfileName/{License}/{i_ua_type}/{ICustomer}/{currentModelVal}/{subcustomerID}
GET/GetProfileNamesforCPEIM/{License}/{i_ua_type}/{ICustomer}/{Type}/{getforCPEIM}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/oneway/PortaGetUA HTTP/1.1 
Host: 7el.co 
Content-Type: application/json
Content-Length: length

{"i_ua_type":0,"ICustomer":0,"currentModelVal":"String","IEnv":0,"getAllUATypes":false,"getAllUAProfiles":false,"getAllUANames":false,"UAName":"String","getAllMAC":false,"MAC":"String","Type":"String","subcustomerID":0,"getforCPEIM":false,"macSearch":false,"searchstring":"String","getresultsbymac":false,"toGetAllUAs":false,"License":"String","ContentId":0,"FeatureName":"String"}