Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

ErrorInfo

Jason Wang edited this page Mar 22, 2018 · 1 revision

Error Info

URL : /equisat/data/errorInfo

Method : GET

Retrieves all errorInfos

Success Response

Code : 200 OK

Content example

[{
  "id": 1,
  "index": "0",
  "timestamp": 12,
  "errorCode": 1,
  "tid": 1
},{
  "id": 2,
  "index": "1",
  "timestamp": 13,
  "errorCode": 8,
  "tid": 1
},{
  "id": 3,
  "index": "0",
  "timestamp": 16,
  "errorCode": 1,
  "tid": 2
},{
  "id": 4,
  "index": "1",
  "timestamp": 17,
  "errorCode": 8,
  "tid": 2
}]

URL : /equisat/data/errorInfo/5

Method : GET

Retrieve errorInfo with id 5

Success Response

Code : 200 OK

Content example

{
  "id": 5,
  "index": "1",
  "timestamp": 17,
  "errorCode": 8,
  "tid": 2
}

URL : /equisat/data/errorInfo/tid/5

Method : GET

Retrieve errorInfos with tid 5

Success Response

Code : 200 OK

Content example

[{
  "id": 1,
  "index": "0",
  "timestamp": 12,
  "errorCode": 1,
  "tid": 5
},{
  "id": 2,
  "index": "1",
  "timestamp": 13,
  "errorCode": 8,
  "tid": 5
},{
  "id": 3,
  "index": "2",
  "timestamp": 16,
  "errorCode": 1,
  "tid": 5
},{
  "id": 4,
  "index": "3",
  "timestamp": 17,
  "errorCode": 8,
  "tid": 5
}]