Request format: XML document with the RK7Query root element, which contains
Preferred method:
Request
<?xml version="1.0" encoding="utf-8"?> <RK7Query> <RK7CMD CMD="GetSystemInfo"/> </RK7Query> |
Response
<?xml version="1.0" encoding="utf-8"?> <RK7QueryResult ServerVersion="7.6.5.92" XmlVersion="246" NetName="OA-01-REPS-000" Status="Ok" CMD="GetSystemInfo" ErrorText="" DateTime="2020-02-12T20:28:51" WorkTime="0" Processed="1"> <SystemInfo SystemTime="3790700931046" ReqSysVer="2" NetName="OA-01-REPS-000" ProcessID="4788"/> </RK7QueryResult> |
Development of RK7CMD to fulfill multiple queries
Request
<?xml version="1.0" encoding="utf-8"?> <RK7Query> <RK7Command CMD="GetSystemInfo"/> <RK7Command CMD="GetRefData" RefName="EventList"/> </RK7Query> |
Response
<?xml version="1.0" encoding="utf-8"?> <RK7QueryResult ServerVersion="7.6.5.92" XmlVersion="246" NetName="OA-01-REPS-000" Status="Ok" Processed="2"> <CommandResult CMD="GetSystemInfo" Status="Ok" ErrorText="" DateTime="2020-02-12T20:39:02" WorkTime="0"> <SystemInfo SystemTime="3790701542539" ReqSysVer="2" NetName="OA-01-REPS-000" ProcessID="4788"/> </CommandResult> <CommandResult CMD="GetRefData" Status="Ok" ErrorText="" DateTime="2020-02-12T20:39:02" WorkTime="16"> <RK7Reference DataVersion="3" Name="EVENTLIST"> <Items> <Item Ident="1000282" GUIDString="{8F611272-83CD-43B3-8AFF-B58C47956083}" Code="1" Name="SH5 price import"/> </Items> </RK7Reference> </CommandResult> </RK7QueryResult> |
Request
<?xml version="1.0" encoding="utf-8"?> <RK7Query> <RK7Command2 CMD="GetSystemInfo"/> <RK7Command2 CMD="GetRefData" RefName="EventList"/> </RK7Query> |
Response
<?xml version="1.0" encoding="utf-8"?> <RK7QueryResult ServerVersion="7.6.5.92" XmlVersion="246" NetName="OA-01-REPS-000" Status="Ok" Processed="2"> <CommandResult CMD="GetSystemInfo" Status="Ok" ErrorText="" DateTime="2020-02-12T20:43:58" WorkTime="0"> <SourceCommand> <RK7Command2 CMD="GetSystemInfo"/> </SourceCommand> <SystemInfo SystemTime="3790701838355" ReqSysVer="2" NetName="OA-01-REPS-000" ProcessID="4788"/> </CommandResult> <CommandResult CMD="GetRefData" Status="Ok" ErrorText="" DateTime="2020-02-12T20:43:58" WorkTime="15"> <SourceCommand> <RK7Command2 CMD="GetRefData" RefName="EventList"/> </SourceCommand> <RK7Reference DataVersion="3" Name="EVENTLIST"> <Items> <Item Ident="1000282" GUIDString="{8F611272-83CD-43B3-8AFF-B58C47956083}" Code="1" Name="SH5 price import"/> </Items> </RK7Reference> </CommandResult> </RK7QueryResult> |