Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
GET POST | /ksiFixture/{Id} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetKSIFixture
{
public Integer id = null;
public Integer getId() { return id; }
public GetKSIFixture setId(Integer value) { this.id = value; return this; }
}
public static class ksiMirrorForTickets
{
public Integer ksiGameID = null;
public Date ksiGameDateTime = null;
public Integer ksiTeamHomeID = null;
public String ksiTeamHomeName = null;
public Integer ksiTeamAwayID = null;
public String ksiTeamAwayName = null;
public String ksiStadiumName = null;
public Integer ksiCompetitionID = null;
public Integer ksiGroupId = null;
public Integer ksiGenderId = null;
public String ksiSkyrslaStada = null;
public String externalIdType = null;
public Integer getKsiGameID() { return ksiGameID; }
public ksiMirrorForTickets setKsiGameID(Integer value) { this.ksiGameID = value; return this; }
public Date getKsiGameDateTime() { return ksiGameDateTime; }
public ksiMirrorForTickets setKsiGameDateTime(Date value) { this.ksiGameDateTime = value; return this; }
public Integer getKsiTeamHomeID() { return ksiTeamHomeID; }
public ksiMirrorForTickets setKsiTeamHomeID(Integer value) { this.ksiTeamHomeID = value; return this; }
public String getKsiTeamHomeName() { return ksiTeamHomeName; }
public ksiMirrorForTickets setKsiTeamHomeName(String value) { this.ksiTeamHomeName = value; return this; }
public Integer getKsiTeamAwayID() { return ksiTeamAwayID; }
public ksiMirrorForTickets setKsiTeamAwayID(Integer value) { this.ksiTeamAwayID = value; return this; }
public String getKsiTeamAwayName() { return ksiTeamAwayName; }
public ksiMirrorForTickets setKsiTeamAwayName(String value) { this.ksiTeamAwayName = value; return this; }
public String getKsiStadiumName() { return ksiStadiumName; }
public ksiMirrorForTickets setKsiStadiumName(String value) { this.ksiStadiumName = value; return this; }
public Integer getKsiCompetitionID() { return ksiCompetitionID; }
public ksiMirrorForTickets setKsiCompetitionID(Integer value) { this.ksiCompetitionID = value; return this; }
public Integer getKsiGroupId() { return ksiGroupId; }
public ksiMirrorForTickets setKsiGroupId(Integer value) { this.ksiGroupId = value; return this; }
public Integer getKsiGenderId() { return ksiGenderId; }
public ksiMirrorForTickets setKsiGenderId(Integer value) { this.ksiGenderId = value; return this; }
public String getKsiSkyrslaStada() { return ksiSkyrslaStada; }
public ksiMirrorForTickets setKsiSkyrslaStada(String value) { this.ksiSkyrslaStada = value; return this; }
public String getExternalIdType() { return externalIdType; }
public ksiMirrorForTickets setExternalIdType(String value) { this.externalIdType = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ksiFixture/{Id} HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<GetKSIFixture xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel">
<Id>0</Id>
</GetKSIFixture>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ksiMirrorForTickets xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TicketUserServices.ServiceModel.Types"> <ExternalIdType>String</ExternalIdType> <ksiCompetitionID>0</ksiCompetitionID> <ksiGameDateTime>0001-01-01T00:00:00</ksiGameDateTime> <ksiGameID>0</ksiGameID> <ksiGenderId>0</ksiGenderId> <ksiGroupId>0</ksiGroupId> <ksiSkyrslaStada>String</ksiSkyrslaStada> <ksiStadiumName>String</ksiStadiumName> <ksiTeamAwayID>0</ksiTeamAwayID> <ksiTeamAwayName>String</ksiTeamAwayName> <ksiTeamHomeID>0</ksiTeamHomeID> <ksiTeamHomeName>String</ksiTeamHomeName> </ksiMirrorForTickets>