EparkEmulator

<back to all web services

SetBusVariableRequest

Requires Authentication
The following routes are available for this service:
PUT/busvariables/write
SetBusVariableRequest Parameters:
NameParameterData TypeRequiredDescription
AddressbodystringYesAdresse de la variable
ValuebodyintYesValeur de la variable
BusVariableValuePair Parameters:
NameParameterData TypeRequiredDescription
AddressformstringNo
ValueformintNo
ValidformboolNo

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 /csv/reply/SetBusVariableRequest HTTP/1.1 
Host: microsoft-issy-ws.epark.fr 
Content-Type: text/csv
Content-Length: length

{"Address":"String","Value":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Address":"String","Value":0,"Valid":false}