GET api/MetroMobile/V2/GetActivities

Etkinlik Listesi

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResultOfActivity
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

Error

None.

Data

Collection of Activity

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "Id": 1,
    "Title": "sample string 2",
    "Message": "sample string 3",
    "Trace": "sample string 4",
    "HelpLink": "sample string 5",
    "Source": "sample string 6"
  },
  "Data": [
    {
      "Id": 1,
      "Title": "sample string 2",
      "Content": "sample string 3",
      "Photo": "sample string 4",
      "StartDate": "2021-10-27T12:21:02.3250031+03:00",
      "Language": "sample string 6",
      "Media": {
        "Video": "sample string 1",
        "Images": [
          "sample string 1",
          "sample string 2"
        ]
      }
    },
    {
      "Id": 1,
      "Title": "sample string 2",
      "Content": "sample string 3",
      "Photo": "sample string 4",
      "StartDate": "2021-10-27T12:21:02.3250031+03:00",
      "Language": "sample string 6",
      "Media": {
        "Video": "sample string 1",
        "Images": [
          "sample string 1",
          "sample string 2"
        ]
      }
    }
  ]
}

application/xml, text/xml

Sample:
<ResultOfActivityuns9C1Um xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MetroIstanbulMobileWEBAPI.Models">
  <Data>
    <Activity>
      <Content>sample string 3</Content>
      <Id>1</Id>
      <Language>sample string 6</Language>
      <Media>
        <Images xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Images>
        <Video>sample string 1</Video>
      </Media>
      <Photo>sample string 4</Photo>
      <StartDate>2021-10-27T12:21:02.3250031+03:00</StartDate>
      <Title>sample string 2</Title>
    </Activity>
    <Activity>
      <Content>sample string 3</Content>
      <Id>1</Id>
      <Language>sample string 6</Language>
      <Media>
        <Images xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Images>
        <Video>sample string 1</Video>
      </Media>
      <Photo>sample string 4</Photo>
      <StartDate>2021-10-27T12:21:02.3250031+03:00</StartDate>
      <Title>sample string 2</Title>
    </Activity>
  </Data>
  <Error>
    <HelpLink>sample string 5</HelpLink>
    <Id>1</Id>
    <Message>sample string 3</Message>
    <Source>sample string 6</Source>
    <Title>sample string 2</Title>
    <Trace>sample string 4</Trace>
  </Error>
  <Success>true</Success>
</ResultOfActivityuns9C1Um>