Examples

These examples show how to use the <deleteDomain> request and likely response.

Delete Domains

This example successfully deletes three Domain Identifiers.

Request:
<deleteDomain ent=”subscriberRouting” ns=”dsr” id=”101”>
  <domain>tekelec.com</domain>
  <domain>oracle.com</domain>
  <domain>cgbu-oracle.com</domain>
</deleteDomain>
Result:
<deleteDomainResp id=”101”>
  <res error=”0” affected=”3”/>
</deleteDomainResp>

Delete Some, but not all, Domains

This example successfully deletes two Domain Identifiers, but other Domain Identifiers were not found; hence, they were not deleted.

Request:
<deleteDomain ent=”subscriberRouting” ns=”dsr” id=”102”>
  <domain>tekelec.com</domain>
  <domain>oracle.com</domain>
  <domain>redoracle.com</domain>
  <domain>myoracle.com</domain>
  <domain>oracletest.com</domain>
</deleteDomain>
Result:
<deleteDomainResp id=”102”>
  <res error=”0” affected=”2”/>
</deleteDomainResp>