Queue/DeleteBatches

This method deletes batches that are associated with an application name.

URI

http://{IP address}:{Port}/ServicewTM.svc/Queue/DeleteBatches/{application}

The URI for this method includes the following path elements.
Table 1. Path elements for the POST DeleteBatches method
Name Type Required? Description
{application} String Yes The name of the application for which batches are to be deleted.

Request content

The request deletes the batches that are associated with the application name.

Response content

The response for this method contains no content.

This method returns one of the following response codes.

Table 2. Response codes for the POST DeleteBatches method
Response Code Description
200 OK The request was successful.
400 Bad Request The request was not understood by the service because of malformed syntax.
401 Unauthorized The request requires user authentication. If the request included valid credentials, the 401 response indicates that authorization was refused for those credentials.
405 Method Not Allowed The method that is specified in the Request-Line is not allowed for the resource that is identified by the Request-URI. The response must include an Allow header that contains a list of valid methods for the requested resource.
411 Length Required The service refuses to accept the request without a defined Content-Length. The client can repeat the request if it adds a valid Content-Length header field that contains the length of the message body in the request message.
500 Internal Error An unexpected condition was encountered that prevented the service from fulfilling the request.