Deleting Restricted Questions from Events with the Event Management API

Prerequisites

Context

The DELETE /events/{eventId}/items endpoint of the Event Management API enables you to delete restricted questions from guided sourcing events.

Procedure

  1. Use one of the following methods to obtain the ID of the event from which you want to delete restricted questions.
    • If the event was created using the POST /events endpoint, use the internalId in the response as the event ID.

    • If the event was created from a sourcing request received from an external system, use the GET /events endpoint and specify the RFQ ID sent by the external system (the RequestID sent in the cXML QuoteRequest) as the externalSystemCorrelationId query parameter value. Use the internalId in the response as the event ID.

    • View the event ID in the user interface:

      • The classic SAP Ariba Sourcing user interface shows the event ID below the Overview tab, in the ID field.

      • The guided sourcing user interface shows the event ID in the upper left corner of the event page, below the event name.

  2. Use the DELETE /events/{eventId}/items endpoint to delete restricted questions from an event.

    Example:

    DELETE {{runtime_URL}}/events/Doc12345/items?user=myUser&passwordAdapter=PasswordAdapter1&realm=mySite

    Use the following data model for the request body:

    [
      "6083184"
    ]
    					

    To troubleshoot your queries to the Event Management API, refer to Error Messages Returned by the Event Management API.