Forum Discussion

rohanw24's avatar
rohanw24
Brass Contributor
Aug 16, 2021

ReST API Task Duration field contains unknown unit t

Hello Everyone,

 

I'm trying to make a GET request for fetching all tasks for a particular project. But the task Duration field in an XML response I received contains unknown unit 't' instead of 'h' (hours). In the Project Online, it is in hours. 

 

I'm making a ReST API request through a C# application.

Please note that I've also tried the same in the browser but the result is same.

Does anyone has any idea about this issue?

 

Thanks & Regards,

Rohan

  • Issue has been solved. Machine locale was different. So sent "Accept-Language" http header along with GET request.
  • rohanw24's avatar
    rohanw24
    Brass Contributor
    Issue has been solved. Machine locale was different. So sent "Accept-Language" http header along with GET request.