Community
Showing results for 
Search instead for 
Do you mean 
Reply

What is System.Object supposed to contain?

New Member
Posts: 2
Country: United_Kingdom

What is System.Object supposed to contain?

Referencing the Swagger API: https://actforweb.actops.com/act.web.api/swagger/docs/v1

 

There are a number of model fields that reference System.Object to hold their values. Yet System.Object is defined as having zero properties.

 

Of course, auto-generated clients fail as soon as they unpack data held by a field referencing System.Object as a type (as there is no valid constructor).

 

I've just manually adjusted our copy of this class to hold a String value and added a corresponding constructor - now ContactsApi and CompaniesApi work but could we get this fixed in the server API?

 

Thanks,

 

James