XfccBasic
Click here for a complete list of operations.
GetMyGames
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 /xfccbasic.asmx HTTP/1.1 Host: www.iccf.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.bennedik.com/webservices/XfccBasic/GetMyGames" <?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> <GetMyGames xmlns="http://www.bennedik.com/webservices/XfccBasic"> <username>string</username> <password>string</password> </GetMyGames> </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> <GetMyGamesResponse xmlns="http://www.bennedik.com/webservices/XfccBasic"> <GetMyGamesResult> <XfccGame> <id>int</id> <white>string</white> <black>string</black> <event>string</event> <site>string</site> <myTurn>boolean</myTurn> <hasWhite>boolean</hasWhite> <moves>string</moves> <drawOffered>boolean</drawOffered> <message>string</message> <whiteTitle>string</whiteTitle> <blackTitle>string</blackTitle> <whiteElo>int</whiteElo> <blackElo>int</blackElo> <whiteNA>string</whiteNA> <blackNA>string</blackNA> <eventSponsor>string</eventSponsor> <section>string</section> <stage>string</stage> <board>string</board> <timeControl>string</timeControl> <setup>boolean</setup> <fen>string</fen> <result>Ongoing or WhiteWins or BlackWins or Draw or WhiteWinAdjudicated or BlackWinAdjudicated or DrawAdjudicated or WhiteDefaulted or BlackDefaulted or BothDefaulted or Cancelled or AdjudicationPending</result> <variant>string</variant> <daysPlayer>int</daysPlayer> <hoursPlayer>int</hoursPlayer> <minutesPlayer>int</minutesPlayer> <daysOpponent>int</daysOpponent> <hoursOpponent>int</hoursOpponent> <minutesOpponent>int</minutesOpponent> <serverInfo>string</serverInfo> <gameLink>string</gameLink> <eventDate>string</eventDate> </XfccGame> <XfccGame> <id>int</id> <white>string</white> <black>string</black> <event>string</event> <site>string</site> <myTurn>boolean</myTurn> <hasWhite>boolean</hasWhite> <moves>string</moves> <drawOffered>boolean</drawOffered> <message>string</message> <whiteTitle>string</whiteTitle> <blackTitle>string</blackTitle> <whiteElo>int</whiteElo> <blackElo>int</blackElo> <whiteNA>string</whiteNA> <blackNA>string</blackNA> <eventSponsor>string</eventSponsor> <section>string</section> <stage>string</stage> <board>string</board> <timeControl>string</timeControl> <setup>boolean</setup> <fen>string</fen> <result>Ongoing or WhiteWins or BlackWins or Draw or WhiteWinAdjudicated or BlackWinAdjudicated or DrawAdjudicated or WhiteDefaulted or BlackDefaulted or BothDefaulted or Cancelled or AdjudicationPending</result> <variant>string</variant> <daysPlayer>int</daysPlayer> <hoursPlayer>int</hoursPlayer> <minutesPlayer>int</minutesPlayer> <daysOpponent>int</daysOpponent> <hoursOpponent>int</hoursOpponent> <minutesOpponent>int</minutesOpponent> <serverInfo>string</serverInfo> <gameLink>string</gameLink> <eventDate>string</eventDate> </XfccGame> </GetMyGamesResult> </GetMyGamesResponse> </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 /xfccbasic.asmx HTTP/1.1 Host: www.iccf.com 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> <GetMyGames xmlns="http://www.bennedik.com/webservices/XfccBasic"> <username>string</username> <password>string</password> </GetMyGames> </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> <GetMyGamesResponse xmlns="http://www.bennedik.com/webservices/XfccBasic"> <GetMyGamesResult> <XfccGame> <id>int</id> <white>string</white> <black>string</black> <event>string</event> <site>string</site> <myTurn>boolean</myTurn> <hasWhite>boolean</hasWhite> <moves>string</moves> <drawOffered>boolean</drawOffered> <message>string</message> <whiteTitle>string</whiteTitle> <blackTitle>string</blackTitle> <whiteElo>int</whiteElo> <blackElo>int</blackElo> <whiteNA>string</whiteNA> <blackNA>string</blackNA> <eventSponsor>string</eventSponsor> <section>string</section> <stage>string</stage> <board>string</board> <timeControl>string</timeControl> <setup>boolean</setup> <fen>string</fen> <result>Ongoing or WhiteWins or BlackWins or Draw or WhiteWinAdjudicated or BlackWinAdjudicated or DrawAdjudicated or WhiteDefaulted or BlackDefaulted or BothDefaulted or Cancelled or AdjudicationPending</result> <variant>string</variant> <daysPlayer>int</daysPlayer> <hoursPlayer>int</hoursPlayer> <minutesPlayer>int</minutesPlayer> <daysOpponent>int</daysOpponent> <hoursOpponent>int</hoursOpponent> <minutesOpponent>int</minutesOpponent> <serverInfo>string</serverInfo> <gameLink>string</gameLink> <eventDate>string</eventDate> </XfccGame> <XfccGame> <id>int</id> <white>string</white> <black>string</black> <event>string</event> <site>string</site> <myTurn>boolean</myTurn> <hasWhite>boolean</hasWhite> <moves>string</moves> <drawOffered>boolean</drawOffered> <message>string</message> <whiteTitle>string</whiteTitle> <blackTitle>string</blackTitle> <whiteElo>int</whiteElo> <blackElo>int</blackElo> <whiteNA>string</whiteNA> <blackNA>string</blackNA> <eventSponsor>string</eventSponsor> <section>string</section> <stage>string</stage> <board>string</board> <timeControl>string</timeControl> <setup>boolean</setup> <fen>string</fen> <result>Ongoing or WhiteWins or BlackWins or Draw or WhiteWinAdjudicated or BlackWinAdjudicated or DrawAdjudicated or WhiteDefaulted or BlackDefaulted or BothDefaulted or Cancelled or AdjudicationPending</result> <variant>string</variant> <daysPlayer>int</daysPlayer> <hoursPlayer>int</hoursPlayer> <minutesPlayer>int</minutesPlayer> <daysOpponent>int</daysOpponent> <hoursOpponent>int</hoursOpponent> <minutesOpponent>int</minutesOpponent> <serverInfo>string</serverInfo> <gameLink>string</gameLink> <eventDate>string</eventDate> </XfccGame> </GetMyGamesResult> </GetMyGamesResponse> </soap12:Body> </soap12:Envelope>