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
The method FulFillmentInboundServicev20240320.ListDeliveryWindowOptionsAsync is returning the rows, however, all the date fields return null. When I test the same request in postman it returns the dates fields with values.
The field "DeliveryWindowOptionId" is also null
See image
The text was updated successfully, but these errors were encountered:
So I tested creating a different model where the dates are of type 'string', I had to inherith the 'FulFillmentInboundServicev20240320' service in order to copy the method and make use of my modified model, and it worked!
So the problem seems to be this line:
var response = await RequestClient.ExecuteAsync(Request, cancellationToken);
where RequestClient is unable to parse the date string in the fields "startDate", "endDate", "validUntil", and that also affects "DeliveryWindowOptionId" somehow. This is an example of the format in the fields: "2024-10-25T00:00Z" that is causing problems to be converted to DateTime? I believe.
So I appreciate any help fixing that, to avoid having to keep my inherited service
So I tested creating a different model where the dates are of type 'string', I had to inherith the 'FulFillmentInboundServicev20240320' service in order to copy the method and make use of my modified model, and it worked! So the problem seems to be this line:
var response = await RequestClient.ExecuteAsync(Request, cancellationToken);
where RequestClient is unable to parse the date string in the fields "startDate", "endDate", "validUntil", and that also affects "DeliveryWindowOptionId" somehow. This is an example of the format in the fields: "2024-10-25T00:00Z" that is causing problems to be converted to DateTime? I believe.
So I appreciate any help fixing that, to avoid having to keep my inherited service
Hi! This error is already fixed. The fix was waiting for approving and now it is approved.
The method FulFillmentInboundServicev20240320.ListDeliveryWindowOptionsAsync is returning the rows, however, all the date fields return null. When I test the same request in postman it returns the dates fields with values.
The field "DeliveryWindowOptionId" is also null
See image
The text was updated successfully, but these errors were encountered: