| All Verbs | /SetContainerDimension/ |
|---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class SetContainerDimension:
# @ApiMember(Description="Container Code", IsRequired=true)
container_code: Optional[str] = None
"""
Container Code
"""
# @ApiMember(Description="Dimension X", IsRequired=true)
dimension_x: Optional[str] = None
"""
Dimension X
"""
# @ApiMember(Description="Dimension Y", IsRequired=true)
dimension_y: Optional[str] = None
"""
Dimension Y
"""
# @ApiMember(Description="Dimension Z", IsRequired=true)
dimension_z: Optional[str] = None
"""
Dimension Z
"""
Python SetContainerDimension DTOs
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 /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"}