SOAP API - GetPackageAttributeQuantityIDByServiceSKU
GetPackageAttributeQuantityIDByServiceSKU( packageName, serviceSKU, ownerUsername ) : Integer
Since: EngageIP v25.2
Returns the ID of a packageAttributeQuantity based on the the package name, service SKU and specified owner username. An exception will be thrown if no match is found.
Parameters:
packageName (String) - The name of the package to be retrieved
serviceSKU (String) - The SKU of the service attached to the specified package
ownerUsername (String) - The username for which the package belongs
Returns:
The integer ID of the retrieved packageAttributeQuantity
Possible Exceptions:
INVALID USERNAME
INVALID PACKAGE NAME
INVALID SERVICE SKU
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /adminportal/webservice.asmx HTTP/1.1
Host: demo.logisense.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Header>
<AuthHeader xmlns="Logisense_EngageIP">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap12:Header>
<soap12:Body>
<GetPackageAttributeQuantityIDByServiceSKU xmlns="Logisense_EngageIP">
<packageName>string</packageName>
<serviceSKU>string</serviceSKU>
<ownerUsername>string</ownerUsername>
</GetPackageAttributeQuantityIDByServiceSKU>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetPackageAttributeQuantityIDByServiceSKUResponse xmlns="Logisense_EngageIP">
<GetPackageAttributeQuantityIDByServiceSKUResult>int</GetPackageAttributeQuantityIDByServiceSKUResult>
</GetPackageAttributeQuantityIDByServiceSKUResponse>
</soap12:Body>
</soap12:Envelope>
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /adminportal/webservice.asmx HTTP/1.1
Host: demo.logisense.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Logisense_EngageIP/GetPackageAttributeQuantityIDByServiceSKU"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthHeader xmlns="Logisense_EngageIP">
<Username>string</Username>
<Password>string</Password>
</AuthHeader>
</soap:Header>
<soap:Body>
<GetPackageAttributeQuantityIDByServiceSKU xmlns="Logisense_EngageIP">
<packageName>string</packageName>
<serviceSKU>string</serviceSKU>
<ownerUsername>string</ownerUsername>
</GetPackageAttributeQuantityIDByServiceSKU>
</soap:Body>
</soap:Envelope>