7

SAP Concur Localisation: Manage Cash Advances through APIs.

 3 years ago
source link: https://blogs.sap.com/2021/04/20/sap-concur-localisation-manage-cash-advances-through-apis./
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Product Information
Posted on April 20, 2021 3 minute read

SAP Concur Localisation: Manage Cash Advances through APIs.

0 Likes 23 Views 0 Comments

Screen-Shot-2021-03-31-at-1.33.11-PM.png

A cash advance allows employees to borrow money from their company prior to incurring any expenses. Cash advance provides a very useful mechanism in ensuring the employee is not out of pocket. It is pretty much a norm in countries where cash is more readily accepted.

It is a very popular feature, especially where cost control is critical. Currently cash advance is used by more than 4000 customers.

Cash Advance feature has seen a growth in the past couple of years where Top 5 countries using cash Advances are the US, Mexico, India, UK, Italy.

In the current enterprise application world, integration between applications is critical and thus it is important for applications to communicate via APIs.

In the previous blog, SAP Concur Localisation: Cash Advance we have covered how to create cash advances through concur system, and in this blog I will take you through the management of Cash Advance by APIs

Cash Advance APIs:

SAP Concur Cash Advance Public APIs provide partners and customers an ability to manage Cash Advance through APIs. These APIs are available to partners to create applications on SAP Concur Cash Advances.

  • Cash Advance Create API:
    • Create API can be used to create Cash Advance.
  • Cash Advance Get API:
    • Get API can be used to get the details on the Cash Advance created.
  • Cash Advance Issue API:
    • Issue API can be used to Issue the Cash Advance which was already created using the create API.

Cash Advance Create API:

Request URL(POST): /cashadvance/v4/cashadvances

Screen-Shot-2021-04-19-at-4.19.48-PM.png

Get API Response Body:

Request URL(GET): /cashadvance/v4/cashadvances/{cashadvanceId}

GET-API1.png

GET-API2.png

Issue API Request Body:

Request URL(POST): /cashadvance/v4/cashadvances/{cashAdvanceId}/issue

Screen-Shot-2021-04-19-at-4.21.17-PM.png

Cash Advance API in Action:

Cash Advance APIs support Company and User Authentication.

Company or User Authentication is mandatory and has to be passed in the Header

Screen-Shot-2021-03-31-at-3.09.26-PM.png

Create Cash Advance API:

Screen-Shot-2021-03-31-at-3.13.11-PM.png

If the Create Cash Advance API is successful, a cashAdvanceId is generated and is displayed in the Response body.

This cashAdvanceId can be used for Viewing the cash advance details and also can be used for issuing the cash advance.

Get/Retrieve Cash Advance API:

cashAdvanceId is passed in the URL which will be used to retrieve the details of the cash advance.

Screen-Shot-2021-03-31-at-3.27.18-PM.png

Issue Cash Advance API:

cashAdvanceId will be used to issue the cash advance.

Screen-Shot-2021-03-31-at-3.31.25-PM.png

Cash Advance APIs support User and Company JWT and as a result, Cash Advance APIs can be used to automate the cash advance process and can be integrated with any application.

Documentation Link:

Cash Advance Swagger API Document

Cash Advance v4 API Document

For additional details please refer the below links

Cash Advance Product Document:  Cash Advance Product Reference

SAP Globalisation Services: Overview

SAP Concur Support: FAQs

SAP Concur Developer Center: API Reference
SAP Concur Developer Support: Support Options

Follow me on Gagan Preet Singh Arora

You can follow the development expert of this topic Asutosh Mohapatra


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK