Waiting for engine...
Skip to main content

Boomi Platform API Reference (1.0.0) - TradingPartnerProcessingGroup

Toggle Pane

Download OpenAPI Specification: Download

TradingPartnerProcessingGroup

The Trading Partner Processing Group object allows users to retrieve, query, create, update, and delete Processing Group components through the Platform API.

Required Privileges

Read and Write access

  • API — Use the Boomi Platform API to access account data.

Creates a TradingPartnerProcessingGroup object

Send an HTTP POST request where accountId is the ID of the authenticating account for the request. If you omit the folderName field, you must include the folderId field — and vice versa.

Authorizations:
basicAuth
Request Body schema:
optional
object (ProcessingGroupDefaultRouting)
object (ProcessingGroupDocumentBasedRouting)
object (ProcessingGroupPartnerBasedRouting)
object (ProcessingGroupTradingPartners)
branchId
string
branchName
string
componentId
string
componentName
string
deleted
boolean
description
string
folderId
integer <int64>
folderName
string

Responses

Response Schema:
object (ProcessingGroupDefaultRouting)
object (ProcessingGroupDocumentBasedRouting)
object (ProcessingGroupPartnerBasedRouting)
object (ProcessingGroupTradingPartners)
branchId
string
branchName
string
componentId
string
componentName
string
deleted
boolean
description
string
folderId
integer <int64>
folderName
string

Request samples

Content type
{
  • "TradingPartners": {
    • "TradingPartner": [
      ]
    },
  • "DocumentRouting": {
    • "StandardRoute": [
      ],
    • "processId": "543210fe-dcba-9876-5432-10fedcba9876"
    },
  • "componentName": "East Coast partners",
  • "folderName": "Home:TPs:PGs:Domestic"
}

Response samples

Content type
{
  • "@type": "TradingPartnerComponent",
  • "folderName": "Home:TPs",
  • "branchId": "QjoxNDMxNg",
  • "branchName": "branch-1",
  • "componentName": "Best Wholesaling",
  • "standard": "x12",
  • "classification": "tradingpartner",
  • "ContactInfo": {
    • "contactName": "Tom Miller",
    • "address1": "127 Comstock Ave.",
    • "address2": null,
    • "city": "Philadelphia",
    • "state": "PA",
    • "postalcode": "19100",
    • "country": "US",
    • "email": "tombestwholesaling.biz",
    • "phone": "311 555-3579",
    • "fax": "311 555-9753"
    },
  • "PartnerInfo": {
    • "X12PartnerInfo": {
      }
    },
  • "PartnerCommunication": {
    • "FTPCommunicationOptions": {
      }
    },
  • "PartnerDocumentTypes": {
    • "PartnerDocumentType": [
      ]
    }
}

Retrieves an instance of a TradingPartnerProcessingGroup object

The ordinary GET operation returns a single Trading Partner Processing Group object based on the supplied ID. The bulk GET operation returns multiple Trading Partner Processing Group objects based on the supplied IDs, to a maximum of 100. A GET operation specifying the ID of a deleted processing group component retrieves the component. In the component, the deleted field’s value is true.

Authorizations:
basicAuth
path Parameters
id
required
string

Responses

Response Schema:
object (ProcessingGroupDefaultRouting)
object (ProcessingGroupDocumentBasedRouting)
object (ProcessingGroupPartnerBasedRouting)
object (ProcessingGroupTradingPartners)
branchId
string
branchName
string
componentId
string
componentName
string
deleted
boolean
description
string
folderId
integer <int64>
folderName
string

Response samples

Content type
{
  • "TradingPartnerProcessingGroup": {
    • "componentName": "East Coast partners",
    • "componentId": "3456789a-bcde-f012-34-56789abcdef012",
    • "folderName": "Home:TPs:PGs:Domestic",
    • "folderId": "11669",
    • "branchId": "QjoxNDMxNg",
    • "branchName": "branch-1",
    • "TradingPartners": {
      },
    • "DocumentRouting": {
      }
    }
}

Modifies or updates a TradingPartnerProcessingGroup object

An UPDATE operation specifying the ID of a deleted processing group component restores the component to a non-deleted state, assuming the request is otherwise valid. It also overwrites the entire processing group component.

Authorizations:
basicAuth
path Parameters
id
required
string
Request Body schema:
optional
object (ProcessingGroupDefaultRouting)
object (ProcessingGroupDocumentBasedRouting)
object (ProcessingGroupPartnerBasedRouting)
object (ProcessingGroupTradingPartners)
branchId
string
branchName
string
componentId
string
componentName
string
deleted
boolean
description
string
folderId
integer <int64>
folderName
string

