Skip to Content
Support Hub
Integrations & ActionsCreating Service Requests in SAP Cloud for Customers (C4C)

Integrations & Actions

Creating Service Requests in SAP Cloud for Customers (C4C)

This guide explains how to integrate Mavenoid with SAP Cloud for Customer (C4C) using the ODATA V2 API for creating customers and service requests via Basic Authentication.

Requirements

  • Admin Access To Mavenoid: Contact your Mavenoid representative if you lack admin permissions.

  • User Credentials: An SAP user account with access to customer and service request resources.

Configure the Integration

This guide outlines creating customers and service requests in SAP C4C using the OData API. To interact with other SAP resources, consult the SAP OData V2 API documentation.

Use the Call External API action to configure the integration.

  1. Set Up Authentication:
    Store the base64-encoded username:password as a secret in Mavenoid. Use this in the header of the API call as Authorization: Basic {{$secrets["YOUR_SECRET"]}}.

  2. Check for Existing Customer:
    To check if a customer already exists, send a GET request to
    /IndividualCustomerCollection: GET https://{domain}/sap/c4c/odata/v1/c4codataapi/IndividualCustomerCollection?$filter=Email eq '{{$customer_email}}'

  3. Create Customer:
    If the customer does not exist, send a POST request to SAP’s endpoint /IndividualCustomerCollection to create a new customer: https://{domain}/sap/c4c/odata/v1/c4codataapi/IndividualCustomerCollection

  4. Creating a Service Request:
    To create a service request, send a POST request to the endpoint /ServiceRequestCollection: https://{domain}/sap/c4c/odata/v1/c4codataapi/ServiceRequestCollection

Need more help?

Ask a different questionIntegrations & Actions
Select a different product
© 2024 Mavenoid ABSitemap
Terms of servicePrivacy policyCookie policyData processing agreement