| All Verbs | /SetContainerDimension/ |
|---|
import 'package:servicestack/servicestack.dart';
class SetContainerDimension implements IConvertible
{
/**
* Container Code
*/
// @ApiMember(Description="Container Code", IsRequired=true)
String? ContainerCode;
/**
* Dimension X
*/
// @ApiMember(Description="Dimension X", IsRequired=true)
String? DimensionX;
/**
* Dimension Y
*/
// @ApiMember(Description="Dimension Y", IsRequired=true)
String? DimensionY;
/**
* Dimension Z
*/
// @ApiMember(Description="Dimension Z", IsRequired=true)
String? DimensionZ;
SetContainerDimension({this.ContainerCode,this.DimensionX,this.DimensionY,this.DimensionZ});
SetContainerDimension.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ContainerCode = json['ContainerCode'];
DimensionX = json['DimensionX'];
DimensionY = json['DimensionY'];
DimensionZ = json['DimensionZ'];
return this;
}
Map<String, dynamic> toJson() => {
'ContainerCode': ContainerCode,
'DimensionX': DimensionX,
'DimensionY': DimensionY,
'DimensionZ': DimensionZ
};
getTypeName() => "SetContainerDimension";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'clouddemo.pickeos.com', types: <String, TypeInfo> {
'SetContainerDimension': TypeInfo(TypeOf.Class, create:() => SetContainerDimension()),
});
Dart SetContainerDimension DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SetContainerDimension/ HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ContainerCode: String,
DimensionX: String,
DimensionY: String,
DimensionZ: String
}