BulkItemResponse Class
The per-item result streamed by the bulk endpoint: one instance per request item, carrying the item’s
correlation identifier and its individual HTTP status code. Serialized items speak the Result wire
dialect: a $successful type discriminator distinguishes BulkItemSuccess
(value) from BulkItemFailure (error).
public abstract class BulkItemResponseInheritance System.Object 🡒 BulkItemResponse
Derived
↳ BulkItemFailure
↳ BulkItemSuccess
Remarks
Section titled “Remarks”The discriminator name and values are shared with the serialization of Result<TValue> via ResultJsonSerialization, so clients can parse bulk items with the same logic they use for any streamed Result endpoint.
This is a public type on purpose: the per-item results are serialized through reflection by the configured JSON serializer, and public types keep their property metadata on obfuscated Release builds, whereas anonymous or internal types may lose it (see CONTRIBUTING, section 11.6).
Properties
Section titled “Properties”BulkItemResponse.Identifier Property
Section titled “BulkItemResponse.Identifier Property”The optional correlation identifier of the request item this result belongs to.
public string? Identifier { get; }Property Value
Section titled “Property Value”BulkItemResponse.Status Property
Section titled “BulkItemResponse.Status Property”The HTTP status code of this item’s individual operation.
public int Status { get; }