VisionMobile


Click here for a complete list of operations.

GetMachineGroups

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Api/Mobile/VisionMobile.asmx HTTP/1.1
Host: brfgranen.newsafe.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.rco.se/Api/Mobile/GetMachineGroups"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMachineGroups xmlns="http://www.rco.se/Api/Mobile">
      <loginGuid>string</loginGuid>
    </GetMachineGroups>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetMachineGroupsResponse xmlns="http://www.rco.se/Api/Mobile">
      <GetMachineGroupsResult>
        <SelectionObjectsAndObjectStatus>
          <Selection>
            <Number>int</Number>
            <Name>string</Name>
            <Type>int</Type>
            <FkConNr>int</FkConNr>
            <Units>string</Units>
            <Options>string</Options>
            <Owner>int</Owner>
            <Field1>string</Field1>
            <Field2>string</Field2>
            <Field3>string</Field3>
            <Field4>string</Field4>
            <Filed5>string</Filed5>
            <RaStamp>string</RaStamp>
            <RaSecurityField>string</RaSecurityField>
            <RaSystem>int</RaSystem>
            <AllocStatus>int</AllocStatus>
            <BookMaxObjects>int</BookMaxObjects>
            <BookMaxPeriods>int</BookMaxPeriods>
            <BookPrimary>int</BookPrimary>
            <BookMaxDays>int</BookMaxDays>
            <FkFolder>int</FkFolder>
            <RaSecurityGroups>string</RaSecurityGroups>
            <SymbolId>int</SymbolId>
          </Selection>
          <BookObjects>
            <BookableObjects xsi:nil="true" />
            <BookableObjects xsi:nil="true" />
          </BookObjects>
        </SelectionObjectsAndObjectStatus>
        <SelectionObjectsAndObjectStatus>
          <Selection>
            <Number>int</Number>
            <Name>string</Name>
            <Type>int</Type>
            <FkConNr>int</FkConNr>
            <Units>string</Units>
            <Options>string</Options>
            <Owner>int</Owner>
            <Field1>string</Field1>
            <Field2>string</Field2>
            <Field3>string</Field3>
            <Field4>string</Field4>
            <Filed5>string</Filed5>
            <RaStamp>string</RaStamp>
            <RaSecurityField>string</RaSecurityField>
            <RaSystem>int</RaSystem>
            <AllocStatus>int</AllocStatus>
            <BookMaxObjects>int</BookMaxObjects>
            <BookMaxPeriods>int</BookMaxPeriods>
            <BookPrimary>int</BookPrimary>
            <BookMaxDays>int</BookMaxDays>
            <FkFolder>int</FkFolder>
            <RaSecurityGroups>string</RaSecurityGroups>
            <SymbolId>int</SymbolId>
          </Selection>
          <BookObjects>
            <BookableObjects xsi:nil="true" />
            <BookableObjects xsi:nil="true" />
          </BookObjects>
        </SelectionObjectsAndObjectStatus>
      </GetMachineGroupsResult>
    </GetMachineGroupsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Api/Mobile/VisionMobile.asmx HTTP/1.1
Host: brfgranen.newsafe.se
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMachineGroups xmlns="http://www.rco.se/Api/Mobile">
      <loginGuid>string</loginGuid>
    </GetMachineGroups>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetMachineGroupsResponse xmlns="http://www.rco.se/Api/Mobile">
      <GetMachineGroupsResult>
        <SelectionObjectsAndObjectStatus>
          <Selection>
            <Number>int</Number>
            <Name>string</Name>
            <Type>int</Type>
            <FkConNr>int</FkConNr>
            <Units>string</Units>
            <Options>string</Options>
            <Owner>int</Owner>
            <Field1>string</Field1>
            <Field2>string</Field2>
            <Field3>string</Field3>
            <Field4>string</Field4>
            <Filed5>string</Filed5>
            <RaStamp>string</RaStamp>
            <RaSecurityField>string</RaSecurityField>
            <RaSystem>int</RaSystem>
            <AllocStatus>int</AllocStatus>
            <BookMaxObjects>int</BookMaxObjects>
            <BookMaxPeriods>int</BookMaxPeriods>
            <BookPrimary>int</BookPrimary>
            <BookMaxDays>int</BookMaxDays>
            <FkFolder>int</FkFolder>
            <RaSecurityGroups>string</RaSecurityGroups>
            <SymbolId>int</SymbolId>
          </Selection>
          <BookObjects>
            <BookableObjects xsi:nil="true" />
            <BookableObjects xsi:nil="true" />
          </BookObjects>
        </SelectionObjectsAndObjectStatus>
        <SelectionObjectsAndObjectStatus>
          <Selection>
            <Number>int</Number>
            <Name>string</Name>
            <Type>int</Type>
            <FkConNr>int</FkConNr>
            <Units>string</Units>
            <Options>string</Options>
            <Owner>int</Owner>
            <Field1>string</Field1>
            <Field2>string</Field2>
            <Field3>string</Field3>
            <Field4>string</Field4>
            <Filed5>string</Filed5>
            <RaStamp>string</RaStamp>
            <RaSecurityField>string</RaSecurityField>
            <RaSystem>int</RaSystem>
            <AllocStatus>int</AllocStatus>
            <BookMaxObjects>int</BookMaxObjects>
            <BookMaxPeriods>int</BookMaxPeriods>
            <BookPrimary>int</BookPrimary>
            <BookMaxDays>int</BookMaxDays>
            <FkFolder>int</FkFolder>
            <RaSecurityGroups>string</RaSecurityGroups>
            <SymbolId>int</SymbolId>
          </Selection>
          <BookObjects>
            <BookableObjects xsi:nil="true" />
            <BookableObjects xsi:nil="true" />
          </BookObjects>
        </SelectionObjectsAndObjectStatus>
      </GetMachineGroupsResult>
    </GetMachineGroupsResponse>
  </soap12:Body>
</soap12:Envelope>