StarterTemplate

<back to all web services

ListMatchRequest

To override the Content-type in your clients HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: mm.unet.unity3d.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: ListMatchRequest

<?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>

<ListMatchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnityEngine.Networking.Match">
  <accessTokenString>String</accessTokenString>
  <appId>Invalid</appId>
  <domain>0</domain>
  <projectId>String</projectId>
  <sourceId>Invalid</sourceId>
  <version>0</version>
  <containsLocation>false</containsLocation>
  <eloScore>0</eloScore>
  <filterOutPrivateMatches>false</filterOutPrivateMatches>
  <includePasswordMatches>false</includePasswordMatches>
  <latitude>0</latitude>
  <longitude>0</longitude>
  <nameFilter>String</nameFilter>
  <pageNum>0</pageNum>
  <pageSize>0</pageSize>
</ListMatchRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<ListMatchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnityEngine.Networking.Match">
  <matches>
    <MatchDesc>
      <averageEloScore>0</averageEloScore>
      <currentSize>0</currentSize>
      <directConnectInfos>
        <MatchDirectConnectInfo>
          <hostPriority>Invalid</hostPriority>
          <nodeId>Invalid</nodeId>
          <privateAddress>String</privateAddress>
          <publicAddress>String</publicAddress>
        </MatchDirectConnectInfo>
      </directConnectInfos>
      <hostNodeId>Invalid</hostNodeId>
      <isPrivate>false</isPrivate>
      <maxSize>0</maxSize>
      <name>String</name>
      <networkId>Invalid</networkId>
    </MatchDesc>
  </matches>
</ListMatchResponse>

    </soap:Body>
</soap:Envelope>