POST api/Reports/ExportToExcelWeeklyActualHrs

Request Information

URI Parameters

None.

Body Parameters

ExportAssignmentBO
NameDescriptionTypeAdditional information
ProjectId

integer

None.

TaskOwnerId

Collection of integer

None.

commasepartedTaskOwnerids

string

None.

FromDate

date

None.

ToDate

date

None.

TaskId

integer

None.

Billable

boolean

None.

SettingDateRange

boolean

None.

fileName

string

None.

IsZeroRowShow

boolean

None.

IsDifferencehourse

boolean

None.

AllArrays

Collection of ProjectAllArray

None.

ClientArray

Collection of ClientAllArray

None.

SubTaskId

integer

None.

ClinetID

integer

None.

pdftextboxvalue

string

None.

ExportType

boolean

None.

projectwise

string

None.

DepartmentID

integer

None.

ShowSubTask

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "TaskOwnerId": [
    1,
    2
  ],
  "commasepartedTaskOwnerids": "sample string 2",
  "FromDate": "2024-10-07T15:42:33.8552173+02:00",
  "ToDate": "2024-10-07T15:42:33.8552173+02:00",
  "TaskId": 3,
  "Billable": true,
  "SettingDateRange": true,
  "fileName": "sample string 4",
  "IsZeroRowShow": true,
  "IsDifferencehourse": true,
  "AllArrays": [
    {
      "ProjectIdAll": 1,
      "ProjectNameAll": "sample string 2",
      "ReferenceNumber": "sample string 3",
      "ClientID": 4
    },
    {
      "ProjectIdAll": 1,
      "ProjectNameAll": "sample string 2",
      "ReferenceNumber": "sample string 3",
      "ClientID": 4
    }
  ],
  "ClientArray": [
    {
      "ClientName": "sample string 1",
      "ID": 2
    },
    {
      "ClientName": "sample string 1",
      "ID": 2
    }
  ],
  "SubTaskId": 7,
  "ClinetID": 8,
  "pdftextboxvalue": "sample string 9",
  "ExportType": true,
  "projectwise": "sample string 11",
  "DepartmentID": 12,
  "ShowSubTask": true
}

application/xml, text/xml

Sample:
<ExportAssignmentBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DemoEFBO.Reports">
  <AllArrays>
    <ProjectAllArray>
      <ClientID>4</ClientID>
      <ProjectIdAll>1</ProjectIdAll>
      <ProjectNameAll>sample string 2</ProjectNameAll>
      <ReferenceNumber>sample string 3</ReferenceNumber>
    </ProjectAllArray>
    <ProjectAllArray>
      <ClientID>4</ClientID>
      <ProjectIdAll>1</ProjectIdAll>
      <ProjectNameAll>sample string 2</ProjectNameAll>
      <ReferenceNumber>sample string 3</ReferenceNumber>
    </ProjectAllArray>
  </AllArrays>
  <Billable>true</Billable>
  <ClientArray>
    <ClientAllArray>
      <ClientName>sample string 1</ClientName>
      <ID>2</ID>
    </ClientAllArray>
    <ClientAllArray>
      <ClientName>sample string 1</ClientName>
      <ID>2</ID>
    </ClientAllArray>
  </ClientArray>
  <ClinetID>8</ClinetID>
  <DepartmentID>12</DepartmentID>
  <ExportType>true</ExportType>
  <FromDate>2024-10-07T15:42:33.8552173+02:00</FromDate>
  <IsDifferencehourse>true</IsDifferencehourse>
  <IsZeroRowShow>true</IsZeroRowShow>
  <ProjectId>1</ProjectId>
  <SettingDateRange>true</SettingDateRange>
  <ShowSubTask>true</ShowSubTask>
  <SubTaskId>7</SubTaskId>
  <TaskId>3</TaskId>
  <TaskOwnerId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TaskOwnerId>
  <ToDate>2024-10-07T15:42:33.8552173+02:00</ToDate>
  <commasepartedTaskOwnerids>sample string 2</commasepartedTaskOwnerids>
  <fileName>sample string 4</fileName>
  <pdftextboxvalue>sample string 9</pdftextboxvalue>
  <projectwise>sample string 11</projectwise>
</ExportAssignmentBO>

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.