Update
patch
/fscmRestApi/resources/11.13.18.05/b2bApplicationPartners/{ApplicationPartnerId}
Request
Path Parameters
-
ApplicationPartnerId(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 : Discriminator: PartnerKeyType
Type:
objectDiscriminator: PartnerKeyType
Discriminator Values
Match One Schema
Show Source
-
CustomerAccount -
object
oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToCustomerAccountVO-item-patch-request
-
SoldToParty -
object
oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSoldToPartyVO-item-patch-request
-
Supplier Site -
object
oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSupplierSiteVO-item-patch-request
Nested Schema : oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToCustomerAccountVO-item-patch-request
Type:
Show Source
object-
documents: array
documents
-
DvmGroup: string
Maximum Length:
256 -
PartnerId: string
Maximum Length:
256 -
PartnerIdType: string
Maximum Length:
100 -
ProcessingActionCode: string
Title:
Application Partner CodeMaximum Length:256 -
SPUserDefined: string
Nested Schema : oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSoldToPartyVO-item-patch-request
Type:
Show Source
object-
BusinessUnit: string
-
documents: array
documents
-
DvmGroup: string
Maximum Length:
256 -
PartnerId: string
Maximum Length:
256 -
PartnerIdType: string
Maximum Length:
100 -
ProcessingActionCode: string
Title:
Application Partner CodeMaximum Length:256 -
SPUserDefined: string
Nested Schema : oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSupplierSiteVO-item-patch-request
Type:
Show Source
object-
documents: array
documents
-
DvmGroup: string
Maximum Length:
256 -
PartnerId: string
Maximum Length:
256 -
PartnerIdType: string
Maximum Length:
100 -
ProcessingActionCode: string
Title:
Application Partner CodeMaximum Length:256 -
SPUserDefined: string
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 : Discriminator: PartnerKeyType
Type:
objectDiscriminator: PartnerKeyType
Discriminator Values
Match One Schema
Show Source
-
CustomerAccount -
object
oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToCustomerAccountVO-item-response
-
SoldToParty -
object
oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSoldToPartyVO-item-response
-
Supplier Site -
object
oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSupplierSiteVO-item-response
Nested Schema : oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToCustomerAccountVO-item-response
Type:
Show Source
object-
ApplicationPartnerId: integer
(int64)
-
ApplicationPartnerStatus: string
Maximum Length:
100Default Value:Matched -
CustomerAccountNumber: string
Maximum Length:
256 -
CustomerName: string
Maximum Length:
512 -
CustomerNumber: string
Maximum Length:
256 -
documents: array
documents
-
DvmGroup: string
Maximum Length:
256 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerId: string
Maximum Length:
256 -
PartnerIdType: string
Maximum Length:
100 -
PartnerKeyType: string
Maximum Length:
100Default Value:CustomerAccount -
ProcessingActionCode: string
Title:
Application Partner CodeMaximum Length:256 -
ServiceProviderId: integer
(int64)
Title:
Service Provider -
ServiceProviderName: string
-
SPUserDefined: string
-
TradingPartner: string
-
TradingPartnerId: integer
(int64)
-
TradingPartnerIdType: string
Nested Schema : oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSoldToPartyVO-item-response
Type:
Show Source
object-
ApplicationPartnerId: integer
(int64)
-
ApplicationPartnerStatus: string
Maximum Length:
100Default Value:Matched -
BusinessUnit: string
-
CustomerId: string
Maximum Length:
256 -
CustomerName: string
Maximum Length:
512 -
CustomerNumber: string
Maximum Length:
256 -
documents: array
documents
-
DvmGroup: string
Maximum Length:
256 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerId: string
Maximum Length:
256 -
PartnerIdType: string
Maximum Length:
100 -
PartnerKeyType: string
Maximum Length:
100Default Value:SoldToParty -
ProcessingActionCode: string
Title:
Application Partner CodeMaximum Length:256 -
ServiceProviderId: integer
(int64)
Title:
Service Provider -
ServiceProviderName: string
-
SPUserDefined: string
-
TradingPartner: string
-
TradingPartnerId: integer
(int64)
-
TradingPartnerIdType: string
Nested Schema : oracle_apps_scm_cmk_collaborationMessagingSetup_restModel_view_ApplicationPartnersToSupplierSiteVO-item-response
Type:
Show Source
object-
ApplicationPartnerId: integer
(int64)
-
ApplicationPartnerStatus: string
Maximum Length:
100Default Value:Matched -
documents: array
documents
-
DvmGroup: string
Maximum Length:
256 -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartnerId: string
Maximum Length:
256 -
PartnerIdType: string
Maximum Length:
100 -
PartnerKeyType: string
Maximum Length:
100Default Value:Supplier Site -
ProcessingActionCode: string
Title:
Application Partner CodeMaximum Length:256 -
ServiceProviderId: integer
(int64)
Title:
Service Provider -
ServiceProviderName: string
-
SPUserDefined: string
-
Supplier: string
Maximum Length:
512 -
SupplierId: string
Maximum Length:
256 -
SupplierNumber: string
Maximum Length:
512 -
SupplierSite: string
Maximum Length:
512 -
SupplierSiteId: string
Maximum Length:
256 -
TradingPartner: string
-
TradingPartnerId: integer
(int64)
-
TradingPartnerIdType: string
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : b2bApplicationPartners-documents-item-response
Type:
Show Source
object-
ApplicationPartnerDocumentId: integer
(int64)
-
ApplicationPartnerDocumentStatus: string
Maximum Length:
100 -
Direction: string
-
DocumentDescription: string
-
DocumentId: integer
(int64)
-
DocumentName: string
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PrimaryRecipientFlag: boolean
Maximum Length:
1 -
SenderRole: string
-
ServiceProviderId: integer
-
StatusDate: string
(date-time)
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 : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- documents
-
Operation: /fscmRestApi/resources/11.13.18.05/b2bApplicationPartners/{ApplicationPartnerId}/child/documentsParameters:
- ApplicationPartnerId:
$request.path.ApplicationPartnerId
- ApplicationPartnerId:
- serviceProvidersLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: ServiceProviderId; Target Attribute: ServiceProviderId
- Display Attribute: ServiceProviderName
- tradingPartnerIdTypeLOV
-
The following properties are defined on the LOV link relation:
- Source Attribute: TradingPartnerIdType; Target Attribute: LookupCode
- Display Attribute: Meaning
- tradingPartnersLOV
-
Parameters:
- finder:
ByServiceProviderFinder%3BbindServiceProviderId%3D{ServiceProviderId}
The following properties are defined on the LOV link relation:- Source Attribute: TradingPartnerId; Target Attribute: TradingPartnerId
- Display Attribute: TradingPartner
- finder:
Examples
This example describes how to update one application 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/b2bApplicationPartners/ApplicationPartnerId"
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.
{
"DvmGroup": "Rupee"
}
Example Response Body
The following example includes the contents of the response body in JSON format:
{
"ApplicationPartnerStatus": "Matched",
"TradingPartnerId": 300100186134973,
"DvmGroup": "Rupee",
"PartnerKeyType": "SoldToParty",
"ProcessingActionCode": "1001",
"ServiceProviderId": 300100186134957,
"ApplicationPartnerId": 300100186137263,
"ServiceProviderName": "TEST_SP",
"TradingPartner": "TEST_SP_TP",
"TradingPartnerIdType": "ORA_Generic",
"PartnerId": null,
"PartnerIdType": null,
"CustomerId": "1001",
"CustomerNumber": "1001",
"CustomerName": "Small, Inc.",
"BusinessUnit": null,
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/b2bApplicationPartners/300100186137263",
"name": "b2bApplicationPartners",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000278"
}
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/b2bApplicationPartners/300100186137263",
"name": "b2bApplicationPartners",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/b2bApplicationPartners/300100186137263/child/documents",
"name": "documents",
"kind": "collection"
}
]
}