GameRunning


Click here for a complete list of operations.

ShowHideGame

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
PlayerID:
GameID:
cardown:

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 /GameRunning.asmx HTTP/1.1
Host: 956937.kyjqn.asia
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.slapcom.com/ShowHideGame"

<?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>
    <ShowHideGame xmlns="http://www.slapcom.com/">
      <PlayerID>string</PlayerID>
      <GameID>string</GameID>
      <cardown>string</cardown>
    </ShowHideGame>
  </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>
    <ShowHideGameResponse xmlns="http://www.slapcom.com/">
      <ShowHideGameResult>
        <PlayerTime>dateTime</PlayerTime>
        <GameID>string</GameID>
        <CityID>string</CityID>
        <PlayerID_Play>string</PlayerID_Play>
        <PlayerTimeInterval>double</PlayerTimeInterval>
        <GameLoopLR>int</GameLoopLR>
        <PlayerStep>int</PlayerStep>
        <players>
          <MyPlayer>
            <PlayerID>string</PlayerID>
            <PlayerName>string</PlayerName>
            <Cards xsi:nil="true" />
            <Status>int</Status>
            <SitPosition>int</SitPosition>
            <ConLast>dateTime</ConLast>
            <isBorned>boolean</isBorned>
            <point>int</point>
            <chip>int</chip>
            <isFristPlay>boolean</isFristPlay>
            <DiscardNo>int</DiscardNo>
            <isKickExit>boolean</isKickExit>
            <autoDiscard>int</autoDiscard>
            <ActionsChips xsi:nil="true" />
            <ChatMessages xsi:nil="true" />
            <MessageID_Count>long</MessageID_Count>
            <LastUpdateData>string</LastUpdateData>
          </MyPlayer>
          <MyPlayer>
            <PlayerID>string</PlayerID>
            <PlayerName>string</PlayerName>
            <Cards xsi:nil="true" />
            <Status>int</Status>
            <SitPosition>int</SitPosition>
            <ConLast>dateTime</ConLast>
            <isBorned>boolean</isBorned>
            <point>int</point>
            <chip>int</chip>
            <isFristPlay>boolean</isFristPlay>
            <DiscardNo>int</DiscardNo>
            <isKickExit>boolean</isKickExit>
            <autoDiscard>int</autoDiscard>
            <ActionsChips xsi:nil="true" />
            <ChatMessages xsi:nil="true" />
            <MessageID_Count>long</MessageID_Count>
            <LastUpdateData>string</LastUpdateData>
          </MyPlayer>
        </players>
        <HideCards>
          <int>int</int>
          <int>int</int>
        </HideCards>
        <ShowCards>
          <int>int</int>
          <int>int</int>
        </ShowCards>
        <HeaderCard>int</HeaderCard>
        <GameStatus>string</GameStatus>
        <CardBornAll>
          <MyCardBorn>
            <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
            <CardBorns xsi:nil="true" />
          </MyCardBorn>
          <MyCardBorn>
            <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
            <CardBorns xsi:nil="true" />
          </MyCardBorn>
        </CardBornAll>
        <isLastPlay>boolean</isLastPlay>
        <CanNgo>boolean</CanNgo>
        <PlayActionAll>
          <PlayActionChip>
            <PlayActionChipID>string</PlayActionChipID>
            <PlayActionName>string</PlayActionName>
            <PlayActionisBorned>boolean</PlayActionisBorned>
            <PlayPlayerID>string</PlayPlayerID>
            <PlayPlayerSit>int</PlayPlayerSit>
            <PlayActionisPlus>boolean</PlayActionisPlus>
          </PlayActionChip>
          <PlayActionChip>
            <PlayActionChipID>string</PlayActionChipID>
            <PlayActionName>string</PlayActionName>
            <PlayActionisBorned>boolean</PlayActionisBorned>
            <PlayPlayerID>string</PlayPlayerID>
            <PlayPlayerSit>int</PlayPlayerSit>
            <PlayActionisPlus>boolean</PlayActionisPlus>
          </PlayActionChip>
        </PlayActionAll>
        <LastUpdateData>string</LastUpdateData>
        <isPrivate>boolean</isPrivate>
        <isReady>boolean</isReady>
        <PrivateOwner_PlayerID>string</PrivateOwner_PlayerID>
        <isPrivateOpenPublic>boolean</isPrivateOpenPublic>
      </ShowHideGameResult>
    </ShowHideGameResponse>
  </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 /GameRunning.asmx HTTP/1.1
