Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

RebootLC

Requires Authentication
The following routes are available for this service:
All Verbs/RebootLC
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class RebootLC:
    # @ApiMember(Description="Optional: LC address")
    lc_address: Optional[str] = None
    """
    Optional: LC address
    """


    # @ApiMember(Description="Optional: name of the stockroom where the LC is located")
    stockroom_name: Optional[str] = None
    """
    Optional: name of the stockroom where the LC is located
    """


    # @ApiMember(Description="Optional: IP address of the bus controller where to send the reboot")
    bcip_address: Optional[str] = None
    """
    Optional: IP address of the bus controller where to send the reboot
    """

Python RebootLC DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /RebootLC HTTP/1.1 
Host: clouddemo.pickeos.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"LCAddress":"String","StockroomName":"String","BCIPAddress":"String"}