JSMS API批量发送,如何获取推送成功的手机号的msg_id

haof3344
2019-10-21 06:00 202 0
public class BatchSMSResult extends BaseResult {

    @Expose String schedule_id;
    @Expose int success_count;
    @Expose int failure_count;
    @Expose List<FailureRecipients> failure_recipients;

    public String getScheduleId() {
        return schedule_id;
    }

    public int getSuccessCount() {
        return success_count;
    }

    public int getFailureCount() {
        return failure_count;
    }

    public List<FailureRecipients> getFailureRecipients() {
        return failure_recipients;
    }

    public static class FailureRecipients {

        @Expose String error_code;
        @Expose String error_message;
        @Expose String mobile;
        @Expose JsonObject temp_para;

        public String getErrorCode() {
            return error_code;
        }

        public String getErrorMessage() {
            return error_message;
        }

        public String getMobile() {
            return mobile;
        }

        public JsonObject getTempPara() {
            return temp_para;
        }
    }
}

如上,如何获取发送成功的mobile对应的msg_id?

1个回答

热门排序