TicketUserServices

<back to all web services

OutboundProcessDueRequest

Requires Authentication
Required role:Admin
The following routes are available for this service:
POST/Outbound/ProcessDue
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 OutboundProcessDueResult:
    claimed: Optional[int] = None
    sent: Optional[int] = None
    retrying: Optional[int] = None
    dead: Optional[int] = None
    suppressed: Optional[int] = None
    expired: Optional[int] = None
    skipped: Optional[int] = None
    deferred: Optional[int] = None
    reclaimed: Optional[int] = None
    passes: Optional[int] = None
    elapsed_ms: Optional[int] = None
    status_code: Optional[int] = None
    message: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class OutboundProcessDueRequest:
    batch_size: Optional[int] = None

Python OutboundProcessDueRequest 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.

POST /Outbound/ProcessDue HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"batchSize":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"claimed":0,"sent":0,"retrying":0,"dead":0,"suppressed":0,"expired":0,"skipped":0,"deferred":0,"reclaimed":0,"passes":0,"elapsedMs":0,"statusCode":0,"message":"String"}