Skip to content

[Bug]: TimeInTransitDetails.EasyPostEstimatedDeliveryDate has incorrect JSON name mapping #505

@johnnyh-tactics

Description

@johnnyh-tactics

Software Version

5.4

Language Version

.NET Framework 4.8, Version 10.0.22621 Build 22621

Operating System

Microsoft Windows 11 Pro

What happened?

Hi,
This one seems like a straightforward misnaming. I am unable to get the RateWithEstimatedDeliveryDate.EasyPostTimeInTransitData.EasyPostEstimatedDeliveryDate value from the results of Client.Shipment.RetrieveEstimatedDeliveryDate(...) because the property is defined with the wrong JSON name mapping

    [JsonProperty("easypost_time_in_transit_data")]
    public string? EasyPostEstimatedDeliveryDate { get; set; }

What was expected?

Expected the property to be mapped to the JSON name "easypost_estimated_delivery_date" as described in the example response in the API docs.

Sample Code

[JsonProperty("easypost_estimated_delivery_date")]
public string? EasyPostEstimatedDeliveryDate { get; set; }

Relevant logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedIssue has been fixed in a releasetriageIssue is being researched

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions