Epson TM-T20II-i TM-i WebConfig API Users Manual For TM-i firmware ver.4.1 - Page 13
JSON format
View all Epson TM-T20II-i manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
JSON format { "response" : { "success" : "true" } , "%Category%" : { "%Key1%" : "%Value1%" , "%Key2%" : "%Value2%" , "%Key3%" : "%Value3%" , } } The above keys are in no particular order. Response body (Example : config_tcpip_wired.cgi) { "response" : { "success" : "true" } , "WiredNetwork" : { "IPAddressSettingMethod" : "Auto" , "APIPA" : "Enable" , "IPAddress" : "192.168.192.168" , "Netmask" : "255.255.255.0" , "Gateway" : "192.168.192.1" , "DNSServerSettingMethod" : "Auto" , "DNSServerIPAddress1" : "192.168.192.1" , "DNSServerIPAddress2" : "192.168.192.1" , "DNSServerIPAddress3" : "192.168.192.1" } } Chapter 2 Response Body Format 2 13
13
Chapter 2
Response Body Format
2
JSON format
Response body (Example : config_tcpip_wired.cgi)
{ "response" :
{
"success" : "true"
} ,
"%Category%" :
{
"%Key1%" : "%Value1%" ,
"%Key2%" : "%Value2%" ,
"%Key3%" : "%Value3%" ,
}
}
The above keys are in no particular order.
{ "response" :
{
"success" : "true"
} ,
"WiredNetwork" :
{
"IPAddressSettingMethod" : "Auto" ,
"APIPA" : "Enable" ,
"IPAddress" : "192.168.192.168" ,
"Netmask" : "255.255.255.0" ,
"Gateway" : "192.168.192.1" ,
"DNSServerSettingMethod" : "Auto" ,
"DNSServerIPAddress1" : "192.168.192.1" ,
"DNSServerIPAddress2" : "192.168.192.1" ,
"DNSServerIPAddress3" : "192.168.192.1"
}
}