GET hub/{serial}/GetPlannings

Return all planning of a Hub. Free.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serial

Serial of the Hub

string

Required

Body Parameters

None.

Response Information

Resource Description

plannings to return

Flipr.Web.Api.Controllers.JsonWrappers.PlanningsGets
NameDescriptionTypeAdditional information
plannings

Collection of Flipr.Business.Hub.Planning

None.

CurrentPlanningID

Gets or sets the current planning id

integer

None.

Behavior

Gets or sets the current planning id

string

None.

ErrorCode

Gets or sets the error code if there is one

string

None.

Message

Gets or sets the error message if there is one

string

None.

Response Formats

application/json, text/json

Sample:
{
  "plannings": [
    {
      "id": 1,
      "name": "sample string 1",
      "isActivated": true,
      "order": 1,
      "list_StartingMinute_duration": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "days": "sample string 3"
    },
    {
      "id": 1,
      "name": "sample string 1",
      "isActivated": true,
      "order": 1,
      "list_StartingMinute_duration": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "days": "sample string 3"
    }
  ],
  "CurrentPlanningID": 1,
  "Behavior": "sample string 1",
  "ErrorCode": "sample string 2",
  "Message": "sample string 3"
}

text/html

Sample:
{"plannings":[{"id":1,"name":"sample string 1","isActivated":true,"order":1,"list_StartingMinute_duration":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"days":"sample string 3"},{"id":1,"name":"sample string 1","isActivated":true,"order":1,"list_StartingMinute_duration":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"days":"sample string 3"}],"CurrentPlanningID":1,"Behavior":"sample string 1","ErrorCode":"sample string 2","Message":"sample string 3"}