WEBCentralizedShoppingCartAccreditationSetLineItems
Initial Build |
2017.1 |
xWeb |
xWeb Method |
Response Type |
Object |
This method is used to add and remove fees for an Accrediation Object. This method should be called before adding the object to the Shopping Cart Object.
Parameters
- oAccreditation (Accreditation Object). The accreditation object. Use the CurrentKey field to pass the accreditation key to the method.
- oFeeCollection (FeeCollection Object). The fees to be added or removed for this customer.
Response
Accreditation Object - the accreditation object with the invoice details collection updated to match the fee collection. New invoice details will be created for fees to add and existing invoice details will be removed for fees to remove. The details of the object returned vary based on the line items set by the request.
Exceptions
This method issues exceptions for invalid keys and data.
Sample Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">
<soapenv:Header>
<ns:AuthorizationToken>
<ns:Token>***********************</ns:Token>
</ns:AuthorizationToken>
</soapenv:Header>
<soapenv:Body>
<ns:WEBCentralizedShoppingCartAccreditationSetLineItems>
<ns:oAccreditation>
<ns:CurrentKey>5fb6bf9a-0cda-4a7a-b8d0-723cbef2f0c6</ns:CurrentKey>
[[Accreditation]]
</ns:oAccreditation>
<ns:oFeeCollection>
<!--Zero or more repetitions:-->
[[FeeCollection]]
</ns:oFeeCollection>
</ns:WEBCentralizedShoppingCartAccreditationSetLineItems>
</soapenv:Body>
</soapenv:Envelope>