GET api/Season/GetSeason?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ServiceResultOfSeason
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

SuccessMessage

string

None.

Result

Season

None.

StatusCode

HttpStatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "SuccessMessage": "sample string 3",
  "Result": {
    "Name": "sample string 1",
    "SeasonStatus": 0,
    "Afdeling": 0,
    "ImageUrl": "sample string 2",
    "SeasonImage": {
      "Id": 1,
      "Guid": "d937e112-052f-4985-bea4-afe12b9826ea",
      "RawImage": "QEA=",
      "FileType": "sample string 2",
      "FileName": "sample string 3",
      "Ratio": 4.1,
      "UploadedDate": "2019-10-15T05:48:49.0650844+02:00",
      "ImageUrl": "sample string 6",
      "Afdeling": 0,
      "Type": 0,
      "Title": "sample string 7",
      "Description": "sample string 8",
      "FrontText": "sample string 9",
      "FrontTextColor": "sample string 10",
      "FrontBackgroundColor": "sample string 11",
      "ShowOnFrontPage": true
    },
    "TrainingItems": [
      {
        "TeamName": "sample string 1",
        "TrainingTime": "sample string 2",
        "Trainer": "sample string 3",
        "TrainingDay": "sample string 4",
        "Afdeling": 0,
        "Court": "sample string 5",
        "Note": "sample string 6",
        "Year": "sample string 7",
        "ContactInfo": "sample string 8",
        "SeasonId": 1,
        "SortId": 9,
        "Id": 10,
        "Created": "2019-10-15T05:48:49.0650844+02:00",
        "CreatedBy": "sample string 11",
        "Modified": "2019-10-15T05:48:49.0650844+02:00",
        "ModifiedBy": "sample string 12"
      },
      {
        "TeamName": "sample string 1",
        "TrainingTime": "sample string 2",
        "Trainer": "sample string 3",
        "TrainingDay": "sample string 4",
        "Afdeling": 0,
        "Court": "sample string 5",
        "Note": "sample string 6",
        "Year": "sample string 7",
        "ContactInfo": "sample string 8",
        "SeasonId": 1,
        "SortId": 9,
        "Id": 10,
        "Created": "2019-10-15T05:48:49.0650844+02:00",
        "CreatedBy": "sample string 11",
        "Modified": "2019-10-15T05:48:49.0650844+02:00",
        "ModifiedBy": "sample string 12"
      }
    ],
    "Id": 3,
    "Created": "2019-10-15T05:48:49.0650844+02:00",
    "CreatedBy": "sample string 4",
    "Modified": "2019-10-15T05:48:49.0650844+02:00",
    "ModifiedBy": "sample string 5"
  },
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<ServiceResultOfSeasonYgFqSxnr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>
    <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:49.0650844+02:00</Created>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 4</CreatedBy>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">3</Id>
    <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:49.0650844+02:00</Modified>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 5</ModifiedBy>
    <Afdeling>Håndbold</Afdeling>
    <ImageUrl>sample string 2</ImageUrl>
    <Name>sample string 1</Name>
    <SeasonImage>
      <Afdeling>Håndbold</Afdeling>
      <Description>sample string 8</Description>
      <FileName>sample string 3</FileName>
      <FileType>sample string 2</FileType>
      <FrontBackgroundColor>sample string 11</FrontBackgroundColor>
      <FrontText>sample string 9</FrontText>
      <FrontTextColor>sample string 10</FrontTextColor>
      <Guid>d937e112-052f-4985-bea4-afe12b9826ea</Guid>
      <Id>1</Id>
      <ImageUrl>sample string 6</ImageUrl>
      <Ratio>4.1</Ratio>
      <RawImage>QEA=</RawImage>
      <ShowOnFrontPage>true</ShowOnFrontPage>
      <Title>sample string 7</Title>
      <Type>News</Type>
      <UploadedDate>2019-10-15T05:48:49.0650844+02:00</UploadedDate>
    </SeasonImage>
    <SeasonStatus>Aktiv</SeasonStatus>
    <TrainingItems>
      <TrainingItem>
        <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:49.0650844+02:00</Created>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 11</CreatedBy>
        <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">10</Id>
        <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:49.0650844+02:00</Modified>
        <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 12</ModifiedBy>
        <Afdeling>Håndbold</Afdeling>
        <ContactInfo>sample string 8</ContactInfo>
        <Court>sample string 5</Court>
        <Note>sample string 6</Note>
        <SeasonId>1</SeasonId>
        <SortId>9</SortId>
        <TeamName>sample string 1</TeamName>
        <Trainer>sample string 3</Trainer>
        <TrainingDay>sample string 4</TrainingDay>
        <TrainingTime>sample string 2</TrainingTime>
        <Year>sample string 7</Year>
      </TrainingItem>
      <TrainingItem>
        <Created xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:49.0650844+02:00</Created>
        <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 11</CreatedBy>
        <Id xmlns="http://schemas.datacontract.org/2004/07/Model.Base">10</Id>
        <Modified xmlns="http://schemas.datacontract.org/2004/07/Model.Base">2019-10-15T05:48:49.0650844+02:00</Modified>
        <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Model.Base">sample string 12</ModifiedBy>
        <Afdeling>Håndbold</Afdeling>
        <ContactInfo>sample string 8</ContactInfo>
        <Court>sample string 5</Court>
        <Note>sample string 6</Note>
        <SeasonId>1</SeasonId>
        <SortId>9</SortId>
        <TeamName>sample string 1</TeamName>
        <Trainer>sample string 3</Trainer>
        <TrainingDay>sample string 4</TrainingDay>
        <TrainingTime>sample string 2</TrainingTime>
        <Year>sample string 7</Year>
      </TrainingItem>
    </TrainingItems>
  </Result>
  <StatusCode>Continue</StatusCode>
  <Success>true</Success>
  <SuccessMessage>sample string 3</SuccessMessage>
</ServiceResultOfSeasonYgFqSxnr>