POST api/Reports/GetAssignments

Request Information

URI Parameters

None.

Body Parameters

GetAssignmentBO
NameDescriptionTypeAdditional information
LoggedInUserId

Collection of integer

None.

ProjectId

integer

None.

SubTaskID

integer

None.

MainTaskID

integer

None.

FromDate

date

None.

ToDate

date

None.

IsApproved

boolean

None.

ClientID

integer

None.

DepartmentID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LoggedInUserId": [
    1,
    2
  ],
  "ProjectId": 1,
  "SubTaskID": 2,
  "MainTaskID": 3,
  "FromDate": "2024-10-07T15:35:13.149622+02:00",
  "ToDate": "2024-10-07T15:35:13.149622+02:00",
  "IsApproved": true,
  "ClientID": 4,
  "DepartmentID": 5
}

application/xml, text/xml

Sample:
<GetAssignmentBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DemoEFBO.Reports">
  <ClientID>4</ClientID>
  <DepartmentID>5</DepartmentID>
  <FromDate>2024-10-07T15:35:13.149622+02:00</FromDate>
  <IsApproved>true</IsApproved>
  <LoggedInUserId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LoggedInUserId>
  <MainTaskID>3</MainTaskID>
  <ProjectId>1</ProjectId>
  <SubTaskID>2</SubTaskID>
  <ToDate>2024-10-07T15:35:13.149622+02:00</ToDate>
</GetAssignmentBO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.