on 2023 Jan 04 2:36 PM
Dear CC experts,
Is there a way to change the return message of a CC standard request? We are using the request rangeTableRangeSetCancelRequest to delete Range Sets from a range table, but the return message has not enough informations to meet the requirement needs.
Currently we are getting the following response on successfull cases:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns2:rangeTableRangeSetCancelResponse xmlns:ns2="http://schema.catalog.v3.ws.highdeal.com/" xmlns:ns3="http://schema.catalog.ws.highdeal.com/">
<status>return</status>
<id>RANGE_TABLE_ID</id>
<reference>123456789</reference>
</ns2:rangeTableRangeSetCancelResponse>
</soap:Body>
</soap:Envelope>
We would like to have something like this:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header/>
<soap:Body>
<ns2:rangeTableRangeSetCancelResponse xmlns:ns2="http://schema.catalog.v3.ws.highdeal.com/" xmlns:ns3="http://schema.catalog.ws.highdeal.com/">
<status>return</status>
<id>RANGE_TABLE_ID</id>
<message>The range set key $1 was successfully deleted.</message>
<reference>123456789</reference>
</ns2:rangeTableRangeSetCancelResponse>
</soap:Body>
</soap:Envelope>
Best Regards,
Isaque
Request clarification before answering.
Hello Isaque,
as soon as you didn't receive any error in the received response, it means that the request was successfully executed.
If you want to check that the modification was correctly done, you can open the range table or you can use the object change log.
Best regards,
Eric F.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Isaque,
I'm not sure to understand why you need this change. As soon as you have received the highlighted response, it means that the request was successfully executed. What is the interest to confirm that the request was successfully executed with additional details?
Eric F.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Eric!
The reason for this requirement is that in the system where we consume the WS, we need to log the responses as evidence of the changes made to the range table. For this reason, the additional details would provide information about which table was edited and what exactly was the content they modified.
Best Regards,
Isaque
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.