fix: kakaotalk bulkstatus API call 매핑값 fix

main
Jonguk. Lim 3 months ago
parent ab2d222b27
commit 338a556b14

@ -170,11 +170,11 @@ public class KkotalkEltrcDocService extends AbstractService implements
public KkotalkDocDTO.EnvelopeStatusResponse findStatus(final KkotalkDocDTO.EnvelopeId reqDTO){
validate(reqDTO, null);
String param = "{\"envelopeIds\":" + JsonUtils.toJson(List.of(reqDTO.getEnvelopeId())) + "}";
KkotalkDTO.BulkStatusResponse res = webClient.exchangeKkotalk(
HOST + API_BULKSTATUS[0],
HttpMethod.valueOf(API_BULKSTATUS[1]),
JsonUtils.toJson(List.of(reqDTO.getEnvelopeId())),
param,
KkotalkDTO.BulkStatusResponse.class,
getRlaybsnmInfo(reqDTO));
return res.getEnvelopeStatus().get(0);

Loading…
Cancel
Save