Update
patch
/fscmRestApi/resources/11.13.18.05/b2bTradingPartners/{TradingPartnerId}
Request
Path Parameters
-
TradingPartnerId(required): integer(int64)
The value of this parameter could be a hash of the key that is used to uniquely identify the resource item. The client should not generate the hash key value. Instead, the client should query on the collection resource with a filter to navigate to a specific resource item. For example: products?q=InventoryItemId=
Header Parameters
-
Metadata-Context: string
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version: string
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
b2bServiceProviders: array
b2bServiceProviders
-
confirmationCodes: array
confirmationCodes
-
deliveryMethods: array
deliveryMethods
-
documents: array
documents
-
ExternalMessageStandardTag: string
Maximum Length:
512 -
ExternalMessageTypeTag: string
Maximum Length:
512 -
ExternalMessageVersionTag: string
Maximum Length:
512 -
FromPartnerIdTag: string
Maximum Length:
512 -
FromPartnerIdTypeTag: string
Maximum Length:
512 -
inboundCollaborationMessages: array
inboundCollaborationMessages
-
outboundCollaborationMessages: array
outboundCollaborationMessages
-
ToPartnerIdTag: string
Maximum Length:
512 -
ToPartnerIdTypeTag: string
Maximum Length:
512
Nested Schema : b2bTradingPartners-b2bServiceProviders-item-patch-request
Type:
Show Source
object-
ServiceProviderId: integer
(int64)
-
UserDefined: string
Maximum Length:
1Default Value:Y
Nested Schema : schema
Type:
Show Source
object-
CollaborationStatus: string
Maximum Length:
100 -
PartnerStatus: string
Maximum Length:
256
Nested Schema : b2bTradingPartners-deliveryMethods-item-patch-request
Type:
Show Source
object-
AttachXmlFlag: boolean
Title:
Attach PayloadMaximum Length:10 -
CsfkeyPassword: string
-
CsfkeyUser: string
-
FileExtension: string
Maximum Length:
10 -
FileName: string
Maximum Length:
256 -
RecipientEmailId: string
Title:
Recipient Email IDMaximum Length:256 -
RemoteDir: string
Maximum Length:
2000 -
RequestHeaders: string
Maximum Length:
2000 -
SecurityPolicy: string
Title:
Security PolicyMaximum Length:256 -
Service: string
Title:
Service NameMaximum Length:256 -
ServiceMeaning: string
-
ServiceUri: string
-
SftpHost: string
-
SftpPort: string
Maximum Length:
255
Nested Schema : schema
Type:
Show Source
object-
DefaultValue: string
Maximum Length:
512 -
IncludeInOutputFlag: boolean
Maximum Length:
100 -
MessageNodeXpath: string
Maximum Length:
2000 -
Name: string
Maximum Length:
512 -
ValueRequiredFlag: boolean
Maximum Length:
100
Nested Schema : schema
Type:
Show Source
object-
AcknowledgementCode: string
Maximum Length:
100Default Value:Never -
ApplicationPartnerCodeXpath: string
Maximum Length:
2000 -
domainValueMaps: array
domainValueMaps
-
LastUpdateDate: string
(date-time)
-
MessageId: integer
(int64)
Title:
Collaboration Message Definition -
MessageName: string
-
messageProcessingRules: array
messageProcessingRules
-
ObjectKey1Xpath: string
Maximum Length:
2000 -
ObjectKey2Xpath: string
Maximum Length:
2000 -
ObjectKey3Xpath: string
Maximum Length:
2000 -
ObjectKey4Xpath: string
Maximum Length:
2000 -
ObjectKey5Xpath: string
Maximum Length:
2000 -
ObjectKey6Xpath: string
Maximum Length:
2000 -
OverrideStatus: string
Maximum Length:
100 -
OverrideStatusDate: string
(date-time)
-
PartnerMessageStatus: string
Maximum Length:
100 -
PartnerMessageStatusDate: string
(date-time)
-
ProcessingAction: string
Maximum Length:
256 -
RetentionDuration: integer
(int32)
Title:
Retention Duration -
RetentionDurationType: string
Title:
Retention Duration UnitMaximum Length:100
Nested Schema : b2bTradingPartners-inboundCollaborationMessages-domainValueMaps-item-patch-request
Type:
Show Source
objectNested Schema : b2bTradingPartners-inboundCollaborationMessages-messageProcessingRules-item-patch-request
Type:
Show Source
object-
DefaultValue: string
Maximum Length:
512 -
IncludeInOutputFlag: boolean
Maximum Length:
100 -
MessageNodeXpath: string
Maximum Length:
2000 -
Name: string
Maximum Length:
512 -
ValueRequiredFlag: boolean
Maximum Length:
100
Nested Schema : b2bTradingPartners-outboundCollaborationMessages-item-patch-request
Type:
Show Source
object-
AlternateDeliveryMethodId: integer
(int64)
-
AlternateDeliveryMethodName: string
-
AttachmentProcessingMethod: string
Maximum Length:
64 -
DeliveryMethodId: integer
(int64)
-
DeliveryMethodName: string
-
domainValueMaps: array
domainValueMaps
-
MessageId: integer
(int64)
Title:
Collaboration Message Definition -
MessageName: string
-
messageProcessingRules: array
messageProcessingRules
-
OverrideStatus: string
Maximum Length:
100 -
OverrideStatusDate: string
(date-time)
-
PartnerMessageStatus: string
Maximum Length:
100 -
PartnerMessageStatusDate: string
(date-time)
-
ProcessingAction: string
Maximum Length:
256 -
RetentionDuration: integer
(int32)
Title:
Retention Duration -
RetentionDurationType: string
Title:
Retention Duration UnitMaximum Length:100
Nested Schema : b2bTradingPartners-outboundCollaborationMessages-domainValueMaps-item-patch-request
Type:
Show Source
objectNested Schema : b2bTradingPartners-outboundCollaborationMessages-messageProcessingRules-item-patch-request
Type:
Show Source
object-
DefaultValue: string
Maximum Length:
512 -
IncludeInOutputFlag: boolean
Maximum Length:
100 -
MessageNodeXpath: string
Maximum Length:
2000 -
Name: string
Maximum Length:
512 -
ValueRequiredFlag: boolean
Maximum Length:
100
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : b2bTradingPartners-item-response
Type:
Show Source
object-
b2bServiceProviders: array
b2bServiceProviders
-
confirmationCodes: array
confirmationCodes
-
CreationDate: string
(date-time)
Read Only:
true -
deliveryMethods: array
deliveryMethods
-
documents: array
documents
-
ExternalMessageStandardTag: string
Maximum Length:
512 -
ExternalMessageTypeTag: string
Maximum Length:
512 -
ExternalMessageVersionTag: string
Maximum Length:
512 -
FromPartnerIdTag: string
Maximum Length:
512 -
FromPartnerIdTypeTag: string
Maximum Length:
512 -
inboundCollaborationMessages: array
inboundCollaborationMessages
-
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ManualEntryIndicator: string
Maximum Length:
10Default Value:Yes -
ObnId: string
Read Only:
trueMaximum Length:100 -
outboundCollaborationMessages: array
outboundCollaborationMessages
-
ServiceProviderId: integer
(int64)
-
ServiceProviderName: string
-
SPUserDefined: string
-
ToPartnerIdTag: string
Maximum Length:
512 -
ToPartnerIdTypeTag: string
Maximum Length:
512 -
TradingPartner: string
Title:
Trading Partner IDMaximum Length:100 -
TradingPartnerId: integer
(int64)
-
TradingPartnerIdType: string
Maximum Length:
100
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-b2bServiceProviders-item-response
Type:
Show Source
object-
CreationDate: string
(date-time)
Read Only:
true -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerId: string
Title:
Provider IDMaximum Length:100 -
PartnerIdType: string
Maximum Length:
100 -
ServiceProviderId: integer
(int64)
-
ServiceProviderName: string
Maximum Length:
256 -
UserDefined: string
Maximum Length:
1Default Value:Y
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : b2bTradingPartners-confirmationCodes-item-response
Type:
Show Source
object-
CollaborationStatus: string
Maximum Length:
100 -
ConfStatusXrefId: integer
(int64)
-
CreationDate: string
(date-time)
Read Only:
true -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerStatus: string
Maximum Length:
256
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-deliveryMethods-item-response
Type:
Show Source
object-
AttachXmlFlag: boolean
Title:
Attach PayloadMaximum Length:10 -
B2bRoutingFlag: boolean
Title:
B2B Routing EnabledMaximum Length:10Default Value:false -
CreationDate: string
(date-time)
Read Only:
true -
CsfkeyPassword: string
-
CsfkeyUser: string
-
DeliveryMethodId: integer
(int64)
-
DeliveryMethodName: string
Title:
NameMaximum Length:256 -
DeliveryMethodType: string
Maximum Length:
100 -
FileExtension: string
Maximum Length:
10 -
FileName: string
Maximum Length:
256 -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
RecipientEmailId: string
Title:
Recipient Email IDMaximum Length:256 -
RemoteDir: string
Maximum Length:
2000 -
RequestHeaders: string
Maximum Length:
2000 -
SecurityPolicy: string
Title:
Security PolicyMaximum Length:256 -
Service: string
Title:
Service NameMaximum Length:256 -
ServiceMeaning: string
-
ServiceUri: string
-
SftpHost: string
-
SftpPort: string
Maximum Length:
255 -
UcmExportDocumentAccount: string
Title:
Repository AccountMaximum Length:1024
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-documents-item-response
Type:
Show Source
object-
DocumentId: integer
-
DocumentName: string
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
messageProcessingRules: array
messageProcessingRules
-
ServiceRequestId: integer
-
TradingPartnerDocumentId: integer
-
TradingPartnerDocumentStatus: string
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-documents-messageProcessingRules-item-response
Type:
Show Source
object-
CreationDate: string
(date-time)
Read Only:
true -
DefaultValue: string
Maximum Length:
512 -
IncludeInOutputFlag: boolean
Maximum Length:
100 -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageNodeXpath: string
Maximum Length:
2000 -
Name: string
Maximum Length:
512 -
NodeId: integer
(int64)
-
ValueRequiredFlag: boolean
Maximum Length:
100
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-inboundCollaborationMessages-item-response
Type:
Show Source
object-
AcknowledgementCode: string
Maximum Length:
100Default Value:Never -
ApplicationPartnerCodeXpath: string
Maximum Length:
2000 -
CreationDate: string
(date-time)
-
DocumentId: integer
(int64)
-
DocumentName: string
Read Only:
trueMaximum Length:256 -
domainValueMaps: array
domainValueMaps
-
LastUpdateDate: string
(date-time)
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageId: integer
(int64)
Title:
Collaboration Message Definition -
MessageName: string
-
messageProcessingRules: array
messageProcessingRules
-
ObjectKey1Xpath: string
Maximum Length:
2000 -
ObjectKey2Xpath: string
Maximum Length:
2000 -
ObjectKey3Xpath: string
Maximum Length:
2000 -
ObjectKey4Xpath: string
Maximum Length:
2000 -
ObjectKey5Xpath: string
Maximum Length:
2000 -
ObjectKey6Xpath: string
Maximum Length:
2000 -
OverrideStatus: string
Maximum Length:
100 -
OverrideStatusDate: string
(date-time)
-
PartnerMessageCustomizationId: integer
(int64)
-
PartnerMessageId: integer
(int64)
-
PartnerMessageName: string
Title:
NameMaximum Length:256 -
PartnerMessageStatus: string
Maximum Length:
100 -
PartnerMessageStatusDate: string
(date-time)
-
ProcessingAction: string
Maximum Length:
256 -
RetentionDuration: integer
(int32)
Title:
Retention Duration -
RetentionDurationType: string
Title:
Retention Duration UnitMaximum Length:100 -
UserDefinedFlag: boolean
Read Only:
true
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-inboundCollaborationMessages-domainValueMaps-item-response
Type:
Show Source
object-
CreationDate: string
(date-time)
Read Only:
true -
DvmName: string
Read Only:
trueMaximum Length:256 -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageDvmId: integer
(int64)
Read Only:
true -
MessageId: integer
(int64)
Read Only:
true -
MessageName: string
Read Only:
true
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-inboundCollaborationMessages-messageProcessingRules-item-response
Type:
Show Source
object-
CreationDate: string
(date-time)
Read Only:
true -
DefaultValue: string
Maximum Length:
512 -
IncludeInOutputFlag: boolean
Maximum Length:
100 -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageNodeXpath: string
Maximum Length:
2000 -
Name: string
Maximum Length:
512 -
NodeId: integer
(int64)
-
ValueRequiredFlag: boolean
Maximum Length:
100
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-outboundCollaborationMessages-item-response
Type:
Show Source
object-
AlternateDeliveryMethodId: integer
(int64)
-
AlternateDeliveryMethodName: string
-
AttachmentProcessingMethod: string
Maximum Length:
64 -
CreationDate: string
(date-time)
Read Only:
true -
DeliveryMethodId: integer
(int64)
-
DeliveryMethodName: string
-
DocumentId: integer
(int64)
-
DocumentName: string
Read Only:
trueMaximum Length:256 -
domainValueMaps: array
domainValueMaps
-
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageId: integer
(int64)
Title:
Collaboration Message Definition -
MessageName: string
-
messageProcessingRules: array
messageProcessingRules
-
OverrideStatus: string
Maximum Length:
100 -
OverrideStatusDate: string
(date-time)
-
PartnerMessageCustomizationId: integer
(int64)
-
PartnerMessageId: integer
(int64)
-
PartnerMessageName: string
Title:
NameMaximum Length:256 -
PartnerMessageStatus: string
Maximum Length:
100 -
PartnerMessageStatusDate: string
(date-time)
-
ProcessingAction: string
Maximum Length:
256 -
RetentionDuration: integer
(int32)
Title:
Retention Duration -
RetentionDurationType: string
Title:
Retention Duration UnitMaximum Length:100 -
ServiceProviderId: integer
(int64)
-
UserDefinedFlag: boolean
Read Only:
true
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-outboundCollaborationMessages-domainValueMaps-item-response
Type:
Show Source
object-
CreationDate: string
(date-time)
Read Only:
true -
DvmName: string
Read Only:
trueMaximum Length:256 -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageDvmId: integer
(int64)
Read Only:
true -
MessageId: integer
(int64)
Read Only:
true -
MessageName: string
Read Only:
true
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bTradingPartners-outboundCollaborationMessages-messageProcessingRules-item-response
Type:
Show Source
object-
CreationDate: string
(date-time)
Read Only:
true -
DefaultValue: string
Maximum Length:
512 -
IncludeInOutputFlag: boolean
Maximum Length:
100 -
LastUpdateDate: string
(date-time)
Read Only:
true -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MessageNodeXpath: string
Maximum Length:
2000 -
Name: string
Maximum Length:
512 -
NodeId: integer
(int64)
-
ValueRequiredFlag: boolean
Maximum Length:
100
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- b2bServiceProviders
-
Operation: /fscmRestApi/resources/11.13.18.05/b2bTradingPartners/{TradingPartnerId}/child/b2bServiceProvidersParameters:
- TradingPartnerId:
$request.path.TradingPartnerId
- TradingPartnerId:
- confirmationCodes
-
Operation: /fscmRestApi/resources/11.13.18.05/b2bTradingPartners/{TradingPartnerId}/child/confirmationCodesParameters:
- TradingPartnerId:
$request.path.TradingPartnerId
- TradingPartnerId:
- deliveryMethods
-
Operation: /fscmRestApi/resources/11.13.18.05/b2bTradingPartners/{TradingPartnerId}/child/deliveryMethodsParameters:
- TradingPartnerId:
$request.path.TradingPartnerId
- TradingPartnerId:
- documents
-
Parameters:
- TradingPartnerId:
$request.path.TradingPartnerId
- TradingPartnerId:
- inboundCollaborationMessages
-
Parameters:
- TradingPartnerId:
$request.path.TradingPartnerId
- TradingPartnerId:
- outboundCollaborationMessages
-
Parameters:
- TradingPartnerId:
$request.path.TradingPartnerId
- TradingPartnerId:
Examples
This example describes how to update one trading partner.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/b2bTradingPartners/TradingPartnerId"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{
"FromPartnerIdTag" : 123
}
Example Response Body
The following example includes the contents of the response body in JSON format:
{
"TradingPartnerId" : 300100073313017,
"TradingPartner" : "891678078",
"TradingPartnerIdType" : "ORA_DUNS",
"ManualEntryIndicator" : "Yes",
"ServiceProviderId" : 50055,
"ServiceProviderName" : "None",
"FromPartnerIdTag" : "123",
"FromPartnerIdTypeTag" : null,
"ToPartnerIdTag" : null,
"ToPartnerIdTypeTag" : null,
"ExternalMessageTypeTag" : null,
"ExternalMessageVersionTag" : null,
"ExternalMessageStandardTag" : null,
"links" : [ {
"rel" : "self",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017",
"name" : "b2bTradingPartners",
"kind" : "item"
}, {
"rel" : "canonical",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017",
"name" : "b2bTradingPartners",
"kind" : "item"
}, {
"rel" : "lov",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/lov/tradingPartnerTypeLOV",
"name" : "tradingPartnerTypeLOV",
"kind" : "collection"
}, {
"rel" : "lov",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/lov/serviceProvidersLOV",
"name" : "serviceProvidersLOV",
"kind" : "collection"
}, {
"rel" : "child",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/child/documents",
"name" : "documents",
"kind" : "collection"
}, {
"rel" : "child",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/child/inboundCollaborationMessages",
"name" : "inboundCollaborationMessages",
"kind" : "collection"
}, {
"rel" : "child",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/child/outboundCollaborationMessages",
"name" : "outboundCollaborationMessages",
"kind" : "collection"
}, {
"rel" : "child",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/child/confirmationCodes",
"name" : "confirmationCodes",
"kind" : "collection"
}, {
"rel" : "child",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/child/b2bServiceProviders",
"name" : "b2bServiceProviders",
"kind" : "collection"
}, {
"rel" : "child",
"href" : "https://servername/fscmRestApi/resources/version/b2bTradingPartners/300100073313017/child/deliveryMethods",
"name" : "deliveryMethods",
"kind" : "collection"
} ]
}