POST api/dading/dadingsOfOneDay
Get one person's dadings on the specified day
Request Information
URI Parameters
None.
Body Parameters
GetDadingsByDateBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectBaseId | integer |
None. |
|
PersonId | integer |
None. |
|
Day | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectBaseId": 1, "PersonId": 2, "Day": "2024-12-21 15:11:02" }
application/xml, text/xml
Sample:
<GetDadingsByDateBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <Day>2024-12-21T19:11:02.3363523-08:00</Day> <PersonId>2</PersonId> <ProjectBaseId>1</ProjectBaseId> </GetDadingsByDateBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get one person's dadings on the specified day
API_Data_IEnumerableOfClosedDadingName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of ClosedDading |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "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": "2024-12-21 15:11:02", "ReplyTime": "2024-12-21 15:11:02", "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": "2024-12-21 15:11:02", "ReplyTime": "2024-12-21 15:11:02", "ReplyBy": 12, "ReplyMessage": "sample string 13", "Duration": "sample string 14" } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfClosedDading 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: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>2024-12-21T19:11:02.3363523-08:00</d2p1:RRTime> <d2p1:ReplyBy>12</d2p1:ReplyBy> <d2p1:ReplyMessage>sample string 13</d2p1:ReplyMessage> <d2p1:ReplyTime>2024-12-21T19:11:02.3363523-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>2024-12-21T19:11:02.3363523-08:00</d2p1:RRTime> <d2p1:ReplyBy>12</d2p1:ReplyBy> <d2p1:ReplyMessage>sample string 13</d2p1:ReplyMessage> <d2p1:ReplyTime>2024-12-21T19:11:02.3363523-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> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfClosedDading>