POST api/Activity/GetListActivityByRange

Request Information

URI Parameters

None.

Body Parameters

RequestActivityModels
NameDescriptionTypeAdditional information
UserId

string

None.

Startdate

string

None.

Enddate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "Startdate": "sample string 2",
  "Enddate": "sample string 3"
}

application/xml, text/xml

Sample:
<InboxModels.RequestActivityModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.InboxModels">
  <Enddate>sample string 3</Enddate>
  <Startdate>sample string 2</Startdate>
  <UserId>sample string 1</UserId>
</InboxModels.RequestActivityModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfListOfActivityModels
NameDescriptionTypeAdditional information
Data

Collection of ActivityModels

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "Id": "sample string 1",
      "Title": "sample string 2",
      "Detail": "sample string 3",
      "ActivityStart": "sample string 4",
      "ActivityEnd": "sample string 5",
      "CreatedDate": "sample string 6"
    },
    {
      "Id": "sample string 1",
      "Title": "sample string 2",
      "Detail": "sample string 3",
      "ActivityStart": "sample string 4",
      "ActivityEnd": "sample string 5",
      "CreatedDate": "sample string 6"
    }
  ],
  "Status": true,
  "ErrorMessage": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ResultModelOfArrayOfInboxModels.ActivityModelsR1mmsPTN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.InboxModels">
    <d2p1:InboxModels.ActivityModels>
      <d2p1:ActivityEnd>sample string 5</d2p1:ActivityEnd>
      <d2p1:ActivityStart>sample string 4</d2p1:ActivityStart>
      <d2p1:CreatedDate>sample string 6</d2p1:CreatedDate>
      <d2p1:Detail>sample string 3</d2p1:Detail>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Title>sample string 2</d2p1:Title>
    </d2p1:InboxModels.ActivityModels>
    <d2p1:InboxModels.ActivityModels>
      <d2p1:ActivityEnd>sample string 5</d2p1:ActivityEnd>
      <d2p1:ActivityStart>sample string 4</d2p1:ActivityStart>
      <d2p1:CreatedDate>sample string 6</d2p1:CreatedDate>
      <d2p1:Detail>sample string 3</d2p1:Detail>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Title>sample string 2</d2p1:Title>
    </d2p1:InboxModels.ActivityModels>
  </Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Message>sample string 3</Message>
  <Status>true</Status>
</ResultModelOfArrayOfInboxModels.ActivityModelsR1mmsPTN>