WS-RESTRICTED_API Host [RESTRICTED_API] : D5290-staging

<back to all web services

smsEnvoiTheMessage

SMS

Service d'envoi d'un sms transactionnel via SMS Envoi

Requires Authentication
The following routes are available for this service:
GET/smsenvoi_the_message/{the_message}SMS Envoi
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


# @Api(Description="Service d'envoi d'un sms transactionnel via SMS Envoi")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class smsEnvoiTheMessage:
    """
    Service d'envoi d'un sms transactionnel via SMS Envoi
    """

    # @ApiMember(Description="The Message", IsRequired=true, Name="the_message")
    the_message: Optional[str] = None
    """
    The Message
    """

Python smsEnvoiTheMessage 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /smsenvoi_the_message/{the_message} HTTP/1.1 
Host: milliet.io 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}