跳至主要内容
Adaptive Planning
上次更新时间 :2023-03-10
Currency

Currency

URL Endpoint

HTTPS://api.adaptiveplanning.com/api/rest/modeling/<version>/<tenant>/upsertCurencies
Version: v1
Category
Metadata Modification
Description
Create / update / delete currencies in Adaptive Planning
Permissions Required to Invoke
Currencies (CURRENCIES)
Parameters Required on Request
N/A

Supported HTTP VERB(s)

HTTP Verb
Description
POST
Based on the currency available in system it inserts / activates / updates the currency.
DELETE
Delete the currency with specified currency code.

POST

Request URI
/upsertCurrencies
:
Insert or update the currencies.
Inserts or updates the currencies in planning based on the availability of currency in system :
  • Insert currency if it is not available in system.
  • Activates if currency is available in system but it was not activated.
  • Updates the currency if currency is already active in system.
  • Currency name can be modified only in case of user defined currency.
  • System / Corporate currency can be changed only in case of newInstanceFlow, because it can not be changed if we have more than one active currencies in the system.
Sample Request URI:
HTTPS://api.adaptiveplanning.com/api/rest/modeling/v1/globosales/upsertCurrencies?proceedWithWarnings=false&newInstanceSetup=false