GET api/dading/todayDadings?projectBaseId={projectBaseId}&personId={personId}

Get one person's active Dadings and closed Dadings on today.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectBaseId

integer

Required

personId

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Get one person's active Dadings and closed Dadings on today.

API_Data_TodayDading
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

TodayDading

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ActiveDadings": [
      {
        "ProjectBaseId": 1,
        "RRId": 2,
        "FromPersonId": 3,
        "FromPersonName": "sample string 4",
        "ToPersonId": 5,
        "ToPersonName": "sample string 6",
        "RequestLevel": 7,
        "RequestMessage": "sample string 8",
        "DateId": 9,
        "RRTime": "2020-11-30 14:05:44",
        "Duration": "sample string 11"
      },
      {
        "ProjectBaseId": 1,
        "RRId": 2,
        "FromPersonId": 3,
        "FromPersonName": "sample string 4",
        "ToPersonId": 5,
        "ToPersonName": "sample string 6",
        "RequestLevel": 7,
        "RequestMessage": "sample string 8",
        "DateId": 9,
        "RRTime": "2020-11-30 14:05:44",
        "Duration": "sample string 11"
      }
    ],
    "ClosedDadings": [
      {
        "ProjectBaseId": 1,
        "RRId": 2,
        "RRStatus": 3,
        "FromPersonId": 4,
        "FromPersonName": "sample string 5",
        "ToPersonId": 6,
        "ToPersonName": "sample string 7",
        "RequestLevel": 8,
        "RequestMessage": "sample string 9",
        "DateId": 10,
        "RRTime": "2020-11-30 14:05:44",
        "ReplyTime": "2020-11-30 14:05:44",
        "ReplyBy": 12,
        "ReplyMessage": "sample string 13",
        "Duration": "sample string 14"
      },
      {
        "ProjectBaseId": 1,
        "RRId": 2,
        "RRStatus": 3,
        "FromPersonId": 4,
        "FromPersonName": "sample string 5",
        "ToPersonId": 6,
        "ToPersonName": "sample string 7",
        "RequestLevel": 8,
        "RequestMessage": "sample string 9",
        "DateId": 10,
        "RRTime": "2020-11-30 14:05:44",
        "ReplyTime": "2020-11-30 14:05:44",
        "ReplyBy": 12,
        "ReplyMessage": "sample string 13",
        "Duration": "sample string 14"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<API_Data_TodayDading xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
    <d2p1:ActiveDadings>
      <d2p1:ActiveDading>
        <d2p1:DateId>9</d2p1:DateId>
        <d2p1:Duration>sample string 11</d2p1:Duration>
        <d2p1:FromPersonId>3</d2p1:FromPersonId>
        <d2p1:FromPersonName>sample string 4</d2p1:FromPersonName>
        <d2p1:ProjectBaseId>1</d2p1:ProjectBaseId>
        <d2p1:RRId>2</d2p1:RRId>
        <d2p1:RRTime>2020-11-30T14:05:44.2013322-08:00</d2p1:RRTime>
        <d2p1:RequestLevel>7</d2p1:RequestLevel>
        <d2p1:RequestMessage>sample string 8</d2p1:RequestMessage>
        <d2p1:ToPersonId>5</d2p1:ToPersonId>
        <d2p1:ToPersonName>sample string 6</d2p1:ToPersonName>
      </d2p1:ActiveDading>
      <d2p1:ActiveDading>
        <d2p1:DateId>9</d2p1:DateId>
        <d2p1:Duration>sample string 11</d2p1:Duration>
        <d2p1:FromPersonId>3</d2p1:FromPersonId>
        <d2p1:FromPersonName>sample string 4</d2p1:FromPersonName>
        <d2p1:ProjectBaseId>1</d2p1:ProjectBaseId>
        <d2p1:RRId>2</d2p1:RRId>
        <d2p1:RRTime>2020-11-30T14:05:44.2013322-08:00</d2p1:RRTime>
        <d2p1:RequestLevel>7</d2p1:RequestLevel>
        <d2p1:RequestMessage>sample string 8</d2p1:RequestMessage>
        <d2p1:ToPersonId>5</d2p1:ToPersonId>
        <d2p1:ToPersonName>sample string 6</d2p1:ToPersonName>
      </d2p1:ActiveDading>
    </d2p1:ActiveDadings>
    <d2p1:ClosedDadings>
      <d2p1:ClosedDading>
        <d2p1:DateId>10</d2p1:DateId>
        <d2p1:Duration>sample string 14</d2p1:Duration>
        <d2p1:FromPersonId>4</d2p1:FromPersonId>
        <d2p1:FromPersonName>sample string 5</d2p1:FromPersonName>
        <d2p1:ProjectBaseId>1</d2p1:ProjectBaseId>
        <d2p1:RRId>2</d2p1:RRId>
        <d2p1:RRStatus>3</d2p1:RRStatus>
        <d2p1:RRTime>2020-11-30T14:05:44.2013322-08:00</d2p1:RRTime>
        <d2p1:ReplyBy>12</d2p1:ReplyBy>
        <d2p1:ReplyMessage>sample string 13</d2p1:ReplyMessage>
        <d2p1:ReplyTime>2020-11-30T14:05:44.2013322-08:00</d2p1:ReplyTime>
        <d2p1:RequestLevel>8</d2p1:RequestLevel>
        <d2p1:RequestMessage>sample string 9</d2p1:RequestMessage>
        <d2p1:ToPersonId>6</d2p1:ToPersonId>
        <d2p1:ToPersonName>sample string 7</d2p1:ToPersonName>
      </d2p1:ClosedDading>
      <d2p1:ClosedDading>
        <d2p1:DateId>10</d2p1:DateId>
        <d2p1:Duration>sample string 14</d2p1:Duration>
        <d2p1:FromPersonId>4</d2p1:FromPersonId>
        <d2p1:FromPersonName>sample string 5</d2p1:FromPersonName>
        <d2p1:ProjectBaseId>1</d2p1:ProjectBaseId>
        <d2p1:RRId>2</d2p1:RRId>
        <d2p1:RRStatus>3</d2p1:RRStatus>
        <d2p1:RRTime>2020-11-30T14:05:44.2013322-08:00</d2p1:RRTime>
        <d2p1:ReplyBy>12</d2p1:ReplyBy>
        <d2p1:ReplyMessage>sample string 13</d2p1:ReplyMessage>
        <d2p1:ReplyTime>2020-11-30T14:05:44.2013322-08:00</d2p1:ReplyTime>
        <d2p1:RequestLevel>8</d2p1:RequestLevel>
        <d2p1:RequestMessage>sample string 9</d2p1:RequestMessage>
        <d2p1:ToPersonId>6</d2p1:ToPersonId>
        <d2p1:ToPersonName>sample string 7</d2p1:ToPersonName>
      </d2p1:ClosedDading>
    </d2p1:ClosedDadings>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_TodayDading>