AlbaApi

<back to all web services

PowensConnectionDeletedRequest

The following routes are available for this service:
POST/ext/powens/connection_deleted
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 PowensConnectionDeletedRequest:
    id: Optional[int] = None
    id_user: Optional[int] = None
    id_connector: Optional[int] = None
    last_update: Optional[datetime.datetime] = None
    created: Optional[datetime.datetime] = None
    active: Optional[bool] = None
    last_push: Optional[str] = None
    next_try: Optional[str] = None
    state: Optional[str] = None
    error: Optional[str] = None
    error_message: Optional[str] = None
    expire: Optional[str] = None
    id_provider: Optional[int] = None
    id_bank: Optional[int] = None
    connector_uuid: Optional[str] = None
    id_webhook_data: Optional[int] = None

Python PowensConnectionDeletedRequest 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 /ext/powens/connection_deleted HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"id":0,"id_user":0,"id_connector":0,"last_update":"0001-01-01T00:00:00.0000000","created":"0001-01-01T00:00:00.0000000","active":false,"last_push":"String","next_try":"String","state":"String","error":"String","error_message":"String","expire":"String","id_provider":0,"id_bank":0,"connector_uuid":"String","id_webhook_data":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"version":{"major":0,"minor":0,"build":-1,"revision":-1,"majorRevision":-1,"minorRevision":-1},"content":{"__type":"System.Net.Http.EmptyContent, System.Net.Http","headers":[]},"statusCode":"Continue","reasonPhrase":"String","headers":[],"trailingHeaders":[],"requestMessage":{"version":{"major":0,"minor":0,"build":-1,"revision":-1,"majorRevision":-1,"minorRevision":-1},"versionPolicy":"RequestVersionOrLower","method":{"method":"GET"},"headers":[],"properties":{},"options":{}},"isSuccessStatusCode":false}