POST api/dading/activeDadings

Get multiple person's active Dadings

Request Information

URI Parameters

None.

Body Parameters

BatchGetActiveDadingsBinder
NameDescriptionTypeAdditional information
ProjectBaseId

integer

None.

PersonIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectBaseId": 1,
  "PersonIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<BatchGetActiveDadingsBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <PersonIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </PersonIds>
  <ProjectBaseId>1</ProjectBaseId>
</BatchGetActiveDadingsBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get multiple person's active Dadings

API_Data_IEnumerableOfActiveDadingsOfEmployee
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of ActiveDadingsOfEmployee

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "PersonId": 1,
      "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": "2024-12-21 15:09:33",
          "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": "2024-12-21 15:09:33",
          "Duration": "sample string 11"
        }
      ]
    },
    {
      "PersonId": 1,
      "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": "2024-12-21 15:09:33",
          "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": "2024-12-21 15:09:33",
          "Duration": "sample string 11"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfActiveDadingsOfEmployee 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:ActiveDadingsOfEmployee>
      <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>2024-12-21T19:09:33.9576769-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>2024-12-21T19:09:33.9576769-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:PersonId>1</d2p1:PersonId>
    </d2p1:ActiveDadingsOfEmployee>
    <d2p1:ActiveDadingsOfEmployee>
      <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>2024-12-21T19:09:33.9576769-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>2024-12-21T19:09:33.9576769-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:PersonId>1</d2p1:PersonId>
    </d2p1:ActiveDadingsOfEmployee>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfActiveDadingsOfEmployee>