<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 .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/PortaGetUA HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<PortaGetUA 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>
<MAC>String</MAC>
<Type>String</Type>
<UAName>String</UAName>
<UATypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta" i:nil="true" />
<currentModelVal>String</currentModelVal>
<getAllMAC>false</getAllMAC>
<getAllUANames>false</getAllUANames>
<getAllUAProfiles>false</getAllUAProfiles>
<getAllUATypes>false</getAllUATypes>
<getforCPEIM>false</getforCPEIM>
<getresultsbymac>false</getresultsbymac>
<i_ua_type>0</i_ua_type>
<macSearch>false</macSearch>
<searchstring>String</searchstring>
<subcustomerID>0</subcustomerID>
<toGetAllUAs>false</toGetAllUAs>
</PortaGetUA>