Copyright © tutorialspoint.com

UDDI API - delete_tModel

previous

Description: The delete_tModel API call is used to logically delete one or more tModel structures. Logical deletion hides the deleted tModels from find_tModel result sets but does not physically delete it. Deleting an already deleted tModel has no effect.

Upon successful completion, a dispositionReport message is returned with a single success indicator.

Version 2.0 Syntax:

<delete_tModel generic="2.0" xmlns="urn:uddi-org:api_v2" >
    <authInfo/>
    <tModelKey/> [<tModelKey/> .]
</delete_tModel>

Arguments:

authInfo: This required argument is an element that contains an authentication token. Authentication tokens are obtained using the get_authToken API call.

tModelKey : one or more URN qualified uuid_key values that represent specific instances of known tModel data. All tModelKey values begin with a uuid URN qualifier (e.g. "uuid:" followed by a known tModel UUID value.)

Error Returned:

If any error occurs in processing this API call, a dispositionReport element will be returned to the caller within a SOAP Fault. The following error number information will be relevant:

E_invalidKeyPassed: signifies that one of the URN qualified uuid_key values passed did not match with any known tModelKey values.

E_authTokenExpired: signifies that the authentication token value passed in the authInfo argument is no longer valid because the token has expired.

E_authTokenRequired: signifies that the authentication token value passed in the authInfo argument is either missing or is not valid.

E_userMismatch: signifies that one or more of the tModelKey values passed refers to data that is not controlled by the individual who is represented by the authentication token.



previous

Copyright © tutorialspoint.com