POST barcode/AddBarcode

Request Information

URI Parameters

None.

Body Parameters

Barcode
NameDescriptionTypeAdditional information
BarcodeID

integer

None.

UniqueIdentifier

string

None.

BarcodeNumber

string

None.

BarcodeDescription

string

None.

CompanyID

integer

None.

FolderID

integer

None.

CreatedUserID

integer

None.

CreatedDate

date

None.

Folder

Folder

None.

BarcodeTypeID

integer

None.

FileSize

integer

None.

BarcodeType

BarcodeType

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Models.Role'. Path 'Folder.Files[0].Roles[0].Controllers[0].Roles'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Models.Role'. Path 'Folder.Files[0].Roles[0].Controllers[0].Roles'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected with type 'Models.Role'. Path 'Folder.Files[0].Roles[0].Controllers[0].Roles'.

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 'Models.File' 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 'Models.File' 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

Barcode
NameDescriptionTypeAdditional information
BarcodeID

integer

None.

UniqueIdentifier

string

None.

BarcodeNumber

string

None.

BarcodeDescription

string

None.

CompanyID

integer

None.

FolderID

integer

None.

CreatedUserID

integer

None.

CreatedDate

date

None.

Folder

Folder

None.

BarcodeTypeID

integer

None.

FileSize

integer

None.

BarcodeType

BarcodeType

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Models.Role'. Path 'Folder.Files[0].Roles[0].Controllers[0].Roles'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Models.Role'. Path 'Folder.Files[0].Roles[0].Controllers[0].Roles'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected with type 'Models.Role'. Path 'Folder.Files[0].Roles[0].Controllers[0].Roles'.

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 'Models.File' 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 'Models.File' contains cycles and cannot be serialized if reference tracking is disabled.