Host: 956937.kyjqn.asia
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>
    <ShowHideGame xmlns="http://www.slapcom.com/">
      <PlayerID>string</PlayerID>
      <GameID>string</GameID>
      <cardown>string</cardown>
    </ShowHideGame>
  </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>
    <ShowHideGameResponse xmlns="http://www.slapcom.com/">
      <ShowHideGameResult>
        <PlayerTime>dateTime</PlayerTime>
        <GameID>string</GameID>
        <CityID>string</CityID>
        <PlayerID_Play>string</PlayerID_Play>
        <PlayerTimeInterval>double</PlayerTimeInterval>
        <GameLoopLR>int</GameLoopLR>
        <PlayerStep>int</PlayerStep>
        <players>
          <MyPlayer>
            <PlayerID>string</PlayerID>
            <PlayerName>string</PlayerName>
            <Cards xsi:nil="true" />
            <Status>int</Status>
            <SitPosition>int</SitPosition>
            <ConLast>dateTime</ConLast>
            <isBorned>boolean</isBorned>
            <point>int</point>
            <chip>int</chip>
            <isFristPlay>boolean</isFristPlay>
            <DiscardNo>int</DiscardNo>
            <isKickExit>boolean</isKickExit>
            <autoDiscard>int</autoDiscard>
            <ActionsChips xsi:nil="true" />
            <ChatMessages xsi:nil="true" />
            <MessageID_Count>long</MessageID_Count>
            <LastUpdateData>string</LastUpdateData>
          </MyPlayer>
          <MyPlayer>
            <PlayerID>string</PlayerID>
            <PlayerName>string</PlayerName>
            <Cards xsi:nil="true" />
            <Status>int</Status>
            <SitPosition>int</SitPosition>
            <ConLast>dateTime</ConLast>
            <isBorned>boolean</isBorned>
            <point>int</point>
            <chip>int</chip>
            <isFristPlay>boolean</isFristPlay>
            <DiscardNo>int</DiscardNo>
            <isKickExit>boolean</isKickExit>
            <autoDiscard>int</autoDiscard>
            <ActionsChips xsi:nil="true" />
            <ChatMessages xsi:nil="true" />
            <MessageID_Count>long</MessageID_Count>
            <LastUpdateData>string</LastUpdateData>
          </MyPlayer>
        </players>
        <HideCards>
          <int>int</int>
          <int>int</int>
        </HideCards>
        <ShowCards>
          <int>int</int>
          <int>int</int>
        </ShowCards>
        <HeaderCard>int</HeaderCard>
        <GameStatus>string</GameStatus>
        <CardBornAll>
          <MyCardBorn>
            <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
            <CardBorns xsi:nil="true" />
          </MyCardBorn>
          <MyCardBorn>
            <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
            <CardBorns xsi:nil="true" />
          </MyCardBorn>
        </CardBornAll>
        <isLastPlay>boolean</isLastPlay>
        <CanNgo>boolean</CanNgo>
        <PlayActionAll>
          <PlayActionChip>
            <PlayActionChipID>string</PlayActionChipID>
            <PlayActionName>string</PlayActionName>
            <PlayActionisBorned>boolean</PlayActionisBorned>
            <PlayPlayerID>string</PlayPlayerID>
            <PlayPlayerSit>int</PlayPlayerSit>
            <PlayActionisPlus>boolean</PlayActionisPlus>
          </PlayActionChip>
          <PlayActionChip>
            <PlayActionChipID>string</PlayActionChipID>
            <PlayActionName>string</PlayActionName>
            <PlayActionisBorned>boolean</PlayActionisBorned>
            <PlayPlayerID>string</PlayPlayerID>
            <PlayPlayerSit>int</PlayPlayerSit>
            <PlayActionisPlus>boolean</PlayActionisPlus>
          </PlayActionChip>
        </PlayActionAll>
        <LastUpdateData>string</LastUpdateData>
        <isPrivate>boolean</isPrivate>
        <isReady>boolean</isReady>
        <PrivateOwner_PlayerID>string</PrivateOwner_PlayerID>
        <isPrivateOpenPublic>boolean</isPrivateOpenPublic>
      </ShowHideGameResult>
    </ShowHideGameResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /GameRunning.asmx/ShowHideGame?PlayerID=string&GameID=string&cardown=string HTTP/1.1
