We have setup a Connected Service in C# to our WSE endpoint, I remember from previous work with Acumatica that to access a Generic Inquiry we need to utilize the Put request. I am trying this on the InventorySummaryInquiry to get the list of locations available for an item but am getting an error saying the select, filter, expand and custom fields need to be supplied, if I attempt to supply values for each of these then it fails because I am not able to determine exactly what should be supplied for expand or custom.
Should I be using something else here?
InventorySummaryInquiry inquiryData = await inquiryClient.PutEntityAsync(new InventorySummaryInquiry() { InventoryID = new StringValue() { Value = e.RequestData.ItemName }, ExpandByLotSerialNbr = new BooleanValue() { Value = true } }, "", "", "", "");
The data specified in the request is invalid.
Status: 400
Response:
{"message":"The request is invalid.","modelState":{"$select.String":g"A value is required but was not present in the request."],"$filter.String":g"A value is required but was not present in the request."],"$expand.String":g"A value is required but was not present in the request."],"$custom.String":g"A value is required but was not present in the request."]}}