Event Management API v2 Endpoints
Creating, Editing, or Publishing an Event
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Get values and definitions for one or more quick sourcing (single-event) project templates |
GET /events/templates |
|
Create an event. |
POST /events |
|
Modify or add information for an event, such as header information, owners, invited participants (suppliers), or content (lots, line items, or questions) |
PUT /events/{eventId} |
|
Perform a validation on the data being submitted for event publish |
POST /events/{eventId}/state |
|
Publish or republish an event (or submit an event for publishing or republishing) |
POST /jobs with "resourceType": "EVENT" and "actionName": "PUBLISH" in the body. When republishing an event, include an actionBody element in the body as defined by PublishActionJobRequest in the API specification. The actionBody specifies how any existing bids are handled and if participants are notified. |
|
Open a published event for editing (change the event state to Draft) |
POST /jobs with "resourceType": "EVENT" and "actionName": "EDIT" in the body. |
|
Revert the current draft version of an event to the previous version |
POST /jobs with "resourceType": "EVENT" and "actionName": "REVERT_DRAFT" in the body. |
|
Delete an unpublished (draft) event |
POST /jobs with "resourceType": "EVENT" and "actionName": "DELETE_DRAFT" in the body. |
|
Lock an event |
POST /jobs with "resourceType": "EVENT" and "actionName": "LOCK_DOCUMENT" in the body. |
|
Unlock an event |
POST /jobs with "resourceType": "EVENT" and "actionName": "UNLOCK_DOCUMENT" in the body. |
Retrieving Information About Events
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Get information about the specified event, including state, header information, and contents |
GET /events/{eventId} You can optionally specify the query filter $expand to retrieve the event information in addition to the header information. You can specify multiple values, delimited by commas. Valid values: all, items, supplierInvitations, teams, owners, customFields, none. Default: none. |
|
Get a list of events and event IDs based on the query filters:
|
GET /events
The following query filters are supported:
|
|
Get the list of event IDs and parent project IDs of events created, modified, or both created and modified within a given time period, which is specified in the $filter parameter of the query as date ranges in the Unix epoch time format |
GET /events/identifiers with the $filter query parameter |
Changing the Event State or Time
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Stop an event (close bidding and move to the Pending Selection state) |
POST /jobs with "resourceType": "EVENT" and "actionName": "STOP" in the body. |
|
Reopen an event for bidding |
POST /jobs with "resourceType": "EVENT" and "actionName": "REOPEN" in the body. To extend the event time, you can include an actionBody element in the body as defined by TimingEditJobRequest in the API specification. |
|
Pause an event |
POST /jobs with "resourceType": "EVENT" and "actionName": "PAUSE" in the body. |
|
Resume a paused event |
POST /jobs with "resourceType": "EVENT" and "actionName": "RESUME" in the body. |
|
Cancel an event. |
POST /jobs with "resourceType": "EVENT" and "actionName": "CANCEL" in the body. |
|
Undo event cancelation. |
POST /jobs with "resourceType": "EVENT" and "actionName": "UNDO_CANCEL" in the body. |
|
Extend the time for an event |
POST /jobs with "resourceType": "EVENT" and "actionName": "EXTEND_TIMING" in the body. In the body, include an actionBody element as defined by TimingEditJobRequest in the API specification to specify the new time. |
|
Reduce the time for an event |
POST /jobs with "resourceType": "EVENT" and "actionName": "REDUCE_TIMING" in the body. In the body, include an actionBody element as defined by TimingEditJobRequest in the API specification to specify the new time. |
Managing Event Items and Terms
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Get a list of all terms available for all items in an event |
GET /events/{eventId}/terms |
|
Add items to an event |
POST /events/{eventId}/items |
|
Get a list of all terms for a specific item in an event |
GET /events/{eventId}/items/{itemId}/terms |
|
Get a list of all terms that can be added for a specific item in an event |
GET /events/{eventId}/items/{itemId}/terms with the query parameter unassignedTerms=true |
|
Update items in an event |
PUT /events/{eventId}/items |
|
Get information about a specific item in an event |
GET /events/{eventId}/items/{itemId} |
|
Get information about all items in an event |
GET /events/{eventId}/items You can optionally specify the query filter itemId. For example, $filter=(itemId eq ID12345). |
|
Delete a specific item in an event |
DELETE /events/{eventId}/items/{itemId} |
|
Delete items in an event |
DELETE /events/{eventId}/items |
|
Get details of items in the specified event, including term values with pagination |
GET /events/{eventId}/items/pages/{pageNumber} |
|
Upload a file as an attachment for the specified item and term in an event |
POST /events/{eventId}/items/{itemsId}/attachments |
|
Download attachments for the specified item and term in an event |
GET /events/{eventId}/items/{itemsId}/attachments/{attachmentId}/content |
|
Delete attachments for a specified item and term in an event. |
DELETE /events/{eventId}/items/{itemsId}/attachments |
Managing Suppliers for an Event
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Get supplier invitation ID and other information for each supplier contact (user) invited to the event. You use invitation IDs to identify and manage suppliers in an event |
GET /events/{eventId}/supplierInvitations You can optionally use the query parameter $select to retrieve only the last submission date (submissionDate) or supplier bid status (supplierBidStatus). |
|
Get details about the specified supplier invitation for the event, including information about the supplier and supplier contact |
GET /events/{eventId}/supplierInvitations/{invitationId} |
|
Add (invite) suppliers to an event |
POST /events/{eventId}/supplierInvitations |
|
Remove all current suppliers in the event and add the suppliers specified in the request body |
PUT /events/{eventId}/supplierInvitations |
|
Update information in the specified supplier invitation for the event |
PUT /events/{eventId}/supplierInvitations/{invitationId} You can replace a contact with another contact who is configured in SAP Ariba Supplier Management solutions for the same supplier organization, or change the response team status (isResponseTeam). |
|
Remove (uninvite) suppliers from the event |
DELETE /events/{eventId}/supplierInvitations |
|
Add (invite) multiple suppliers for specific items in an event |
POST /events/{eventId}/items/supplierInvitations |
|
Get information about all suppliers (supplier invitations) invited for a specific item in an event |
GET /events/{eventId}/items/{itemId}/supplierInvitations |
|
Add (invite) suppliers for a specific item in an event |
POST /events/{eventId}/items/{itemId}/supplierInvitations |
|
Get details about a specific supplier invited for a specific item in an event |
GET /events/{eventId}/items/{itemId}/supplierInvitations/{invitationId} |
|
Remove (uninvite) suppliers for a specific item in an event |
DELETE /events/{eventId}/items/{itemId}/supplierInvitations |
|
Remove (uninvite) a supplier for a specific item in an event |
DELETE /events/{eventId}/items/{itemId}/supplierInvitations/{invitationId} |
|
Lock suppliers (block event access) or unlock specified suppliers |
POST /jobs with "resourceType": "SUPPLIER_INVITATIONS" and "actionName": "TOGGLE_LOCK" in the body. In the request body, include an actionBody element as defined by ToggleLockJobRequest in the API specification. The actionBody specifies the suppliers that you want to lock or unlock. |
|
Resend event invitation emails to specified suppliers |
POST /jobs with "resourceType": "SUPPLIER_INVITATIONS" and "actionName": "RESEND_INVITATION_EMAIL" in the body. In the request body, include an actionBody element as defined by ResendInvitationJobRequest in the API specification. The actionBody specifies the suppliers to whom you want to resend invitations. |
|
Stop the supplier anonymization for an event |
POST /jobs with "resourceType": "EVENT" and "actionName": "STOP_ANONYMIZATION" in the body |
Viewing Supplier Responses
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Get a count of the supplier (participant) bids or responses for the event (the number of participants who intend to bid, declined to bid, and have bid) |
GET /events/{eventId}/bidSummary |
|
Get all supplier bids for the event |
GET /events/{eventId}/supplierBids |
|
Get the supplier bids for the specified event based on the pagination details specified. |
GET /events/{eventId}/supplierBids/pages/{pageNumber} |
|
Get bids for the event submitted by the supplier (participant) specified in the {invitationId} |
GET /events/{eventId}/supplierBids/{invitationId} You can optionally specify the query filter itemId to retrieve the supplier bids for a specific item. For example, $filter=(itemId eq ID12345). |
|
Get supplier bids for the specific supplier in an event based on the pagination details specified |
GET /events/{eventId}/supplierBids/{invitationId}/pages/{pageNumber} |
|
Download attachments from the specified supplier for an item in an event |
GET /events/{eventId}/supplierBids/{invitationId}/attachments/{attachmentId}/content |
Supplier response information includes alternative bids and bids for multi-stage events.
Managing Attachments in Events
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Upload a file as an attachment for the specified item and term in an event |
POST /events/{eventId}/items/{itemsId}/attachments |
|
Download attachments for the specified item and term in an event |
GET /events/{eventId}/items/{itemsId}/attachments/{attachmentId}/content |
|
Delete attachments for a specified item and term in an event. |
DELETE /events/{eventId}/items/{itemsId}/attachments |
|
Download attachments from the specified supplier for an item in an event |
GET /events/{eventId}/supplierBids/{invitationId}/attachments/{attachmentId}/content |
Creating and Managing Event Scenarios and Awards
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Create an award scenario for the event |
POST /events/{eventId}/scenarios |
|
Get information about all award scenarios for the event |
GET /events/{eventId}/scenarios The response includes an availableActions array with the actions available that the user specified in the user query parameter can perform. You can optionally specify the query filter scenarioId to retrieve the supplier bids for a specific item. For example, $filter=(scenarioId eq ID12345). |
|
Get information about a scenario |
GET /events/{eventId}/scenarios/{scenarioId} |
|
Update a scenario |
PUT /events/{eventId}/scenarios/{scenarioId} |
|
Delete a scenario |
DELETE /events/{eventId}/scenarios/{scenarioId} |
|
Copy a scenario |
POST /jobs with "resourceType": "SCENARIO" and "actionName": "COPY" in the body |
|
Optimize a scenario |
POST /jobs with "resourceType": "SCENARIO" and "actionName": "OPTIMIZE" in the body |
|
Submit a scenario for an award |
POST /jobs with "resourceType": "SCENARIO" and "actionName": "SUBMIT" in the body |
|
Get the award data for the event |
GET /events/{eventId}/awards or GET /events/{eventId}/awards/{awardId} |
For additional information, refer to Creating Scenarios and Awards with the Event Management API.
Submitting Jobs and Retrieving Job Information
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Submit a job to perform an action on a resource, such as publishing an event. This action creates a scenario for a specific event. |
POST /jobs with "resourceType": "SCENARIO" and "actionName": "CREATE_SCENARIO" in the body |
|
Create an asynchronous CREATE_SCENARIO job |
POST /jobs with "resourceType": "SCENARIO" and "actionName": "CREATE_SCENARIO" in the body |
|
Get the current status of an asynchronous job, such as a CREATE_SCENARIO job. The jobId is obtained from the 202 Accepted response of POST /jobs with actionName CREATE_SCENARIO. |
GET /jobs/{jobId} |
|
Get a list of all valid resourceType and actionName pairs for jobs |
GET /metadata/jobs |
Retrieving and Updating Event Rule Details
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Retrieve information about all rules in an event. For additional information, refer to Retrieving Event Rules with the Event Management API. |
GET /events/{eventId}/rules |
|
Update rules in an event. For additional information, refer to Updating Event Rules with the Event Management API. |
PUT /events/{eventId}/rules |
|
Retrieve information about a specific rule in an event. For additional information, refer to Retrieving a Specific Event Rule with the Event Management API. |
GET /events/{eventId}/rules/{ruleName} |
Retrieving Details of Event Messages, Attachments, and Downloading Attachments
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Retrieve details of all messages in an event. For additional information, refer to Retrieving Event Messages with the Event Management API. |
GET /events/{eventId}/messages |
|
Retrieve attachment details associated with a specific message in an event. For additional information, refer to Downloading an Attachment from an Event Message with the Event Management API. |
GET /events/{eventId}/messages/{messageId}/attachments |
|
Download attachments from a specific message in an event. For additional information, refer to Downloading an Attachment from an Event Message with the Event Management API. |
GET /events/{eventId}/messages/{messageId}/attachments/{attachmentId}/content |
Retrieving Event Logs
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Retrieve event history or audit logs of an event. For additional information, refer to Retrieving Audit Logs with the Event Management API. |
GET /events/{eventId}/auditLogs |
Retrieving Events Rounds, Updating the Last Unpublished Bidding Round, and Creating a new Bidding Round
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Create a new bidding round in an event. For additional information, refer to Creating a New Bidding Round in an Event with the Event Management API. |
POST /events/{eventId}/rounds |
|
Update the last unpublished bidding round in an event. For additional information, refer to Updating the Last Unpublished Bidding Round in an Event with the Event Management API. |
PUT /events/{eventId}/rounds/{roundNumber} |
|
Retrieve details of bidding rounds in an event. For additional information, refer to Retrieving Bidding Round Details with the Event Management API. |
GET /events/{eventId}/rounds |
|
Retrieve details of a specific bidding round in an event. For additional information, refer to Retrieving Bidding Round Details with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber} |
|
Retrieve item details for a specific bidding round in an event. For additional information, refer to Retrieving Item Details for a Specific Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/items |
|
Retrieve details of a specific item for a bidding round in an event. For additional information, refer to Retrieving Item Details for a Specific Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/items/{itemId} |
|
Retrieve all terms defined for an item for a bidding round in an event. For additional information, refer to Retrieving All Terms Defined for an Item for a Specific Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/items/{itemId}/terms |
|
Retrieve supplier invitation details for a bidding round in an event. For additional information, refer to Retrieving Supplier Invitation Details for a Specific Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/supplierInvitations |
|
Retrieve supplier invitation details for a specific supplier for a bidding round in an event. For additional information, refer to Retrieving Supplier Invitation Details for a Specific Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/supplierInvitations/{invitationId} |
|
Retrieve all supplier bids for a bidding round in an event. For additional information, refer to Retrieving Supplier Bids for a Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/supplierBids |
|
Retrieve bid information submitted by a supplier for a bidding round in an event. For additional information, refer to Retrieving Supplier Bids for a Bidding Round in an Event with the Event Management API. |
GET /events/{eventId}/rounds/{roundNumber}/supplierBids/{invitationId} |
Retrieving Participant Scores
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Retrieve participant grades in the specified event. For additional information, refer to Retrieving Participant Grades with the Event Management API . |
GET /events/{eventId}/grades |
Managing Sealed Bid Events
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Reveal bids for a sealed bid event. For additional information, refer to Revealing Sealed Bids with the Event Management API. |
POST /jobs with "resourceType": "EVENT" and "actionName": " REVEAL_SEALED_BIDS" in the body |
|
Extend the event close time for a sealed bid event. For additional information, refer to Extending Event Time for Sealed Bid Events with the Event Management API. |
POST /jobs with "resourceType": "EVENT" and "actionName": " REOPEN" in the body |
Creating, Updating, and Retrieving Multi-Currency Events
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Create a multi-currency event. |
POST /events |
|
Update a multi-currency event. |
PUT /events/{eventId} |
|
Retrieve all multi-currency events. |
GET /events |
|
Retrieve the details of a specific multi-currency event. |
GET /events/{eventId} |
Adding, Editing, and Retrieving Items in Multi-Currency Events
|
To Perform This Action... |
Use This Endpoint |
|---|---|
|
Add items in a multi-currency event. |
POST /events/{eventId}/items |
|
Edit items in a multi-currency event. |
PUT /events/{eventId}/items |
|
Retrieve items in a multi-currency event. |
GET /events/{eventId}/items |
Creating, Retrieving, and Deleting Restricted Questions
|
To Perform This Action... |
Use These Endpoints |
|---|---|
|
Create restricted questions in guided sourcing events. |
|
|
Retrieve restricted questions from a guided sourcing event. |
|
|
Delete restricted questions from guided sourcing events. |
DELETE /events/{eventId}/items |