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