duplicate500

http500  时间:2021-03-05  阅读:()
LEC15.
5.
1RESTAPIReferenceGuideTableofContentsOverview2Versioninformation2URIscheme2Tags2Paths2ReadLECconfiguration2Searchdiagnosticlogs4Listeventgroups10Firesoftbutton.
12ReadLECmirrorenable.
14SetLECmirrorenable15Loginauser16Logoutauser18Listmirrorhosts19Setmirrorhosts21Listprograms23Renewasession30Readtheschedule31Settheschedule41Readservertimezone56Searchtransactionlogs57Readtransactionlogdetails62Listvirtualchannels64Definitions67JaretDateFormatter67Locale67MirrorHost67StartTimeTrigger68Program68User68JaretDate69Character70VirtualChannel70DiagnosticLogRecord70EventGroup70TransactionLogDetail71Button71TransactionLogRecord71Schedule.
71EndTimeTrigger72LecConfiguration72SessionRest72DiagnosticLogFilter73TransactionLogFilter73ButtonTrigger74Session74THESPECIFICATIONSANDINFORMATIONREGARDINGTHEPRODUCTSINTHISMANUALARESUBJECTTOCHANGEWITHOUTNOTICE.
ALLSTATEMENTS,INFORMATION,ANDRECOMMENDATIONSINTHISMANUALAREBELIEVEDTOBEACCURATEBUTAREPRESENTEDWITHOUTWARRANTYOFANYKIND,EXPRESSORIMPLIED.
USERSMUSTTAKEFULLRESPONSIBILITYFORTHEIRAPPLICATIONOFANYPRODUCTS.
THESOFTWARELICENSEANDLIMITEDWARRANTYFORTHEACCOMPANYINGPRODUCTARESETFORTHINTHEINFORMATIONPACKETTHATSHIPPEDWITHTHEPRODUCTANDAREINCORPORATEDHEREINBYTHISREFERENCE.
IFYOUAREUNABLETOLOCATETHESOFTWARELICENSEORLIMITEDWARRANTY,CONTACTYOURCISCOREPRESENTATIVEFORACOPY.
TheCiscoimplementationofTCPheadercompressionisanadaptationofaprogramdevelopedbytheUniversityofCalifornia,Berkeley(UCB)aspartofUCB'spublicdomainversionoftheUNIXoperatingsystem.
Allrightsreserved.
Copyright1981,RegentsoftheUniversityofCalifornia.
NOTWITHSTANDINGANYOTHERWARRANTYHEREIN,ALLDOCUMENTFILESANDSOFTWAREOFTHESESUPPLIERSAREPROVIDED"ASIS"WITHALLFAULTS.
CISCOANDTHEABOVE-NAMEDSUPPLIERSDISCLAIMALLWARRANTIES,EXPRESSEDORIMPLIED,INCLUDING,WITHOUTLIMITATION,THOSEOFMERCHANTABILITY,FITNESSFORAPARTICULARPURPOSEANDNONINFRINGEMENTORARISINGFROMACOURSEOFDEALING,USAGE,ORTRADEPRACTICE.
INNOEVENTSHALLCISCOORITSSUPPLIERSBELIABLEFORANYINDIRECT,SPECIAL,CONSEQUENTIAL,ORINCIDENTALDAMAGES,INCLUDING,WITHOUTLIMITATION,LOSTPROFITSORLOSSORDAMAGETODATAARISINGOUTOFTHEUSEORINABILITYTOUSETHISMANUAL,EVENIFCISCOORITSSUPPLIERSHAVEBEENADVISEDOFTHEPOSSIBILITYOFSUCHDAMAGES.
AnyInternetProtocol(IP)addressesandphonenumbersusedinthisdocumentarenotintendedtobeactualaddressesandphonenumbers.
Anyexamples,commanddisplayoutput,networktopologydiagrams,andotherfiguresincludedinthedocumentareshownforillustrativepurposesonly.
AnyuseofactualIPaddressesorphonenumbersinillustrativecontentisunintentionalandcoincidental.
Allprintedcopiesandduplicatesoftcopiesareconsideredun-Controlledcopiesandtheoriginalon-lineversionshouldbereferredtoforlatestversion.
1Ciscohasmorethan200officesworldwide.
Addresses,phonenumbers,andfaxnumbersarelistedontheCiscowebsiteatwww.
cisco.
com/go/offices.
CiscoandtheCiscologoaretrademarksorregisteredtrademarksofCiscoand/oritsaffiliatesintheU.
S.
andothercountries.
ToviewalistofCiscotrademarks,gotothisURL:www.
cisco.
com/go/trademarks.
Third-partytrademarksmentionedarethepropertyoftheirrespectiveowners.
TheuseofthewordpartnerdoesnotimplyapartnershiprelationshipbetweenCiscoandanyothercompany.
(1110R)2018CiscoSystems,Inc.
Allrightsreserved.
OverviewLECRESTAPIprovidescapabilityofintegrationwiththirdpartymanagementsystemsinordertoconfigureLECprogramsandtriggersoftbuttons.
RESTinteractionshouldstartwithloginrequestLoginauser.
Tokenisreturnedasapartofloginresponse.
AnyfurtherRESTapirequestshouldcontainatokenintherequestURIasspecifiedinAPIexamples.
FormoreinformationonLECrefertothelatestPNC15.
5.
1UserGuide.
LECisdescribedinaseparatesectioninsidePNCUserGuide.
VersioninformationVersion:LEC15.
5.
1URIschemeHost:localhostBasePath:/lecTagslec-rest-controller:LecRestControllerPathsReadLECconfigurationGET/rest/config2DescriptionReadLECconfigurationParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKLecConfiguration500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/configtoken=MSMxMjqa5a%2BJpvqZ6w%3D%3D'-iExampleHTTPrequestGET/lec/rest/configtoken=MSMxMjqa5a%2BJpvqZ6w%3D%3DHTTP/1.
1Host:pnchostExampleHTTPresponse3HTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:166{"displayString":"LecConfiguration","hostname":"lec","customerCode":202,"lecId":0,"gdsPid":94,"bandwidth":50000,"debugMode":false}SearchdiagnosticlogsPOST/rest/diaglog/searchDescriptionSearchdiagnosticlogsParametersTypeNameDescriptionRequiredSchemaDefaultBodyParameterfilterfiltertrueDiagnosticLogFilterQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKDiagnosticLogRecordarray500InternalServerErrorNoContentConsumesapplication/jsonProduces/4Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/diaglog/search'-i-XPOST-H'Content-Type:application/json'-d'{"id":-1,"idRelation":null,"severities":[],"dateFrom":null,"dateUntil":null,"summary":"","description":"","sortColumn":"DiagnosticLog.
severity","sortAsc":false,"maxRowCount":30000}'ExampleHTTPrequestPOST/lec/rest/diaglog/searchHTTP/1.
1Content-Type:application/jsonHost:pnchostContent-Length:232{"id":-1,"idRelation":null,"severities":[],"dateFrom":null,"dateUntil":null,"summary":"","description":"","sortColumn":"DiagnosticLog.
severity","sortAsc":false,"maxRowCount":30000}ExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:7108[{5"id":3,"date":1530226134000,"description":"Warning3description","displayString":"Warning3synopsis","severity":"WARNING","summary":"Warning3synopsis"},{"id":17,"date":1547680059521,"description":"LEC-[c,s]-Connectiontimedout:/10.
11.
12.
60:8022.
Checkiftheipisreachable.
Willtrytoreconnectafter2000millionseconds.
Retrycount:1.
","displayString":"dcmconnection","severity":"WARNING","summary":"dcmconnection"},{"id":76,"date":1547680065608,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":39,"date":1547680064095,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":2,"date":1530226133000,"description":"Info2description","displayString":"Info2synopsis","severity":"INFO","summary":"Info2synopsis"},{"id":7,"date":1547680051335,"description":"StartingNotificationProcessor","displayString":"NotificationProcessor","severity":"INFO","summary":"NotificationProcessor"},{"id":8,"date":1547680052914,"description":"StartingLECScheduler","displayString":"Scheduler","severity":"INFO","summary":"Scheduler"},{6"id":9,"date":1547680053440,"description":"Initconnection(s)to1dcm(s):10.
11.
12.
60,","displayString":"DcmCommService","severity":"INFO","summary":"DcmCommService"},{"id":10,"date":1547680053502,"description":"Loadprograms","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":11,"date":1547680053515,"description":"Theoperationfinishedsuccessfully:LoadedEndeventtoProgramid1(TopGear)time2019-01-1619:06:30.
428","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":12,"date":1547680053523,"description":"Theoperationfinishedsuccessfully:LoadedEndeventtoProgramid2(Olympicslive)time2019-01-1620:22:30.
432","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":13,"date":1547680053547,"description":"Theoperationfinishedsuccessfully:LoadedEndeventtoProgramid3(NBA)time2019-01-1622:52:30.
433","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":14,"date":1547680053571,"description":"Theoperationfinishedsuccessfully:LoadedStarteventtoProgramid4(Football-Slaviavs.
Sparta)time2019-01-1620:42:30.
434","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":15,"date":1547680053597,"description":"Theoperationfinishedsuccessfully:LoadedStarteventtoProgramid5(NHL-Rangersvs.
Bulls)time2019-01-1618:22:30.
435","displayString":"ScheduleProcessor",7"severity":"INFO","summary":"ScheduleProcessor"},{"id":16,"date":1547680053614,"description":"Theoperationfinishedsuccessfully:Loadedfinished:ScheduledEvents--5added,1skipped;ButtonEvents--3added,0skipped.
","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":41,"date":1547680064197,"description":"Firesoftbutton:B1","displayString":"fireSoftButton","severity":"INFO","summary":"fireSoftButton"},{"id":73,"date":1547680065485,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":44,"date":1547680064353,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":47,"date":1547680064590,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":52,"date":1547680064877,"description":"Loadprograms","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":53,"date":1547680064882,"description":"Theoperationfinishedsuccessfully:LoadedEndeventtoProgramid7(TopGear)time2019-01-1619:06:30.
428","displayString":"ScheduleProcessor",8"severity":"INFO","summary":"ScheduleProcessor"},{"id":54,"date":1547680064887,"description":"Theoperationfinishedsuccessfully:LoadedEndeventtoProgramid8(Olympicslive)time2019-01-1620:22:30.
432","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":55,"date":1547680064892,"description":"Theoperationfinishedsuccessfully:LoadedEndeventtoProgramid9(NBA)time2019-01-1622:52:30.
433","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":56,"date":1547680064897,"description":"Theoperationfinishedsuccessfully:LoadedStarteventtoProgramid10(Football-Slaviavs.
Sparta)time2019-01-1620:42:30.
434","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":57,"date":1547680064904,"description":"Theoperationfinishedsuccessfully:LoadedStarteventtoProgramid11(NHL-Rangersvs.
Bulls)time2019-01-1618:22:30.
435","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":58,"date":1547680064909,"description":"Theoperationfinishedsuccessfully:Loadedfinished:ScheduledEvents--5added,1skipped;ButtonEvents--3added,0skipped.
","displayString":"ScheduleProcessor","severity":"INFO","summary":"ScheduleProcessor"},{"id":60,"date":1547680065071,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":63,9"date":1547680065172,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":65,"date":1547680065199,"description":"","displayString":"getLecConfiguration","severity":"INFO","summary":"getLecConfiguration"},{"id":67,"date":1547680065271,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":70,"date":1547680065380,"description":"login:user:lecadmin","displayString":"LoginService","severity":"INFO","summary":"LoginService"},{"id":1,"date":1530226132000,"description":"Error1description","displayString":"Error1synopsis","severity":"ERROR","summary":"Error1synopsis"}]ListeventgroupsGET/rest/evtgrp/listDescriptionReadeventgroupsParameters10TypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKEventGrouparray500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/evtgrp/listtoken=MSMxMTo6oatfmKIg4A%3D%3D'-iExampleHTTPrequestGET/lec/rest/evtgrp/listtoken=MSMxMTo6oatfmKIg4A%3D%3DHTTP/1.
1Host:pnchostExampleHTTPresponse11HTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:718[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""},{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"Europe","id":3,"name":"Europe","notes":""},{"displayString":"Africa","id":4,"name":"Africa","notes":""},{"displayString":"Asia","id":5,"name":"Asia","notes":""},{"displayString":"Australia","id":6,"name":"Australia","notes":""},{"displayString":"Antartica","id":7,"name":"Antartica","notes":""},{"displayString":"Noman\"sland","id":8,"name":"Noman\"sland","notes":""}]Firesoftbutton12POST/rest/firebutton/{button}DescriptionFiresoftbuttonParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringPathParameterbuttonbuttontruestringResponsesHTTPCodeDescriptionSchema200OKstring500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/firebutton/B1'-i-XPOST-d'token=MSM4OnqQAYqbsFli'ExampleHTTPrequestPOST/lec/rest/firebutton/B1HTTP/1.
1Host:pnchostContent-Type:application/x-www-form-urlencodedtoken=MSM4OnqQAYqbsFli13ExampleHTTPresponseHTTP/1.
1200OKReadLECmirrorenableGET/rest/lec_mirror/enableDescriptionReadLECmirrorenableParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKboolean500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/lec_mirror/enabletoken=MSM0OhB8K3ckzAM8'-i14ExampleHTTPrequestGET/lec/rest/lec_mirror/enabletoken=MSM0OhB8K3ckzAM8HTTP/1.
1Host:pnchostExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:4trueSetLECmirrorenablePUT/rest/lec_mirror/enableDescriptionSetLECmirrorenableParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringBodyParameterenableenabletruebooleanResponsesHTTPCodeDescriptionSchema200OKboolean500InternalServerErrorNoContentConsumesapplication/jsonProduces/15Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/lec_mirror/enable'-i-XPUT-H'Content-Type:application/json'-d'false'ExampleHTTPrequestPUT/lec/rest/lec_mirror/enableHTTP/1.
1Content-Type:application/jsonHost:pnchostContent-Length:5falseExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:5falseLoginauserPOST/rest/loginDescriptionLoginauserParametersTypeNameDescriptionRequiredSchemaDefaultQueryParameterusernameusernametruestringQueryParameterpasswordpasswordtruestring16TypeNameDescriptionRequiredSchemaDefaultQueryParameterpermissionpermissiontruebooleanQueryParameterversionversiontruebooleanResponsesHTTPCodeDescriptionSchema200OKSessionRest500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/login'-i-XPOST-H'Accept:application/json'-d'username=lecadmin&password=0398a2cbcebe784d10360562c28a4b07&permission=true&version=1'ExampleHTTPrequestPOST/lec/rest/loginHTTP/1.
1Accept:application/jsonHost:pnchostContent-Type:application/x-www-form-urlencodedusername=lecadmin&password=0398a2cbcebe784d10360562c28a4b07&permission=true&version=1ExampleHTTPresponse17HTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:420{"session":{"id":1,"user":{"id":1,"username":"lecadmin","password":"0398a2cbcebe784d10360562c28a4b07","firstName":null,"lastName":null,"email":null,"lastLogin":1547680062702,"ipAddress":null},"writePermitted":true,"validUntil":1547680182702},"token":"MSMxOiQ7S+QaI96/","computerDescription":null}LogoutauserPOST/rest/logoutDescriptionLogoutauserParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKSessionRest500InternalServerErrorNoContent18Consumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/logout'-i-XPOST-H'Accept:application/json'-d'token=MSMyOtA0kqQHQYHB'ExampleHTTPrequestPOST/lec/rest/logoutHTTP/1.
1Accept:application/jsonHost:pnchostContent-Type:application/x-www-form-urlencodedtoken=MSMyOtA0kqQHQYHBExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:86{"session":null,"token":"logoutsucceeded","computerDescription":null}ListmirrorhostsGET/rest/mirror_host/list19DescriptionListmirrorhostsParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKMirrorHostarray500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/mirror_host/listtoken=MSM1Ooj5uJGEkzaP'-iExampleHTTPrequestGET/lec/rest/mirror_host/listtoken=MSM1Ooj5uJGEkzaPHTTP/1.
1Host:pnchostExampleHTTPresponse20HTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:162[{"enabled":true,"ipAddress":"128.
2.
2.
3"},{"enabled":false,"ipAddress":"128.
4.
5.
6"},{"enabled":true,"ipAddress":"128.
9.
3.
3"}]SetmirrorhostsPUT/rest/mirror_host/listDescriptionSetmirrorhostsParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringBodyParameterhostListhostListtrueMirrorHostarrayResponsesHTTPCodeDescriptionSchema200OKMirrorHostarray500InternalServerErrorNoContentConsumesapplication/json21Produces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/mirror_host/list'-i-XPUT-H'Content-Type:application/json'-d'[{"enabled":true,"ipAddress":"128.
2.
2.
3"},{"enabled":true,"ipAddress":"128.
4.
5.
6"},{"enabled":false,"ipAddress":"128.
9.
3.
3"},{"enabled":true,"ipAddress":"10.
85.
160.
12"}]'ExampleHTTPrequestPUT/lec/rest/mirror_host/listHTTP/1.
1Content-Type:application/jsonHost:pnchostContent-Length:218[{"enabled":true,"ipAddress":"128.
2.
2.
3"},{"enabled":true,"ipAddress":"128.
4.
5.
6"},{"enabled":false,"ipAddress":"128.
9.
3.
3"},{"enabled":true,"ipAddress":"10.
85.
160.
12"}]22ExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:218[{"enabled":true,"ipAddress":"128.
2.
2.
3"},{"enabled":true,"ipAddress":"128.
4.
5.
6"},{"enabled":false,"ipAddress":"128.
9.
3.
3"},{"enabled":true,"ipAddress":"10.
85.
160.
12"}]ListprogramsGET/rest/program/listDescriptionListprogramsParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKProgramarray500InternalServerErrorNoContentConsumesapplication/json23Produces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/program/listtoken=MSMxMzqd0bwGULyGgw%3D%3D'-iExampleHTTPrequestGET/lec/rest/program/listtoken=MSMxMzqd0bwGULyGgw%3D%3DHTTP/1.
1Host:pnchostExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:6465[{"id":7,"name":"TopGear","notes":"EverythingisrubbishaccordingtoJeremyClarkson","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"HBO","id":2,"name":"HBO","originalNetworkId":1,"transportStreamId":101,24"notes":""},"enabled":true},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"BBC","id":4,"name":"BBC","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547682750428},"disarmTime":{"value":1547684550428}}],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""},{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"Europe","id":3,"name":"Europe","notes":""}],"startTime":{"value":1547680050428},"endTime":{"value":1547683590428}},{"id":8,25"name":"Olympicslive","notes":"ExamplenotefortheOlympicsprogram!
","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Olympicslive","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Olympicslive","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547683350432},"endTime":{"value":1547688150432}},{"id":9,"name":"NBA","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NBA","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NBA","virtualChannel":{"displayString":"CartoonNetwork","id":3,"name":"CartoonNetwork","originalNetworkId":1,"transportStreamId":101,"notes":""},26"enabled":true},"buttonTriggers":[],"targetGroups":[{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547688150433},"endTime":{"value":1547697150433}},{"id":10,"name":"Football-Slaviavs.
Sparta","notes":"AVERYimportantfootballmatch","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":null,"enabled":false},"buttonTriggers":[],"targetGroups":[{"displayString":"Antartica","id":7,"name":"Antartica","notes":""}],"startTime":{"value":1547689350434},27"endTime":{"value":1547693550434}},{"id":11,"name":"NHL-Rangersvs.
Bulls","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547681850435},"disarmTime":{"value":1547683350435}}],"targetGroups":[{"displayString":"Africa","id":4,"name":"Africa",28"notes":""}],"startTime":{"value":1547680950435},"endTime":{"value":1547683050435}},{"id":12,"name":"Cooking","notes":"Droolingprogram","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547689950437},"disarmTime":{"value":1547693550437}}],"targetGroups":[{"displayString":"Australia","id":6,"name":"Australia","notes":""}],29"startTime":{"value":1547685150437},"endTime":{"value":1547691750437}}]RenewasessionPOST/rest/renewsessionDescriptionRenewasessionParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKSessionRest500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest30$curl'https://pnchost/lec/rest/renewsession'-i-XPOST-H'Accept:application/json'-d'token=MSMzOi1O%2BLsUNTQx'ExampleHTTPrequestPOST/lec/rest/renewsessionHTTP/1.
1Accept:application/jsonHost:pnchostContent-Type:application/x-www-form-urlencodedtoken=MSMzOi1O%2BLsUNTQxExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:85{"session":null,"token":"renewsucceeded","computerDescription":null}ReadthescheduleGET/rest/scheduleDescriptionReadthescheduleParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKSchedule31HTTPCodeDescriptionSchema500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/scheduletoken=MSM5OgvII62qe9fc'-iExampleHTTPrequestGET/lec/rest/scheduletoken=MSM5OgvII62qe9fcHTTP/1.
1Host:pnchostExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:10079{"programs":[{"id":1,"name":"TopGear","notes":"EverythingisrubbishaccordingtoJeremyClarkson","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},32"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"HBO","id":2,"name":"HBO","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"BBC","id":4,"name":"BBC","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547682750428},"disarmTime":{"value":1547684550428}}],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""},{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"Europe","id":3,"name":"Europe",33"notes":""}],"startTime":{"value":1547680050428},"endTime":{"value":1547683590428}},{"id":2,"name":"Olympicslive","notes":"ExamplenotefortheOlympicsprogram!
","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Olympicslive","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Olympicslive","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547683350432},"endTime":{"value":1547688150432}},{"id":3,"name":"NBA","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NBA","virtualChannel":null,"enabled":false},34"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NBA","virtualChannel":{"displayString":"CartoonNetwork","id":3,"name":"CartoonNetwork","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[],"targetGroups":[{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547688150433},"endTime":{"value":1547697150433}},{"id":4,"name":"Football-Slaviavs.
Sparta","notes":"AVERYimportantfootballmatch","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":null,"enabled":false},35"buttonTriggers":[],"targetGroups":[{"displayString":"Antartica","id":7,"name":"Antartica","notes":""}],"startTime":{"value":1547689350434},"endTime":{"value":1547693550434}},{"id":5,"name":"NHL-Rangersvs.
Bulls","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{36"value":1547681850435},"disarmTime":{"value":1547683350435}}],"targetGroups":[{"displayString":"Africa","id":4,"name":"Africa","notes":""}],"startTime":{"value":1547680950435},"endTime":{"value":1547683050435}},{"id":6,"name":"Cooking","notes":"Droolingprogram","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547689950437},37"disarmTime":{"value":1547693550437}}],"targetGroups":[{"displayString":"Australia","id":6,"name":"Australia","notes":""}],"startTime":{"value":1547685150437},"endTime":{"value":1547691750437}}],"buttons":[{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},{"displayString":"B2","id":2,"name":"B2","enabled":true,"notes":"Button2"},{"displayString":"B3","id":3,"name":"B3","enabled":true,"notes":"Button3"},{"displayString":"B4","id":4,"name":"B4","enabled":true,"notes":"Button4"},{"displayString":"B5","id":5,"name":"B5","enabled":true,"notes":"Button5"},{"displayString":"B6","id":6,"name":"B6",38"enabled":true,"notes":"Button6"},{"displayString":"B7","id":7,"name":"B7","enabled":true,"notes":"Button7"},{"displayString":"B8","id":8,"name":"B8","enabled":true,"notes":"Button8"}],"eventGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""},{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"Europe","id":3,"name":"Europe","notes":""},{"displayString":"Africa","id":4,"name":"Africa","notes":""},{"displayString":"Asia","id":5,"name":"Asia","notes":""},{"displayString":"Australia","id":6,"name":"Australia","notes":""},{"displayString":"Antartica","id":7,"name":"Antartica","notes":""},{39"displayString":"Noman\"sland","id":8,"name":"Noman\"sland","notes":""}],"virtualChannels":[{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"HBO","id":2,"name":"HBO","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"CartoonNetwork","id":3,"name":"CartoonNetwork","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"BBC","id":4,"name":"BBC","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"Animax","id":5,"name":"Animax","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"MTV","id":6,"name":"MTV","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"CBS","id":7,"name":"CBS",40"originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"DiscoveryChannel","id":8,"name":"DiscoveryChannel","originalNetworkId":1,"transportStreamId":101,"notes":""}]}SettheschedulePUT/rest/scheduleDescriptionSetthescheduleParametersTypeNameDescriptionRequiredSchemaDefaultBodyParameterschedulescheduletrueScheduleQueryParametertokentokentruestringQueryParameterlocalForceSubmitlocalForceSubmittruebooleanResponsesHTTPCodeDescriptionSchema200OKinteger(int64)500InternalServerErrorNoContentConsumesapplication/jsonProduces/41Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/schedule'-i-XPUT-H'Content-Type:application/json'-d'{"programs":[{"id":1,"name":"TopGear","notes":"EverythingisrubbishaccordingtoJeremyClarkson","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"HBO","id":2,"name":"HBO","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"BBC","id":4,"name":"BBC","originalNetworkId":1,"transportStreamId":101,42"notes":""},"armTime":{"value":1547682750428},"disarmTime":{"value":1547684550428}}],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""},{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"Europe","id":3,"name":"Europe","notes":""}],"startTime":{"value":1547680050428},"endTime":{"value":1547683590428}},{"id":2,"name":"Olympicslive","notes":"ExamplenotefortheOlympicsprogram!
","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Olympicslive","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Olympicslive","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true43},"buttonTriggers":[],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547683350432},"endTime":{"value":1547688150432}},{"id":3,"name":"NBA","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NBA","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NBA","virtualChannel":{"displayString":"CartoonNetwork","id":3,"name":"CartoonNetwork","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[],"targetGroups":[{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547688150433},"endTime":{44"value":1547697150433}},{"id":4,"name":"Football-Slaviavs.
Sparta","notes":"AVERYimportantfootballmatch","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":null,"enabled":false},"buttonTriggers":[],"targetGroups":[{"displayString":"Antartica","id":7,"name":"Antartica","notes":""}],"startTime":{"value":1547689350434},"endTime":{"value":1547693550434}},{"id":5,"name":"NHL-Rangersvs.
Bulls","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true45},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547681850435},"disarmTime":{"value":1547683350435}}],"targetGroups":[{"displayString":"Africa","id":4,"name":"Africa","notes":""}],"startTime":{"value":1547680950435},"endTime":{"value":1547683050435}},{"id":6,"name":"Cooking","notes":"Droolingprogram","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"endTimeTrigger":{46"displayString":"EndTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547689950437},"disarmTime":{"value":1547693550437}}],"targetGroups":[{"displayString":"Australia","id":6,"name":"Australia","notes":""}],"startTime":{"value":1547685150437},"endTime":{"value":1547691750437}}],"buttons":[{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},{"displayString":"B2","id":2,"name":"B2","enabled":true,47"notes":"Button2"},{"displayString":"B3","id":3,"name":"B3","enabled":true,"notes":"Button3"},{"displayString":"B4","id":4,"name":"B4","enabled":true,"notes":"Button4"},{"displayString":"B5","id":5,"name":"B5","enabled":true,"notes":"Button5"},{"displayString":"B6","id":6,"name":"B6","enabled":true,"notes":"Button6"},{"displayString":"B7","id":7,"name":"B7","enabled":true,"notes":"Button7"},{"displayString":"B8","id":8,"name":"B8","enabled":true,"notes":"Button8"},{"displayString":"B9","id":-1,"name":"B9","enabled":true,"notes":"ButtonB9"}],"eventGroups":[],"virtualChannels":[]}'48ExampleHTTPrequestPUT/lec/rest/scheduleHTTP/1.
1Content-Type:application/jsonHost:pnchostContent-Length:8156{"programs":[{"id":1,"name":"TopGear","notes":"EverythingisrubbishaccordingtoJeremyClarkson","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:TopGear","virtualChannel":{"displayString":"HBO","id":2,"name":"HBO","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"BBC","id":4,"name":"BBC","originalNetworkId":1,"transportStreamId":101,49"notes":""},"armTime":{"value":1547682750428},"disarmTime":{"value":1547684550428}}],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""},{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"Europe","id":3,"name":"Europe","notes":""}],"startTime":{"value":1547680050428},"endTime":{"value":1547683590428}},{"id":2,"name":"Olympicslive","notes":"ExamplenotefortheOlympicsprogram!
","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Olympicslive","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Olympicslive","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true50},"buttonTriggers":[],"targetGroups":[{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547683350432},"endTime":{"value":1547688150432}},{"id":3,"name":"NBA","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NBA","virtualChannel":null,"enabled":false},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NBA","virtualChannel":{"displayString":"CartoonNetwork","id":3,"name":"CartoonNetwork","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"buttonTriggers":[],"targetGroups":[{"displayString":"SouthAmerica","id":2,"name":"SouthAmerica","notes":""},{"displayString":"NorthAmerica","id":1,"name":"NorthAmerica","notes":""}],"startTime":{"value":1547688150433},"endTime":{51"value":1547697150433}},{"id":4,"name":"Football-Slaviavs.
Sparta","notes":"AVERYimportantfootballmatch","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:Football-Slaviavs.
Sparta","virtualChannel":null,"enabled":false},"buttonTriggers":[],"targetGroups":[{"displayString":"Antartica","id":7,"name":"Antartica","notes":""}],"startTime":{"value":1547689350434},"endTime":{"value":1547693550434}},{"id":5,"name":"NHL-Rangersvs.
Bulls","notes":"","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"enabled":true52},"endTimeTrigger":{"displayString":"EndTimeTriggerofProgram:NHL-Rangersvs.
Bulls","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547681850435},"disarmTime":{"value":1547683350435}}],"targetGroups":[{"displayString":"Africa","id":4,"name":"Africa","notes":""}],"startTime":{"value":1547680950435},"endTime":{"value":1547683050435}},{"id":6,"name":"Cooking","notes":"Droolingprogram","startTimeTrigger":{"displayString":"StartTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"endTimeTrigger":{53"displayString":"EndTimeTriggerofProgram:Cooking","virtualChannel":null,"enabled":false},"buttonTriggers":[{"button":{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},"virtualChannel":{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,"transportStreamId":101,"notes":""},"armTime":{"value":1547689950437},"disarmTime":{"value":1547693550437}}],"targetGroups":[{"displayString":"Australia","id":6,"name":"Australia","notes":""}],"startTime":{"value":1547685150437},"endTime":{"value":1547691750437}}],"buttons":[{"displayString":"B1","id":1,"name":"B1","enabled":true,"notes":"Button1"},{"displayString":"B2","id":2,"name":"B2","enabled":true,54"notes":"Button2"},{"displayString":"B3","id":3,"name":"B3","enabled":true,"notes":"Button3"},{"displayString":"B4","id":4,"name":"B4","enabled":true,"notes":"Button4"},{"displayString":"B5","id":5,"name":"B5","enabled":true,"notes":"Button5"},{"displayString":"B6","id":6,"name":"B6","enabled":true,"notes":"Button6"},{"displayString":"B7","id":7,"name":"B7","enabled":true,"notes":"Button7"},{"displayString":"B8","id":8,"name":"B8","enabled":true,"notes":"Button8"},{"displayString":"B9","id":-1,"name":"B9","enabled":true,"notes":"ButtonB9"}],"eventGroups":[],"virtualChannels":[]}55ExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:11ReadservertimezoneGET/rest/timezoneDescriptionReadservertimezoneParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKstring500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest56$curl'https://pnchost/lec/rest/timezonetoken=MSMxNDqedJF4Xx6NwQ%3D%3D'-iExampleHTTPrequestGET/lec/rest/timezonetoken=MSMxNDqedJF4Xx6NwQ%3D%3DHTTP/1.
1Host:pnchostExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:17"America/Toronto"SearchtransactionlogsPOST/rest/translog/searchDescriptionSearchtransactionlogsParametersTypeNameDescriptionRequiredSchemaDefaultBodyParameterfilterfiltertrueTransactionLogFilterQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKTransactionLogRecordarray500InternalServerErrorNoContentConsumesapplication/json57Produces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/translog/search'-i-XPOST-H'Content-Type:application/json'-d'{"id":-1,"idRelation":null,"dateFrom":null,"dateUntil":null,"ipAddress":"","description":"","sortColumn":"DiagnosticLog.
date","sortAsc":true,"maxRowCount":30000}'ExampleHTTPrequestPOST/lec/rest/translog/searchHTTP/1.
1Content-Type:application/jsonHost:pnchostContent-Length:207{"id":-1,"idRelation":null,"dateFrom":null,"dateUntil":null,"ipAddress":"","description":"","sortColumn":"DiagnosticLog.
date","sortAsc":true,"maxRowCount":30000}ExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:472558[{"id":4,"date":1530226135000,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":5,"date":1530226136000,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":6,"date":1530226137000,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":40,"date":1547680064117,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":42,"date":1547680064231,"description":"fireSoftButton","displayString":"lecadmin@127.
0.
0.
1,R/W:fireSoftButton","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":43,"date":1547680064295,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":45,"date":1547680064375,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":46,"date":1547680064533,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":48,59"date":1547680064610,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":49,"date":1547680064764,"description":"setSchedule","displayString":"lecadmin@127.
0.
0.
1,R/W:setSchedule","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":50,"date":1547680064787,"description":"Added1buttons.
","displayString":"lecadmin@127.
0.
0.
1,R/W:Added1buttons.
","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":51,"date":1547680064859,"description":"Programscount:6","displayString":":Programscount:6","ipAddress":""},{"id":59,"date":1547680064966,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":61,"date":1547680065087,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":62,"date":1547680065140,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":64,"date":1547680065187,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":66,"date":1547680065241,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout",60"ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":68,"date":1547680065286,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":69,"date":1547680065345,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":71,"date":1547680065396,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":72,"date":1547680065450,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":74,"date":1547680065502,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":75,"date":1547680065545,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":77,"date":1547680065622,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":78,"date":1547680065688,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":80,61"date":1547680065727,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":81,"date":1547680065781,"description":"Logout","displayString":"lecadmin@127.
0.
0.
1,R/W:Logout","ipAddress":"lecadmin@127.
0.
0.
1,R/W"},{"id":83,"date":1547680065829,"description":"Login","displayString":"lecadmin@127.
0.
0.
1,R/W:Login","ipAddress":"lecadmin@127.
0.
0.
1,R/W"}]ReadtransactionlogdetailsGET/rest/translogdetails/{id}DescriptionReadtransactionlogdetailsParametersTypeNameDescriptionRequiredSchemaDefaultPathParameterididtrueinteger(int32)QueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKTransactionLogDetailarray500InternalServerErrorNoContentConsumesapplication/json62Produces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/translogdetails/1token=MSMxNzqYEtRoSjW0qg%3D%3D'-iExampleHTTPrequestGET/lec/rest/translogdetails/1token=MSMxNzqYEtRoSjW0qg%3D%3DHTTP/1.
1Host:pnchostExampleHTTPresponse63HTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:783[{"displayString":"1:ModifiedButtonB9","id":1,"date":1547680065753,"operation":"Modified","entityType":"Button","entityId":"B9","attribute":"Name","attributeOp":"Added","oldValue":"-","newValue":"B9"},{"displayString":"1:ModifiedButtonB9","id":1,"date":1547680065753,"operation":"Modified","entityType":"Button","entityId":"B9","attribute":"Enabled","attributeOp":"Added","oldValue":"-","newValue":"true"},{"displayString":"1:ModifiedButtonB9","id":1,"date":1547680065753,"operation":"Modified","entityType":"Button","entityId":"B9","attribute":"Notes","attributeOp":"Added","oldValue":"-","newValue":"ButtonB9"}]ListvirtualchannelsGET/rest/vc/listDescriptionListvirtualchannels64ParametersTypeNameDescriptionRequiredSchemaDefaultQueryParametertokentokentruestringResponsesHTTPCodeDescriptionSchema200OKVirtualChannelarray500InternalServerErrorNoContentConsumesapplication/jsonProduces/Tagslec-rest-controllerExampleCURLrequest$curl'https://pnchost/lec/rest/vc/listtoken=MSMxNTp%2FV7moE4S%2Blw%3D%3D'-iExampleHTTPrequestGET/lec/rest/vc/listtoken=MSMxNTp%2FV7moE4S%2Blw%3D%3DHTTP/1.
1Host:pnchostExampleHTTPresponseHTTP/1.
1200OKContent-Type:application/json;charset=UTF-8Content-Length:1136[{"displayString":"FOXSport","id":1,"name":"FOXSport","originalNetworkId":1,65"transportStreamId":101,"notes":""},{"displayString":"HBO","id":2,"name":"HBO","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"CartoonNetwork","id":3,"name":"CartoonNetwork","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"BBC","id":4,"name":"BBC","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"Animax","id":5,"name":"Animax","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"MTV","id":6,"name":"MTV","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"CBS","id":7,"name":"CBS","originalNetworkId":1,"transportStreamId":101,"notes":""},{"displayString":"DiscoveryChannel","id":8,"name":"DiscoveryChannel","originalNetworkId":1,"transportStreamId":101,"notes":""66}]DefinitionsJaretDateFormatterNameDescriptionRequiredSchemaDefaultlocalefalseLocaleLocaleNameDescriptionRequiredSchemaDefaultcountryfalsestringdisplayCountryfalsestringdisplayLanguagefalsestringdisplayNamefalsestringdisplayScriptfalsestringdisplayVariantfalsestringextensionKeysfalseCharacterarrayiso3Countryfalsestringiso3LanguagefalsestringlanguagefalsestringscriptfalsestringunicodeLocaleAttributesfalsestringarrayunicodeLocaleKeysfalsestringarrayvariantfalsestringMirrorHostNameDescriptionRequiredSchemaDefaultenabledfalsebooleanipAddressfalsestring67StartTimeTriggerNameDescriptionRequiredSchemaDefaultdisplayStringfalsestringenabledfalsebooleantargetGroupsfalseEventGrouparraytimefalseJaretDatevirtualChannelfalseVirtualChannelProgramNameDescriptionRequiredSchemaDefaultbeginfalseJaretDatebuttonTriggersfalseButtonTriggerarraydisplayStringfalsestringendfalseJaretDateendTimefalseJaretDateendTimeTriggerfalseEndTimeTriggeridfalseinteger(int32)namefalsestringnotesfalsestringsecondsfalseinteger(int32)startTimefalseJaretDatestartTimeTriggerfalseStartTimeTriggertargetGroupsfalseEventGrouparrayUserNameDescriptionRequiredSchemaDefaultemailfalsestringfirstNamefalsestringidfalseinteger(int32)ipAddressfalsestring68NameDescriptionRequiredSchemaDefaultlastLoginfalseinteger(int64)lastNamefalsestringpasswordfalsestringusernamefalsestringJaretDateNameDescriptionRequiredSchemaDefaultdatefalseinteger(int64)dateByTextfalsestringdayfalseinteger(int32)dayOfWeekfalseinteger(int32)dayOfWeekStringfalsestringdayOfYearfalseinteger(int32)hoursfalseinteger(int32)jaretDateFormatterfalseJaretDateFormatterlocalefalseLocalemillisfalseinteger(int32)millisInDayfalseinteger(int64)millisecondsfalseinteger(int32)minutesfalseinteger(int32)monthfalseinteger(int32)monthStringfalsestringsecondsfalseinteger(int32)shortDayOfWeekStringfalsestringshortMonthStringfalsestringweekOfYearfalseinteger(int32)weekendDayfalsebooleanyearfalseinteger(int32)69CharacterVirtualChannelNameDescriptionRequiredSchemaDefaultdisplayStringfalsestringidfalseinteger(int32)namefalsestringnotesfalsestringoriginalNetworkIdfalseinteger(int32)transportStreamIdfalseinteger(int32)DiagnosticLogRecordNameDescriptionRequiredSchemaDefaultdatefalseinteger(int64)descriptionfalsestringdisplayStringfalsestringidfalseinteger(int32)severityfalseenum(MAJOR,MINOR,EVENT,INFO,WARNING,ERROR,UNKNOWN)summaryfalsestringEventGroupNameDescriptionRequiredSchemaDefaultdisplayStringfalsestringidfalseinteger(int32)namefalsestringnotesfalsestringparentfalseScheduleprogramsfalseProgramarray70TransactionLogDetailNameDescriptionRequiredSchemaDefaultattributefalsestringattributeOpfalsestringdatefalseinteger(int64)displayStringfalsestringentityIdfalsestringentityTypefalsestringidfalseinteger(int32)newValuefalsestringoldValuefalsestringoperationfalsestringButtonNameDescriptionRequiredSchemaDefaultdisplayStringfalsestringenabledfalsebooleanidfalseinteger(int32)namefalsestringnotesfalsestringTransactionLogRecordNameDescriptionRequiredSchemaDefaultdatefalseinteger(int64)descriptionfalsestringdisplayStringfalsestringidfalseinteger(int32)ipAddressfalsestringSchedule71NameDescriptionRequiredSchemaDefaultbuttonsfalseButtonarraydefaultButtonfalseButtondisplayStringfalsestringeventGroupsfalseEventGrouparrayprogramsfalseProgramarrayvirtualChannelsfalseVirtualChannelarrayEndTimeTriggerNameDescriptionRequiredSchemaDefaultdisplayStringfalsestringenabledfalsebooleantargetGroupsfalseEventGrouparraytimefalseJaretDatevirtualChannelfalseVirtualChannelLecConfigurationNameDescriptionRequiredSchemaDefaultbandwidthfalseinteger(int32)customerCodefalseinteger(int32)debugModefalsebooleandisplayStringfalsestringgdsPidfalseinteger(int32)hostnamefalsestringlecIdfalseinteger(int32)SessionRestNameDescriptionRequiredSchemaDefaultcomputerDescriptionfalsestringsessionfalseSession72NameDescriptionRequiredSchemaDefaulttokenfalsestringDiagnosticLogFilterNameDescriptionRequiredSchemaDefaultdateFromfalseinteger(int64)dateUntilfalseinteger(int64)descriptionfalsestringidfalseinteger(int32)idRelationfalseenum(LESS_THAN,EQUAL,GREATER_THAN)maxRowCountfalseinteger(int32)severitiesfalseenum(MAJOR,MINOR,EVENT,INFO,WARNING,ERROR,UNKNOWN)arraysortAscfalsebooleansortColumnfalsestringsummaryfalsestringTransactionLogFilterNameDescriptionRequiredSchemaDefaultdateFromfalseinteger(int64)dateUntilfalseinteger(int64)descriptionfalsestringidfalseinteger(int32)idRelationfalseenum(LESS_THAN,EQUAL,GREATER_THAN)ipAddressfalsestringmaxRowCountfalseinteger(int32)73NameDescriptionRequiredSchemaDefaultsortAscfalsebooleansortColumnfalsestringButtonTriggerNameDescriptionRequiredSchemaDefaultarmTimefalseJaretDatearmedfalsebooleanbeginfalseJaretDatebuttonfalseButtondisarmTimefalseJaretDatedisplayStringfalsestringendfalseJaretDatesecondsfalseinteger(int32)targetGroupsfalseEventGrouparrayvirtualChannelfalseVirtualChannelSessionNameDescriptionRequiredSchemaDefaultidfalseinteger(int64)userfalseUservalidUntilfalseinteger(int64)writePermittedfalseboolean74

无忧云-河南洛阳BGP,CEPH集群分布式存储,数据安全可靠,活动期间月付大优惠!

 无忧云怎么样?无忧云服务器好不好?无忧云值不值得购买?无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点...

RAKsmart秒杀服务器$30/月,洛杉矶/圣何塞/香港/日本站群特价

RAKsmart发布了9月份优惠促销活动,从9月1日~9月30日期间,爆款美国服务器每日限量抢购最低$30.62-$46/月起,洛杉矶/圣何塞/香港/日本站群大量补货特价销售,美国1-10Gbps大带宽不限流量服务器低价热卖等。RAKsmart是一家华人运营的国外主机商,提供的产品包括独立服务器租用和VPS等,可选数据中心包括美国加州圣何塞、洛杉矶、中国香港、韩国、日本、荷兰等国家和地区数据中心(...

盘点AoYoZhuJi傲游主机商8个数据中心常见方案及八折优惠

傲游主机商我们可能很多人并不陌生,实际上这个商家早年也就是个人主机商,传说是有几个个人投资创办的,不过能坚持到现在也算不错,毕竟有早年的用户积累正常情况上还是能延续的。如果是新服务商这几年确实不是特别容易,问到几个老牌的个人服务商很多都是早年的用户积累客户群。傲游主机目前有提供XEN和KVM架构的云服务器,不少还是亚洲CN2优化节点,目前数据中心包括中国香港、韩国、德国、荷兰和美国等多个地区的CN...

http500为你推荐
现有新的ios更新可用请从ios14be苹果x更新系统14不能玩王者荣耀了有没有一样的?http500http 500是什么意思?aspweb服务器web服务器怎样才能支持.aspaspweb服务器如何搭建简易Asp Web服务器outlookexpressoutlook Express是什么啊?怎么用啊?outlookexpressoutlook express 是什么?波音737起飞爆胎为什么客机每次起飞都要先跑一段距离什么是支付宝支付宝是什么意思?netshwinsockreset电脑开机老是出现wwbizsrv.exe 应用程序错误 怎么处理yixingjia报价是什么意思
网站域名备案 域名解析服务器 国内永久免费云服务器 42u机柜尺寸 php空间推荐 百度云1t 新世界服务器 cxz web应用服务器 论坛主机 qq金券 阿里云手机官网 netvigator 葫芦机 免费赚q币 xshell5注册码 美国主机侦探 accountsuspended zencart安装 香港打折信息 更多