ExpendituresHoursDepartmentSumRequest

GET {{base_url}}/ExpenditureSummaryDepartmentProfitSplitVisualizationRequest?JobId={{integer}}

Retrieves a list of the total expenditures hours on a department based on a given identifier of a job.

API
Expenditure API

Requires Authentication
Yes

Returns
List [ExpendituresHoursDepartmentSum]

Batch?
No

Request Params

KeyDatatypeRequiredDescription
JobIdstringRequired.
(int32)
The identifier of the associated Job.
NOTE: For information about the Job object, see Job.
FromstringOptional.
(date-time)
The date and time stamp from which the expenditures hours department sum request is active.
EndstringOptional.
(date-time)
The date and time stamp for when the expenditures hours department sum request will end.

HEADERS

KeyDatatypeRequiredDescription
AcceptstringRequired.
The type of content accepted by the API endpoint.
Content-TypestringRequired.
The type of content supported by the API endpoint.

RESPONSES

status: OK

[{"Id":2147483601,"CompanyInitial":"BBA","EmployeeId":36197,"DepartmentName":"Awesome guys12","DepartmentId":74,"RegisteredHours":19,"CurrencyCode":"DKK","CostTotal":38000,"SaleTotal":38000},{"Id":2147483601,"CompanyInitial":"BBA","EmployeeId":40894,"DepartmentName":"Awesome guys12","DepartmentId":74,"RegisteredHours":26,"CurrencyCode":"DKK","CostTotal":0,"SaleTotal":59200},{"Id":2147483601,"CompanyInitial":"BBA","EmployeeId":19861,"DepartmentName":"_ans2","DepartmentId":469,"RegisteredHours":3,"CurrencyCode":"DKK","CostTotal":450,"SaleTotal":6000}]