Retrieving Supplier Invitation Details with the Event Management API

This procedure describes how to use the Event Management API to retrieve supplier invitation ID and other information for each supplier invited to the event.

Prerequisites

Context

The GET /events/{eventId}/supplierInvitations endpoint of the Event Management API enables you to retrieve supplier invitation ID and other information for each supplier invited to the event. You use invitation IDs to identify and manage suppliers in an event.

Procedure

  1. Use one of the following methods to obtain the ID of the event you want to work with.
    • 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. The GET /events/{eventId}/supplierInvitations endpoint of the Event Management API enables you to retrieve invitationId values for suppliers in an event.

    You can optionally use the query parameter $select to retrieve only the last submission date (submissionDate) or supplier bid status (supplierBidStatus).

    Example:

    GET {{runtime_URL}}/events/Doc1634663/supplierInvitations?user=myUser&passwordAdapter=PasswordAdapter1&realm=mySite

    You can specify the locale in which you want the response to return. For more information, refer to About Setting Locale for Event Management API Responses.

    You can paginate responses to manage the display of information returned. For more information, refer to About Paginating Event Management API Responses.

    The Event Management API returns the details of the supplier invitation details in the event.

    For example:

    {
        "title": "simple API event",
        "description": "It is a simple API event",
        "internalId": "Doc1634663",
        "currency": "USD",
        "status": "Pending Selection",
        "baseLanguage": "en",
        "eventTypeName": "RFP",
        "eventStateName": "PendingSelectionState",
        "owner": {
            "uniqueName": "customersupportadmin",
            "passwordAdapter": "PasswordAdapter1",
            "name": "Customer Support Admin",
            "isRecommended": false
        },
        "requestId": "",
        "documentVersion": 1,
        "hasAward": false,
        "eventOrigin": "0",
        "templateProjectInternalId": "SYS0207",
        "templateEventInternalId": "SYS0107",
        "regions": [],
        "departments": [],
        "commodities": [],
        "compositeEventStateName": "PendingSelectionState",
        "parentProjectId": "WS1634654",
        "previewDate": "2023-08-17T03:29:16.355+0000",
        "openDate": "2023-08-17T03:30:00.000+0000",
        "closeDate": "2023-08-17T04:00:00.000+0000",
        "supplierInvitations": [
            {
                "mainContact": {
                    "uniqueName": "cford",
                    "passwordAdapter": "SourcingSupplierUser",
                    "name": "Christine Ford",
                    "emailAddress": "devnull@devmail.ariba.com",
                    "organization": "BigBox Retail",
                    "orgName": "BigBox Retail",
                    "timeZoneID": "US/Pacific",
                    "localeID": "en_US",
                    "isRecommended": false,
                    "orgANId": "an70000000089"
                },
                "contacts": [
                    {
                        "uniqueName": "cford",
                        "passwordAdapter": "SourcingSupplierUser",
                        "name": "Christine Ford",
                        "emailAddress": "devnull@devmail.ariba.com",
                        "organization": "BigBox Retail",
                        "orgName": "BigBox Retail",
                        "timeZoneID": "US/Pacific",
                        "localeID": "en_US",
                        "isRecommended": false,
                        "orgANId": "an70000000089"
                    }
                ],
                "organization": {
                    "name": "BigBox Retail",
                    "systemID": "sid525",
                    "smVendorID": null,
                    "erpVendorID": "0000001102",
                    "taxID": "xxxxx",
                    "organizationIDs": [
                        {
                            "domain": "internalsystemid",
                            "value": "1025"
                        },
                        ...,
                        {
                            "domain": "buyersystemid",
                            "value": "sid525"
                        }
                    ],
                    "address": {
                        "phone": "",
                        "fax": "",
                        "lines": [
                            "1 BigBox Blvd."
                        ],
                        "city": "Stamford",
                        "state": "CT",
                        "postalCode": "6905",
                        "country": "US"
                    }
                },
                "inviter": {
                    "uniqueName": "customersupportadmin",
                    "passwordAdapter": "PasswordAdapter1"
                },
                "isResponseTeam": false,
                "invitationId": "cford",
                "orgId": "sid525",
                "userId": "cford",
                "qualificationStatus": "Unknown",
                "registrationStatus": "Unknown",
                "declinedToRespond": true,
                "declineToRespondReason": "i don't want to participate",
                "intendToRespondDate": "2023-08-17T03:33:19.484+0000",
                "supplierBidStatus": "Decline to Respond"
            },
            ...
        ],
        "timingMultiple": 30,
        "timingUnit": 0,
        "timingPublishType": 0,
        "isTest": false,
        "awardApprovalRequired": false,
        "isVersionPinned": true,
        "lastModified": "2023-08-17T03:29:13.068+0000",
        "createDate": "2023-08-17T03:27:58.979+0000",
        "isMulticurrencyEnabled": false,
        "gbProjectUrl": "",
        "buyerSystemID": "",
        "autoPublish": false,
        "webJumperURL": "{{runtime_url}}",
        "webJumperURLForSupplier": "{{runtime_url}}",
        "availableExternalSystemIntegrationTypes": [],
        "isSupplierAnonymizationActive": false,
        "isManualInterventionActive": false,
        "subProject": true,
        "externalIntegrationSupported": false
    }
    					

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