Skip to content

[Bug]: Can't request column carrier_account_id in report via the api #658

@kballardGbf

Description

@kballardGbf

Software Version

7.7.2

Language Version

C# on .NET 8

Operating System

Windows 11

What happened?

  1. Create an instance of EasyPost.Parameters.Report.Create with the following code:
        var filter = new EasyPost.Parameters.Report.Create() {
            Type = "shipment",
            StartDate = DateTime.UtcNow.AddDays(-7).ToString("yyyy-MM-dd"),
            EndDate = DateTime.UtcNow.ToString("yyyy-MM-dd"),
            Columns = [
                "id",
                "tracking_code",
                "status",
                "created_at",
                "updated_at",
                "length",
                "width",
                "height",
                "weight",
                "postage_label_created_at",
                "service",
                "carrier",
                "rate",
                "insured_value",
                "is_return",
                "refund_status",
                "reference",
                "label_fee",
                "postage_fee",
                "insurance_fee",
                "options",
                "carrier_account_id"
            ]
        };
  1. Pass the object to Client.Report.Create
  2. Download the report csv when it becomes available.
  3. Verify that the csv files does NOT contain the carrier_account_id column.

What was expected?

I was expecting the csv to include all of the columns in the list. When I generate a report from the Dashboard the carrier_account_id column is included if I select it.

Image

Sample Code

Relevant logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageIssue is being researched

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions