POST hub/{serial}/AddPlannings

Add a or multiples plannings to a hub. Subscription Required.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serial

Serial of the Hub

string

Required

Body Parameters

List of planning to set (JSON)

Collection of Flipr.Web.Api.Controllers.JsonWrappers.Planning
NameDescriptionTypeAdditional information
Name

Gets or sets the Name of the Planning

string

None.

isActivated

Gets or sets if this Planning is Activated

boolean

None.

order

Gets or sets the order of the planning

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "isActivated": true,
    "order": 1
  },
  {
    "Name": "sample string 1",
    "isActivated": true,
    "order": 1
  }
]

text/html

Sample:
[{"Name":"sample string 1","isActivated":true,"order":1},{"Name":"sample string 1","isActivated":true,"order":1}]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.