IBulkRequestItem Interface
Represents a single item within a IBulkRequest. Each item carries the route and query-string parameters for one logical request, and an optional per-item request body for endpoints that accept one.
public interface IBulkRequestItemProperties
Section titled “Properties”IBulkRequestItem.Body Property
Section titled “IBulkRequestItem.Body Property”An optional per-item request body, used when the target endpoint accepts a typed request body
(e.g. for POST or PUT actions annotated with
BulkHandlerAttribute<THandler,TBody,TResult>).
null when the target action does not require a body.
System.Nullable<System.Text.Json.JsonElement> Body { get; }Property Value
Section titled “Property Value”System.Nullable<System.Text.Json.JsonElement>
IBulkRequestItem.Identifier Property
Section titled “IBulkRequestItem.Identifier Property”An optional correlation identifier for this item. When provided, the same value is echoed back in the corresponding response item.
string? Identifier { get; }Property Value
Section titled “Property Value”IBulkRequestItem.Parameters Property
Section titled “IBulkRequestItem.Parameters Property”Route and query-string parameters for this item.
The keys must match the placeholder names used in the bulk request’s endpoint template.
System.Collections.Generic.IReadOnlyDictionary<string,string>? Parameters { get; }Property Value
Section titled “Property Value”System.Collections.Generic.IReadOnlyDictionary<System.String,System.String>