Closed hillsydev closed 1 year ago
When executing the following call, an empty collection is being returned:
RestAPI rest = new RestAPI(_wooCommUrl, _consumerKey, _secretKey); WCObject wc = new WCObject(rest); var systemStatusResult = await wc.SystemStatus.GetAll(null);
There is no error being thrown, only systemStatusResult showing a count of 0.
I've tested the same v3 endpoint in Postman and get a complete system status JSON payload returned as expected.
Not sure if this is something that i'm doing incorrectly or a problem somewhere else. Ideally, I would just like to get the environment information.
I will have to use a raw GET call as a workaround for this one.
You need to use the Get extension method.
When executing the following call, an empty collection is being returned:
There is no error being thrown, only systemStatusResult showing a count of 0.
I've tested the same v3 endpoint in Postman and get a complete system status JSON payload returned as expected.
Not sure if this is something that i'm doing incorrectly or a problem somewhere else. Ideally, I would just like to get the environment information.
I will have to use a raw GET call as a workaround for this one.