| All Verbs | /TriOnItemScanned |
|---|
import 'package:servicestack/servicestack.dart';
class TriOnItemScanned implements IConvertible
{
/**
* Article/Reference/GTIN barcode
*/
// @ApiMember(Description="Article/Reference/GTIN barcode", IsRequired=true)
String? BarcodeValue;
/**
* Rack name
*/
// @ApiMember(Description="Rack name", IsRequired=true)
String? RackName;
/**
* User id
*/
// @ApiMember(Description="User id", IsRequired=true)
String? UserId;
/**
* Item label
*/
// @ApiMember(Description="Item label")
String? Label;
TriOnItemScanned({this.BarcodeValue,this.RackName,this.UserId,this.Label});
TriOnItemScanned.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
BarcodeValue = json['BarcodeValue'];
RackName = json['RackName'];
UserId = json['UserId'];
Label = json['Label'];
return this;
}
Map<String, dynamic> toJson() => {
'BarcodeValue': BarcodeValue,
'RackName': RackName,
'UserId': UserId,
'Label': Label
};
getTypeName() => "TriOnItemScanned";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'TriOnItemScanned': TypeInfo(TypeOf.Class, create:() => TriOnItemScanned()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /TriOnItemScanned HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"BarcodeValue":"String","RackName":"String","UserId":"String","Label":"String"}