Host: 956937.kyjqn.asia
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<MyGameRunning xmlns="http://www.slapcom.com/">
  <PlayerTime>dateTime</PlayerTime>
  <GameID>string</GameID>
  <CityID>string</CityID>
  <PlayerID_Play>string</PlayerID_Play>
  <PlayerTimeInterval>double</PlayerTimeInterval>
  <GameLoopLR>int</GameLoopLR>
  <PlayerStep>int</PlayerStep>
  <players>
    <MyPlayer>
      <PlayerID>string</PlayerID>
      <PlayerName>string</PlayerName>
      <Cards>
        <int>int</int>
        <int>int</int>
      </Cards>
      <Status>int</Status>
      <SitPosition>int</SitPosition>
      <ConLast>dateTime</ConLast>
      <isBorned>boolean</isBorned>
      <point>int</point>
      <chip>int</chip>
      <isFristPlay>boolean</isFristPlay>
      <DiscardNo>int</DiscardNo>
      <isKickExit>boolean</isKickExit>
      <autoDiscard>int</autoDiscard>
      <ActionsChips>
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ActionsChips>
      <ChatMessages>
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChatMessages>
      <MessageID_Count>long</MessageID_Count>
      <LastUpdateData>string</LastUpdateData>
    </MyPlayer>
    <MyPlayer>
      <PlayerID>string</PlayerID>
      <PlayerName>string</PlayerName>
      <Cards>
        <int>int</int>
        <int>int</int>
      </Cards>
      <Status>int</Status>
      <SitPosition>int</SitPosition>
      <ConLast>dateTime</ConLast>
      <isBorned>boolean</isBorned>
      <point>int</point>
      <chip>int</chip>
      <isFristPlay>boolean</isFristPlay>
      <DiscardNo>int</DiscardNo>
      <isKickExit>boolean</isKickExit>
      <autoDiscard>int</autoDiscard>
      <ActionsChips>
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ActionsChips>
      <ChatMessages>
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChatMessages>
      <MessageID_Count>long</MessageID_Count>
      <LastUpdateData>string</LastUpdateData>
    </MyPlayer>
  </players>
  <HideCards>
    <int>int</int>
    <int>int</int>
  </HideCards>
  <ShowCards>
    <int>int</int>
    <int>int</int>
  </ShowCards>
  <HeaderCard>int</HeaderCard>
  <GameStatus>string</GameStatus>
  <CardBornAll>
    <MyCardBorn>
      <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
      <CardBorns>
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CardBorns>
    </MyCardBorn>
    <MyCardBorn>
      <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
      <CardBorns>
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CardBorns>
    </MyCardBorn>
  </CardBornAll>
  <isLastPlay>boolean</isLastPlay>
  <CanNgo>boolean</CanNgo>
  <PlayActionAll>
    <PlayActionChip>
      <PlayActionChipID>string</PlayActionChipID>
      <PlayActionName>string</PlayActionName>
      <PlayActionisBorned>boolean</PlayActionisBorned>
      <PlayPlayerID>string</PlayPlayerID>
      <PlayPlayerSit>int</PlayPlayerSit>
      <PlayActionisPlus>boolean</PlayActionisPlus>
    </PlayActionChip>
    <PlayActionChip>
      <PlayActionChipID>string</PlayActionChipID>
      <PlayActionName>string</PlayActionName>
      <PlayActionisBorned>boolean</PlayActionisBorned>
      <PlayPlayerID>string</PlayPlayerID>
      <PlayPlayerSit>int</PlayPlayerSit>
      <PlayActionisPlus>boolean</PlayActionisPlus>
    </PlayActionChip>
  </PlayActionAll>
  <LastUpdateData>string</LastUpdateData>
  <isPrivate>boolean</isPrivate>
  <isReady>boolean</isReady>
  <PrivateOwner_PlayerID>string</PrivateOwner_PlayerID>
  <isPrivateOpenPublic>boolean</isPrivateOpenPublic>
</MyGameRunning>

HTTP POST

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

