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

Get Control Number REST API request

Get Control Number REST API request

Use a GET request with an application/json content type to get the next control number for outbound EDI X12 and EDIFACT messages.
To get the next control number for a partner, use the following REST URL:
https://b2bgateway.<pod>.<baseUrl>/b2b-gw/api/v1/partner/controlNumber/getNext
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/controlNumber/getNext
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 request the control number, use the following request syntax:
{ "partnerName":"<partner name>", "controlNumberType":"<type of control number>" }
Where:
  • partner name
    is the name of the partner to get the control number from. 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 (\").
  • type of control number
    is the type of control number that the partner uses:
    Interchange
    for an interchange control number or
    Group
    for a group control number.
For example:
To get an interchange control number, use the following request syntax:
{ "partnerName":"My_Customer", "controlNumberType":"Interchange" }
To get a group control number, use the following request syntax:
{ "partnerName":"My_Customer", "controlNumberType":"Group" }

0 COMMENTS

We’d like to hear from you!