| GET | /selloutFormConfigurations/{brand}/{posCode} | Get all available Sellout Form Configurations |
|---|
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 GetSelloutFormConfigurationsResponse:
# @ApiMember(Description="Requirement for sales representative field, e.g. M, V, N", IsRequired=true)
sales_rep: Optional[str] = None
"""
Requirement for sales representative field, e.g. M, V, N
"""
# @ApiMember(Description="Allow consignment transfer during sellout, e.g. M, V, N", IsRequired=true)
allow_consignment_transfer: Optional[str] = None
"""
Allow consignment transfer during sellout, e.g. M, V, N
"""
# @ApiMember(Description="Invoice Number will be generated automatically during sellout, e.g. M, V, N", IsRequired=true)
automatic_invoice_number: Optional[str] = None
"""
Invoice Number will be generated automatically during sellout, e.g. M, V, N
"""
# @ApiMember(Description="Allow consignment sellout return is stock, e.g. V, N", IsRequired=true)
allow_consignment_return_in_stock: Optional[str] = None
"""
Allow consignment sellout return is stock, e.g. V, N
"""
# @ApiMember(Description="Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N", IsRequired=true)
cpo_sale_declaration: Optional[str] = None
"""
Allow declare sellout and extend the warranty of certified pre-owned items, e.g. V, N
"""
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetSelloutFormConfigurations:
# @ApiMember(Description="Brand Triagram, e.g. CAR, IWC, VAC", IsRequired=true)
brand: Optional[str] = None
"""
Brand Triagram, e.g. CAR, IWC, VAC
"""
# @ApiMember(Description="Point of Sale Code, e.g. ES100:102048", IsRequired=true)
pos_code: Optional[str] = None
"""
Point of Sale Code, e.g. ES100:102048
"""
Python GetSelloutFormConfigurations DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /selloutFormConfigurations/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"salesRep":"String","allowConsignmentTransfer":"String","automaticInvoiceNumber":"String","allowConsignmentReturnInStock":"String","cpoSaleDeclaration":"String"}