Introduction:
This blog has the SOAP Webservice details that can be used to update the customer statement delivery method into Oracle Cloud application.
Cause of the issue:
Business wants to send the customer statements to their customers via email so as per the configuration customer preferred statement delivery method should be EMAIL
How do we solve:
We have created payload to update the customer statement delivery method and payload will read the data from csv file and update the same.
Service WSDL URL: https:/fscmService/ReceivablesCustomerProfileService?WSDL
Method: POST
Sample Request Body:
<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:typ=”http://xmlns.oracle.com/apps/financials/receivables/customers/customerProfileService/types/” xmlns:cus=”http://xmlns.oracle.com/apps/financials/receivables/customers/customerProfileService/” xmlns:cus1=”http://xmlns.oracle.com/apps/financials/receivables/customerSetup/customerProfiles/model/flex/CustomerProfileDff/” xmlns:cus2=”http://xmlns.oracle.com/apps/financials/receivables/customerSetup/customerProfiles/model/flex/CustomerProfileGdf/”>
<soapenv:Header/>
<soapenv:Body>
<typ:updateCustomerProfile>
<typ:customerProfile>
<!–Optional:–>
<cus:AccountNumber>{{ACCOUNT_NUMBER}}</cus:AccountNumber>
<!–Optional:–>
<cus:CustomerAccountProfileId>{{PROFILE_CLASS_ID}}</cus:CustomerAccountProfileId>
<cus:StatementDeliveryMethod>{{EMAIL}}</cus:StatementDeliveryMethod>
<cus:CustomerProfileFLEX>
</cus:CustomerProfileFLEX>
<!–Zero or more repetitions:–>
<cus:CustomerProfileGdf>
</cus:CustomerProfileGdf>
</typ:customerProfile>
</typ:updateCustomerProfile>
</soapenv:Body>
</soapenv:Envelope>
SOAP Response:
The response will have the status code.
- Success code – “200 OK”
- Error code – anything other than 200 OK