PUT api/Barcodes

Update Barcode

Request Information

URI Parameters

None.

Body Parameters

The Barcode class

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.

Request Formats

application/json, text/json

Sample:
{
  "Id": "bef04672-5904-4060-8805-4154e142917e",
  "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.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Barcode'.

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": "b51dec27-9ba8-4cbe-98cb-77d2048df837",
  "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.