API Reference | cleverbridge

Want to find out about the assortment of APIs that cleverbridge offers? The cleverbridge API Reference is the place to learn about our API resources, request items, and responses. You can also try out our endpoints using the API explorer.

Get Started    

Additional Examples - Deactivate Subscription Items

<DeactivateSubscriptionItemsRequest xmlns="http://api.cleverbridge.com/datacontract">
  <AllowReinstate>true</AllowReinstate>
  <GenerateMail>true</GenerateMail>
  <Items>
    <Item>1</Item>
    <Item>2</Item>
  </Items>
  <SubscriptionId>S23179293</SubscriptionId>
</DeactivateSubscriptionItemsRequest>
<?xml version="1.0"?>
<DeactivateSubscriptionItemsResponse xmlns="http://api.cleverbridge.com/datacontract">
  <ResultMessage>OK</ResultMessage>
</DeactivateSubscriptionItemsResponse>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://api.cleverbridge.com/datacontract" elementFormDefault="qualified" targetNamespace="http://api.cleverbridge.com/datacontract">
   <xs:element name="DeactivateSubscriptionItemsRequest" nillable="true" type="tns:DeactivateSubscriptionItemsRequest" />
   <xs:complexType name="DeactivateSubscriptionItemsRequest">
      <xs:sequence>
         <xs:element minOccurs="1" maxOccurs="1" name="AllowReinstate" type="xs:boolean" />
         <xs:element minOccurs="1" maxOccurs="1" name="GenerateMail" type="xs:boolean" />
         <xs:element minOccurs="0" maxOccurs="1" name="Items" type="tns:ArrayOfInt" />
         <xs:element minOccurs="0" maxOccurs="1" name="SubscriptionId" type="xs:string" />
      </xs:sequence>
   </xs:complexType>
   <xs:complexType name="ArrayOfInt">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="unbounded" name="Item" type="xs:int" />
      </xs:sequence>
   </xs:complexType>
</xs:schema>
COPY TO CLIPBOARD	 SELECT 
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://api.cleverbridge.com/datacontract" elementFormDefault="qualified" targetNamespace="http://api.cleverbridge.com/datacontract">
   <xs:element name="DeactivateSubscriptionItemsResponse" nillable="true" type="tns:DeactivateSubscriptionItemsResponse" />
   <xs:complexType name="DeactivateSubscriptionItemsResponse">
      <xs:complexContent mixed="false">
         <xs:extension base="tns:BaseResponseMessage" />
      </xs:complexContent>
   </xs:complexType>
   <xs:complexType name="BaseResponseMessage">
      <xs:sequence>
         <xs:element minOccurs="0" maxOccurs="1" name="ResultMessage" type="xs:string" />
      </xs:sequence>
   </xs:complexType>
</xs:schema>