Valid value for TimeSpan property to post in web api? C#

Viewed 3393

I have a TimeSpan property

public TimeSpan Time { get; set; }

Currently using swagger to test API Trying to figure out what value value to pass here

"time": {},

Tried:

"time": {"01:01:01"},

"time": {"01:01"},

"time": "01:01:01",

"time": 01:01:01,

all returning 401 code

1 Answers
Related