GET api/batchapi/witness/{batchId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
batchId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Dictionary of integer [key] and WitnessObject [value]

Response Formats

application/json, text/json

Sample:
{
  "1": null,
  "2": null
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'BeMicronAPI.Controllers.API.WitnessObject' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'BeMicronAPI.Controllers.API.WitnessObject' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.