Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

CartView delete request



Description

This API deletes an item from the Cart object.

API stability classification

Uncommitted

API overview

HTTP request message

Query string parameters

This API does not use query string parameters.

Request message headers

This API uses only common headers listed in HTTP-request-and-response-headers.

Request message body

This API uses the following objects in the request message body JSON. 

Top-level objects


Input parameters to include in operationParams

If you include both the fillFields and ignoreFields parameters in your query and the same field is listed in both parameters, the ignoreFields parameter takes precedence.

HTTP response message

Response message headers

This API uses only common headers listed in HTTP-request-and-response-headers.

Response message body

The response message body contains a SearchResults object in which the results field is an array of CartView objects. If your search request times out before it finishes, the response message body contains a CartTask object.

Example

The following example shows an HTTP request for the API that deletes an item from the Cart object.

URL Syntax: /csm/cartView/deleteitem
{  
   "timeout":-1,
   "preCallout":"",
   "postCallout":"",
   "callbackURL":"",
   "operationParams":[  
      {  
         "name":"item",
         "multiplicity":"0..1",
         "type":"com.bmc.cloud.model.view.beans.RequestView",
         "value":{  
            "guid":"539f535b-2a9b-4e36-bf19-3e9577d96e4e",
            "cloudClass":"com.bmc.cloud.model.view.beans.ServiceRequestView",
            "name":"SSSS"
         }
      }
   ]
}





 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*