Description: Gets all status/system codes used in various parts of the system.
Security: Requires a valid user
Usage: GET api/v1/systemCodes?group=status
Produces: application/json
Query Parameters:
Parameter | Type | Description | Required/Optional |
---|---|---|---|
| String | A filter on the list based on the | Optional |
Response:
200 OK [ { "code": 4000, "name": "queued", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4001, "name": "processing", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4002, "name": "success", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4003, "name": "failure", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4004, "name": "error", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4005, "name": "waiting", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4006, "name": "cancelled", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4007, "name": "unstable", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4008, "name": "skipped", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4009, "name": "timeout", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4010, "name": "stopped", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4011, "name": "deleted", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4012, "name": "cached", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4013, "name": "cancelling", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4014, "name": "timingOut", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4015, "name": "creating", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4016, "name": "ready", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4017, "name": "online", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4018, "name": "offline", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4019, "name": "unhealthy", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4020, "name": "onlineRequested", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4021, "name": "offlineRequested", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" }, { "code": 4022, "name": "pendingApproval", "group": "status", "createdBy": "54188262bc4d591ba438d62a", "updatedBy": "54188262bc4d591ba438d62a", "createdAt": "2016-06-01T00:00:00.000Z", "updatedAt": "2016-06-01T00:00:00.000Z" } ]