POST /GameRunning.asmx/ShowHideGame HTTP/1.1
Host: 956937.kyjqn.asia
Content-Type: application/x-www-form-urlencoded
Content-Length: length

PlayerID=string&GameID=string&cardown=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<MyGameRunning xmlns="http://www.slapcom.com/">
  <PlayerTime>dateTime</PlayerTime>
  <GameID>string</GameID>
  <CityID>string</CityID>
  <PlayerID_Play>string</PlayerID_Play>
  <PlayerTimeInterval>double</PlayerTimeInterval>
  <GameLoopLR>int</GameLoopLR>
  <PlayerStep>int</PlayerStep>
  <players>
    <MyPlayer>
      <PlayerID>string</PlayerID>
      <PlayerName>string</PlayerName>
      <Cards>
        <int>int</int>
        <int>int</int>
      </Cards>
      <Status>int</Status>
      <SitPosition>int</SitPosition>
      <ConLast>dateTime</ConLast>
      <isBorned>boolean</isBorned>
      <point>int</point>
      <chip>int</chip>
      <isFristPlay>boolean</isFristPlay>
      <DiscardNo>int</DiscardNo>
      <isKickExit>boolean</isKickExit>
      <autoDiscard>int</autoDiscard>
      <ActionsChips>
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ActionsChips>
      <ChatMessages>
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChatMessages>
      <MessageID_Count>long</MessageID_Count>
      <LastUpdateData>string</LastUpdateData>
    </MyPlayer>
    <MyPlayer>
      <PlayerID>string</PlayerID>
      <PlayerName>string</PlayerName>
      <Cards>
        <int>int</int>
        <int>int</int>
      </Cards>
      <Status>int</Status>
      <SitPosition>int</SitPosition>
      <ConLast>dateTime</ConLast>
      <isBorned>boolean</isBorned>
      <point>int</point>
      <chip>int</chip>
      <isFristPlay>boolean</isFristPlay>
      <DiscardNo>int</DiscardNo>
      <isKickExit>boolean</isKickExit>
      <autoDiscard>int</autoDiscard>
      <ActionsChips>
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActionChip d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ActionsChips>
      <ChatMessages>
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ChatMessage d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChatMessages>
      <MessageID_Count>long</MessageID_Count>
      <LastUpdateData>string</LastUpdateData>
    </MyPlayer>
  </players>
  <HideCards>
    <int>int</int>
    <int>int</int>
  </HideCards>
  <ShowCards>
    <int>int</int>
    <int>int</int>
  </ShowCards>
  <HeaderCard>int</HeaderCard>
  <GameStatus>string</GameStatus>
  <CardBornAll>
    <MyCardBorn>
      <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
      <CardBorns>
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CardBorns>
    </MyCardBorn>
    <MyCardBorn>
      <PlayerID_MyCardBorn>string</PlayerID_MyCardBorn>
      <CardBorns>
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <CardBorn d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </CardBorns>
    </MyCardBorn>
  </CardBornAll>
  <isLastPlay>boolean</isLastPlay>
  <CanNgo>boolean</CanNgo>
  <PlayActionAll>
    <PlayActionChip>
      <PlayActionChipID>string</PlayActionChipID>
      <PlayActionName>string</PlayActionName>
      <PlayActionisBorned>boolean</PlayActionisBorned>
      <PlayPlayerID>string</PlayPlayerID>
      <PlayPlayerSit>int</PlayPlayerSit>
      <PlayActionisPlus>boolean</PlayActionisPlus>
    </PlayActionChip>
    <PlayActionChip>
      <PlayActionChipID>string</PlayActionChipID>
      <PlayActionName>string</PlayActionName>
      <PlayActionisBorned>boolean</PlayActionisBorned>
      <PlayPlayerID>string</PlayPlayerID>
      <PlayPlayerSit>int</PlayPlayerSit>
      <PlayActionisPlus>boolean</PlayActionisPlus>
    </PlayActionChip>
  </PlayActionAll>
  <LastUpdateData>string</LastUpdateData>
  <isPrivate>boolean</isPrivate>
  <isReady>boolean</isReady>
  <PrivateOwner_PlayerID>string</PrivateOwner_PlayerID>
  <isPrivateOpenPublic>boolean</isPrivateOpenPublic>
</MyGameRunning>