In my angular service , i am sending data to API controller as follow.
The only problem here is StudentIds
, value does not pass to the web API controller
. But i am able to get values for Date
and Status
. Only issue is with StudentIds as i am sending an array of StudentIds.
How i can resolve this issue?
$rootScope.$broadcast('download', _apiUrl + 'GetStudentReport', { date: date, status: status, StudentIds: StudentIds });
API Controller:
[HttpGet]
[Route("GetStudentReport")]
public HttpResponseMessage GetStudentReport(DateTime date, bool status, [FromUri] Guid[] StudentIds )
{
}