Software Version
7.7.2
Language Version
C# on .NET 8
Operating System
Windows 11
What happened?
- 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"
]
};
- Pass the object to
Client.Report.Create
- Download the report csv when it becomes available.
- 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.
Sample Code
Relevant logs
Software Version
7.7.2
Language Version
C# on .NET 8
Operating System
Windows 11
What happened?
Client.Report.CreateWhat 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.
Sample Code
Relevant logs