ExclusivityCheck.runPrintCheckAvail API
1. SOAP web service
The needed licenses for this is:
API_USAGE
1.1. URL
https://<my-domain-name>.my.salesforce.com/services/Soap/package/ADvendio/ExclusivityCheck
1.2. Method
POST
1.3. Header Params
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Accept: text/xml
1.4. Body Params
The SOAP envelope with the attribute access-token and the action, containing the IDs of the relevant CIs (as comma separated values (csv) in one string).
Example:
<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/">
<se:Header xmlns:sfns="http://soap.sforce.com/schemas/package/ADvendio/ExclusivityCheck">
<sfns:SessionHeader>
<sessionId>{{access-token}}</sessionId>
</sfns:SessionHeader>
</se:Header>
<se:Body>
<runPrintCheckAvail xmlns="http://soap.sforce.com/schemas/package/ADvendio/ExclusivityCheck">
<ciIdsCsv>a0m3E000003OOglQAG</ciIdsCsv>
</runPrintCheckAvail>
</se:Body>
</se:Envelope>
1.5. Success Response
Code: 200
Content: An xml with the Contending items will be given back.
1.6. Usage in APEX
ADvendio.ExclusivityCheck.runPrintCheckAvail(String ciIdsCsv)