公共参数
公共输出参数
- 每个请求都必须带上ReqestId, 且请求返回值中返回RequestId
- Version参数全部为2017-12-28
- 未指明接口请求方法,则为GET
- 服务名称为ncv,请求以/ncv开头
公共响应码和Message信息
OK(HttpStatus.OK,"OK","Success.","操作成功"),
InvalidFormat(HttpStatus.BAD_REQUEST,"InvalidForamt","The format of the input parameter %s is illegal.","输入参数 %s 非法."),
RequestExpired(HttpStatus.BAD_REQUEST,"RequestExpired","Request has expired.","请求已过期."),
MissingParameter(HttpStatus.BAD_REQUEST,"MissingParameter","The required input parameter %s for processing this request is not supplied.","必要参数 %s 未传入"),
InternalServerError(HttpStatus.INTERNAL_SERVER_ERROR,"InternvalServerError","Internal server error.","服务器内部错误"),
DatabaseException(HttpStatus.INTERNAL_SERVER_ERROR,"DatabaseException","Database service exception","数据库服务异常"),
MQException(HttpStatus.INTERNAL_SERVER_ERROR,"MQException","Message queue service exception ","消息队列服务异常"),
SAMException(HttpStatus.INTERNAL_SERVER_ERROR,"SAMException","SAM server error","鉴权服务异常"),
BillException(HttpStatus.INTERNAL_SERVER_ERROR,"BillException","Bill service exception ","计费服务异常"),
NotFound(HttpStatus.NOT_FOUND,"NotFound","Resource %s was not found","资源%s不存在"),
BadStatus(HttpStatus.BAD_REQUEST,"BadStatus","Operation is not allowed in the state","当前状态不允许该操作"),
InvalidParameterValue(HttpStatus.BAD_REQUEST,"InvalidParameterValue","The parameter %s cannot accept value %s.","参数%s %s错误"),
DuplicatedParameter(HttpStatus.BAD_REQUEST,"DuplicatedParameterValue","The parameter %s is duplicated","参数%s重复"),
UnKnownException(HttpStatus.BAD_REQUEST,"UnKnowException","unknow exception","未知异常"),
QuotaOverSize(HttpStatus.BAD_REQUEST,"QuotaOverSize","Quota is oversize","超过配额"),
Unauthorized(HttpStatus.UNAUTHORIZED,"Unauthorized","Unauthorized or no permission","无权操作");