Responses

Response Schema:
object (ProcessingGroupDefaultRouting)
object (ProcessingGroupDocumentBasedRouting)
object (ProcessingGroupPartnerBasedRouting)
object (ProcessingGroupTradingPartners)
branchId
string
branchName
string
componentId
string
componentName
string
deleted
boolean
description
string
folderId
integer <int64>
folderName
string

Request samples

Content type
{
  • "TradingPartners": {
    • "TradingPartner": [
      ]
    },
  • "DocumentRouting": {
    • "StandardRoute": [
      ],
    • "processId": "543210fe-dcba-9876-5432-10fedcba9876"
    },
  • "componentName": "Atlantic Seaboard partners",
  • "componentId": "3456789a-bcde-f012-34-56789abcdef012",
  • "folderName": "Home:TPs:PGs:Domestic",
  • "folderId": "11669",
  • "branchId": "QjoxNDMxNg",
  • "branchName": "branch-1"
}

Response samples

Content type
{
  • "@type": "TradingPartnerProcessingGroup",
  • "componentName": "Atlantic Seaboard partners",
  • "componentId": "3456789a-bcde-f012-34-56789abcdef012",
  • "folderName": "Home:TPs:PGs:Domestic",
  • "folderId": "11669",
  • "branchId": "QjoxNDMxNg",
  • "branchName": "branch-1",
  • "TradingPartners": {
    • "TradingPartner": [
      ]
    },
  • "DocumentRouting": {
    • "processId": "543210fe-dcba-9876-5432-10fedcba9876",
    • "StandardRoute": [
      ]
    }
}

Deletes a TradingPartnerProcessingGroup object

A DELETE operation specifying the ID of a deleted processing group component returns a false response. If you deleted the component successfully, the response is "true".

Authorizations:
basicAuth
path Parameters
id
required
string

Responses

Response samples

Content type
{
  • "message": "Access denied due to insufficient permissions."
}

Retrieves multiple TradingPartnerProcessingGroup objects by identifier

To learn more about bulk, refer to the topic Bulk GET operations.

Authorizations:
basicAuth
Request Body schema:
optional
Array of objects (BulkId)
type
string
Enum: "GET" "DELETE" "UPDATE" "CREATE"

Responses

Response Schema:
Array of objects
Array
required
object (TradingPartnerProcessingGroup)
index
integer <int32>
id
string
statusCode
integer <int32>
errorMessage
string

Request samples

Content type
{
  • "request": [
    • {
      }
    ],
  • "type": "GET"
}

Response samples

Content type
{
  • "response": [
    • {
      }
    ]
}

Queries for a TradingPartnerProcessingGroup object(s)

The QUERY operation returns all of the authenticating account’s processing group components. The operation does not return full component representations; it returns, for each result, the component’s name, ID, and folder ID.

For general information about the structure of QUERY filters, their sample payloads, and how to handle the paged results, refer to Query filters and Query paging.

Authorizations:
basicAuth
Request Body schema:
optional
required
object
required
TradingPartnerProcessingGroupSimpleExpression (object) or TradingPartnerProcessingGroupGroupingExpression (object) (TradingPartnerProcessingGroupExpression)
One of
operator
required
string
Enum: "EQUALS" "LIKE" "NOT_EQUALS" "IS_NULL" "IS_NOT_NULL" "BETWEEN" "GREATER_THAN" "GREATER_THAN_OR_EQUAL" "LESS_THAN" "LESS_THAN_OR_EQUAL" "CONTAINS" "NOT_CONTAINS"
property
required
string
argument
Array of strings

Responses

Response Schema:
numberOfResults
integer <int32>
queryToken
string

By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request.

Array of objects (TradingPartnerProcessingGroup)

Request samples

Content type
{
  • "QueryFilter": {
    • "expression": {
      }
    }
}

Response samples

Content type
{
  • "@type": "QueryResult",
  • "result": [
    • {
      },
    • {
      }
    ],
  • "numberOfResults": 102
}

Retrieves additional results for a TradingPartnerProcessingGroup query

To learn about using queryMore, refer to the topic Query paging.

Authorizations:
basicAuth
Request Body schema: text/plain
required
string

Responses

Response Schema:
numberOfResults
integer <int32>
queryToken
string

By default, the queryToken parameter is not available in the query response. It appears only when the query response contains more than 100 results. The maximum number of results returned per query is 100. To retrieve the next set of results, use the queryToken in the queryMore request.

Array of objects (TradingPartnerProcessingGroup)

Response samples

Content type
{
  • "@type": "QueryResult",
  • "result": [
    • {
      },
    • {
      }
    ],
  • "numberOfResults": 102
}