Go-to-Light Service 4.0.0.2397 - 121 - API License to Cloud Demo

<back to all web services

SetContainerDimension

Requires Authentication
The following routes are available for this service:
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 .other suffix or ?format=other

HTTP + OTHER

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/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ContainerCode":"String","DimensionX":"String","DimensionY":"String","DimensionZ":"String"}