GET api/Barcodes/ById/{id}

Get Barcode by Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id for Barcode

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Returns a Barcode

Barcode
NameDescriptionTypeAdditional information
Id

GUID Id for Barcode. Assigned by system on Create. [REQUIRED]

globally unique identifier

None.

Type

The type of Barcode. Assigned by system on Create. [NULLABLE]

integer

None.

Code

The code for the Barcode. Assigned by system on Create [NULL]

string

None.

Deleted

Indicates whether the barcode has been deleted or not. [REQUIRED]

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "9fc19b7a-a804-4d03-9f5f-38e83f0f9f9c",
  "Type": 1,
  "Code": "sample string 2",
  "Deleted": true
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'FaceOffers.Entities.UniqueOffer' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'FaceOffers.Entities.UniqueOffer' contains cycles and cannot be serialized if reference tracking is disabled.