GET api/Activity

Returns all the possible activities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Activity
NameDescriptionTypeAdditional information
Name

string

None.

Ordinal

integer

None.

Id

integer

None.

LastUpdatedTimestamp

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "Ordinal": 1,
    "Id": 2,
    "LastUpdatedTimestamp": "2018-11-15T06:27:36.613373+00:00"
  },
  {
    "Name": "sample string 1",
    "Ordinal": 1,
    "Id": 2,
    "LastUpdatedTimestamp": "2018-11-15T06:27:36.613373+00:00"
  }
]

text/xml

Sample:
<ArrayOfActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models">
  <Activity>
    <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2</Id>
    <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-15T06:27:36.613373+00:00</LastUpdatedTimestamp>
    <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal>
    <Name>sample string 1</Name>
  </Activity>
  <Activity>
    <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2</Id>
    <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-15T06:27:36.613373+00:00</LastUpdatedTimestamp>
    <Ordinal xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">1</Ordinal>
    <Name>sample string 1</Name>
  </Activity>
</ArrayOfActivity>