Showing posts with label Account Relationships. Show all posts
Showing posts with label Account Relationships. Show all posts

Tuesday, July 30, 2024

Sample Payload for Creating Customer Account Relationships in Oracle Fusion

SOAP API: crmService/CustomerAccountService

Service Name: mergeCustomerAccount

Payload: 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:typ="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/applicationModule/types/"
xmlns:cus="http://xmlns.oracle.com/apps/cdm/foundation/parties/customerAccountService/"
xmlns:cus1="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountContactRole/"
xmlns:par="http://xmlns.oracle.com/apps/cdm/foundation/parties/partyService/"
xmlns:sour="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/sourceSystemRef/"
xmlns:cus2="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountContact/"
xmlns:cus3="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountRel/"
xmlns:cus4="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSiteUse/"
xmlns:cus5="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccountSite/"
xmlns:cus6="http://xmlns.oracle.com/apps/cdm/foundation/parties/flex/custAccount/">
<soapenv:Header/>
<soapenv:Body>
<typ:mergeCustomerAccount>
<typ:customerAccount>
<!--Optional:-->
<cus:CustomerAccountId>100000024833854</cus:CustomerAccountId>
<!--Optional:-->
<cus:PartyId>100000014253697</cus:PartyId>
<!--Optional:-->
<cus:CreatedByModule>ORA_HZ_DATA_IMPORT</cus:CreatedByModule>
<!--Zero or more repetitions:-->
<cus:CustomerAccountRelationship>
<!--Optional:-->
<cus:CustomerAccountId>100000024833854</cus:CustomerAccountId>
<!--Optional:-->
<cus:RelatedCustomerAccountId>300000036314223</cus:RelatedCustomerAccountId>
<cus:CustomerReciprocalFlag>false</cus:CustomerReciprocalFlag>
<!--Optional:-->
<cus:Status>A</cus:Status>
<!--Optional:-->
<cus:BillToFlag>false</cus:BillToFlag>
<!--Optional:-->
<cus:ShipToFlag>true</cus:ShipToFlag>
<!--Optional:-->
<cus:StartDate>2024-07-31</cus:StartDate>
<!--Optional:-->
<cus:CreatedByModule>POS_SUPPLIER_MGMT</cus:CreatedByModule>
<!--Optional:-->
<cus:SetId>300000000003311</cus:SetId>
</cus:CustomerAccountRelationship>
</typ:customerAccount>
</typ:mergeCustomerAccount>
</soapenv:Body>
</soapenv:Envelope>