stageLayoutMapSet method

Future<bool> stageLayoutMapSet(
  1. List postBody
)
inherited

stageLayoutMapSet -> /v1/stage/layout_map

Sets the specified stage message to the corresponding stage screens.

PARAMETERS

postBody (required) : This is the data that must be sent with this request.

Example (set_layouts_by_name):

[
  {
    "screen": {
      "name": "Side Screen"
    },
    "layout": {
      "name": "Sermon Notes"
    }
  }
]

Example (set_layouts_by_index):

[
  {
    "screen": {
      "index": 3
    },
    "layout": {
      "index": 7
    }
  }
]

RESPONSE 204:

The request was processed successfully. There is no response body.

content-type: NONE

RESPONSE 400:

The request was not valid.

content-type: ``

Implementation

Future<bool> stageLayoutMapSet(List postBody) async {
  String url = '/v1/stage/layoutMap';

  return await call('put', url, httpAccept: 'application/json');
}