Skip to content

Common Response Structure


Field Type Description
code Number The status code returned, which is the same as the HTTP status code, and is fixed at 200 when there is no error
content String, Number, Array, Boolean, JSON The returned data, the specific type of data returned depends on the actual interface business
pageInfo JSON Pagination information for all list interface responses
pageInfo.count Number The amount of data on the current page
pageInfo.pageIndex Number The page number
pageInfo.pageSize Number The size of each page
pageInfo.totalCount Number The total amount of data that meets the criteria
errorCode String The returned error status code, empty means no error
message String The specific description information corresponding to the returned error code
success Boolean Fixed as true, indicating that the interface call was successful
traceId Boolean traceId, used to track each request

Feedback

Is this page helpful? ×