You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I define the method to return string, so I can see the raw JSON returned, it appears correct Task<string> GetAgentList([Body] GetAgentListReq req);
Returns JSON string that starts off like this:
But when I change it to Task<AgentList>, the result deserializes without error but the data value is null. My interface file and my console client app are attached. IDigicert.Automation.API.cs.zip Program.zip
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to capture the Digicert Automation API with a Refit
HttpClient Factory.
When I define the method to return string, so I can see the raw JSON returned, it appears correct
Task<string> GetAgentList([Body] GetAgentListReq req);
Returns JSON string that starts off like this:
But when I change it to
Task<AgentList>
, the result deserializes without error but thedata
value is null. My interface file and my console client app are attached.IDigicert.Automation.API.cs.zip
Program.zip
Beta Was this translation helpful? Give feedback.
All reactions