How to change tenant ID in OPE/FOM request

How to change tenant ID in OPE/FOM request

book

Article ID: KB0073722

calendar_today

Updated On:

Products Versions
TIBCO Offer and Price Engine 5.x
TIBCO Fulfillment Order Management 4.x

Description

Here are the steps and examples how to change the tenant ID in the OPE request:

- If using curl request, add the X_TENANT_ID in header: --header "X_TENANT_ID:tenant1"
e.g:curl  --user admin:admin --header "Content-Type: text/xml;charset=UTF-8" --header "X_TENANT_ID:tenant1"  --data @/validateOfferRequest.xml http://ope_host:9090/opes/api/v1/opeService
where tenant1 is the tenant value.

- If using soapUI, add variable X_TENANT_ID with value tenant1, see attached file soapUI_request_with_tenantID.jpg for an example.

- If using swagger UI, enter the tenant ID in field X_TENANT_ID, see attached file swagger_UI_request_with_tenantID.png for example.

Issue/Introduction

This article explains how to use tenant ID other than default tenant in OPE/FOM request

Attachments

How to change tenant ID in OPE/FOM request get_app
How to change tenant ID in OPE/FOM request get_app