İptal Talebi Reddetme (ClaimCancelDeny)
İptal Talebi Reddetme (ClaimCancelDeny)
İptal talebini reddetme servisi.
ClaimCancelDenyRequest
Auth | Bkz: Authentication |
claimCancelId | Reddedilecek iptal talebinin idsi. |
denyReasonId | Red sebebinin idsi. ClaimCancelDenyReasonType servisinden alınacaktır. |
denyReasonNote | Red açıklaması. |
ClaimCancelDenyResponse
result |
ClaimCancelDeny Örnek Çağrı
Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.n11.com/ws/schemas">
<soapenv:Header/>
<soapenv:Body>
<sch: ClaimCancelDenyRequest>
<auth>
<appKey>************************</appKey>
<appSecret>********</appSecret>
</auth>
<claimCancelId>1234567</claimCancelId>
<denyReasonId>2</denyReasonId>
<denyReasonNote>reddettim</denyReasonNote>
</sch: ClaimCancelDenyRequest>
</soapenv:Body>
</soapenv:Envelope>
Response
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns3:ClaimCancelDenyResponse xmlns:ns3="http://www.n11.com/ws/schemas">
<result>
<status>success</status>
</result>
</ns3:ClaimCancelDenyResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
ClaimCancelDeny Örnek Çağrı (JAVA)
public static void main(String[] args) {
String strAppKey = "***";
String strAppSecret = "***";
Long claimCancelId = 1234567L;
Long denyReasonId = 2L;
String denyReasonNote ="reddettim";
Authentication authentication = new Authentication();
authentication.setAppKey(strAppKey);
authentication.setAppSecret(strAppSecret);
ClaimCancelDenyRequest request = new ClaimCancelDenyRequest();
request.setAuthentication(authentication);
request.setClaimCancelId(claimCancelId);
request.setDenyReasonId(denyReasonId);
request.setDenyReasonNote(denyReasonNote);
ClaimCancelServicePort port = new ClaimCancelServicePortService()
.getClaimCancelServicePortSoap11();
ClaimCancelDenyResponse response = port.claimCancelList(request);
}