Adding a new customer to Workday Revenue Management icon

Adding a new customer to Workday Revenue Management

(0 reviews)

home

The Workday Anypoint Connector facilitates connections between Mule integration applications and Workday by making API calls to the Workday Web Services. This example shows you how to use this connector in an integration application where a customer is added to the Workday Revenue Management Console.

Example

The application accepts an XML code which containing the required customer information (customer name, status and category). It parses this xml using the Datamapper component and creates a new customer record in a Workday instance.

Set Up and Run the Example

  1. Open the Example project in Anypoint Studio from Anypoint Exchange. Do not run the application.
  2. In your application in Studio, click the Global Elements tab. Double-click the Workday Revenue Management global element to open its Global Element Properties panel. Change the contents of the user, password and endpoint fields to your account-specific values as follows:

     user                        <USER>@<DOMAIN>
     password                    <PASSWORD>
     endpoint                    <ENDPOINT_URL>

    Click OK to save your changes.

  3. In the Package Explorer, right-click the adding-a-new-customer-to-workday-revenue-management project name, then select Run As > Mule Application. Studio runs the application on the embedded server.
  4. Make an HTTP POST request to http://localhost:9090/ with the request body as follows:

     <?xml version="1.0" encoding="UTF-8"?>
     <root>
         <Account>
             <CustomerName>John Doe</CustomerName>
             <BusinessEntityName>John Doe</BusinessEntityName>
             <Customer_Category_Reference_Type>Customer_Category_ID</Customer_Category_Reference_Type>
             <Customer_Category_Reference_Value>CUSTOMER_CATEGORY-5</Customer_Category_Reference_Value>
             <Customer_Status_Reference_Type>Business_Entity_Status_Value_ID</Customer_Status_Reference_Type>
             <Customer_Status_Reference_Value>ACTIVE</Customer_Status_Reference_Value>
         </Account>
     </root>

    To send this request, use a browser extension such as Advanced Rest Client (Google Chrome), or the curl command line utility.

  5. Login to your Workday account. Navigate to View Customer Report and enter John Doe in the search field. Verify that the customer was added.

Documentation

Read full documentation in GitHub

Examples to Try Next

If you understood this example
XML only SOAP Web Service - This application illustrates how you can use Mule to expose a SOAP Web Service.View
If you struggled with this example
Implementing a Choice Exception Strategy - Understand the concept of error handling in Mule using a choice exception strategy.View

Reviews

TypeExample
OrganizationMulesoft Inc.
Published by
MuleSoft Organization
Published onMar 17, 2018
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.0