Table of Contents

Search

  1. Preface
  2. Introducing B2B Gateway
  3. B2B Gateway administration
  4. Project and asset management
  5. EDI X12 and EDIFACT Messages
  6. Custom files with custom mappings
  7. Inbound Custom Files with Intelligent Structure Discovery
  8. File transfer tasks
  9. Partners
  10. Tracking and Monitoring Events
  11. B2B Gateway REST APIs
  12. Glossary

B2B Gateway

B2B Gateway

Run Partner REST API request

Run Partner REST API request

Use a POST request with an application/json content type to run a partner flow.
To run a flow, use the following REST URL:
https://use6-b2bgw.dm-us.informaticacloud.com/b2b-gw/api/v1/partner/run
Where:
  • <pod>
    is the name of the
    Informatica Intelligent Cloud Services
    point of delivery (PoD) where you access
    B2B Gateway
    . For example:
    pod1
    .
  • <baseUrl>
    is the
    Informatica Intelligent Cloud Services
    URL. For example:
    dm-us.informaticacloud.com/
    .
For example:
https://use6-b2bgw.dm-us.informaticacloud.com/b2b-gw/api/v1/partner/run
You can copy the values of
<pod>
and
<baseUrl>
from the
B2B Gateway
URL after you access it from the My Services page of
Informatica Intelligent Cloud Services
.

Request syntax

To run a flow, use the following request syntax:
{ "partnerName":"<partner name>", "direction":"<direction of flow>" }
Where:
  • partner name
    is the name of the partner to run the flow for. The name must not contain angled brackets (<>), backslashes (\), or double quotes ("). If the defined partner name contains backslashes, add another backslash before each existing backslash (\\). If the defined partner name contains double quotes, add a backslash before each double quote (\").
  • direction of flow
    is the flow to run for the customer:
    INBOUND
    for an inbound flow and
    OUTBOUND
    for an outbound flow. The direction is not case sensitive.
For example:
To run the inbound flow for the customer My_Customer, use the following request syntax:
{ "partnerName":"My_Customer", "direction":"INBOUND" }
To run the outbound flow for the customer My_Customer, use the following request syntax:
{ "partnerName":"My_Customer", "direction":"OUTBOUND" }

0 COMMENTS

We’d like to hear from you!