Response

The delete subscriber NAI response is returned as a generic <ns2:sdsResult> response. This response returns the result of the request to delete NAI subscriber routing entities. A single result applies to all routing entities supplied. The response returns the number actually deleted. Any that do not exist are not included in the count. However, if any actual delete fails, then the whole command fails and no changes are made.

Note: If applying all of the delete requests results in no database records being deleted (because they already did not exist in the database), the NO_UPDATES error code is returned and the number of affected records is 0.

Response Output

The response is displayed between the <soapenv:Body> and </soapenv:Body> XML tags of a SOAP response message, as shown in SOAP Response Messages.
<ns2:sdsResult affected="affected" error="error" [description="description"]>
</ns2:sdsResult>

Response Parameters

The parameters for all of the SOAP response commands are shown in SOAP Response Messages.

Error Codes

Table 1 lists the common error codes for the SOAP <deleteSubscriberNaiResponse> message. See SDS Response Message Error Codes for a complete list of error codes.
<deleteSubscriberNaiResponse> Error Codes (SOAP)
Error Code Description
SUCCESS The delete request was successfully completed.
NO_UPDATES The records were already deleted from the database.
NAI_HOST_NOT_FOUND The Host name does not exist.