订阅

UiPath 集成服务

The UiPath Integration Service Guide

Coupa authentication

Authentication

Before establishing a connection with your Coupa instance, you will need to choose the Authentication Type. Currently, the following type is supported:

  • oauth2ClientCredentials

Creating an OAuth connection

To create an OAuth connection, you will have to provide the following credentials:

  • OAuth Scope
  • 客户端 ID
  • Secret

To obtain the necessary credentials, you will first have to log in to Coupa as an integrations-enabled administrator to create a Client using a Client credentials Grant Type.

  1. Log in to your Coupa instance and click the Setup button in the upper-right corner of the interface.

  2. Scroll to the Integrations section and click Oauth2/OpenID Connect Clients.

  3. 单击“创建”。

作用域

The following Scopes are required for any connection and are pre-filled.
By default, the OAuth app must have the following scopes. The rest of the scopes must be filled in manually, depending on your case (see the table below).

  • email
  • login
  • offline_access
  • openid
  • profile
  • core.common.read

Below is a list of objects and their respective scopes.

📘

备注:

Write scopes are necessary only for Create/Update/Delete operations, whereas Read scopes are only needed for ListAll/List/Get operations.
The OAuth app must have, at all times, the same scopes that you manually provide when creating a connection. Otherwise, you will encounter issues. For example, if your OAuth App has the email, login, offline_access, openid, profile, core.common.read, and core.supplier.read scopes, then you must make sure to provide only these scopes when you add a Coupa connection.

ObjectScopes
accountscore.accounting.read
core.accounting.write
approvalscore.approval.read
budget_linescore.budget.read
cancel_purchaseorderscore.purchase_order.write
close_purchaseorderscore.purchase_order.write
contractscore.contract.read
contracts/{contractId}/retrieve_legal_agreementcore.contract.read
expense_linescore.expense.read
expense_reportscore.expense.read
inventory_transactionscore.inventory.adjustment.read
core.inventory.adjustment.write
core.inventory.asn.read
core.inventory.balance.read
core.inventory.common.read
core.inventory.consumption.read
core.inventory.consumption.write
core.inventory.receiving.read
core.inventory.receiving.write
core.inventory.transfer.read
core.inventory.transfer.write
invoicescore.invoice.approval.bypass
core.invoice.approval.write
core.invoice.create
core.invoice.delete
core.invoice.read
core.invoice.write
issue_purchaseorderscore.purchase_order.write
items-
purchase_order_changescore.purchase_order.read
purchase_order_linescore.purchase_order.read
purchase_orderscore.purchase_order.read
core.purchase_order.write
quote_requests-
Requisitionscore.requisition.read
core.requisition.write
Supplierscore.supplier.read
core.supplier.write
user_groupscore.user_group.read
core.user_group.write
Userscore.user.read
core.user.write

The above steps were originally documented on the Coupa website on November 29, 2021. For updated information and more details regarding Coupa visit the OAuth 2.0 Getting Started with Coupa API page.

16 天前更新

Coupa authentication


建议的编辑仅限用于 API 参考页面

您只能建议对 Markdown 正文内容进行编辑,而不能建议对 API 规范进行编辑。