| Requires any of the roles: | Admin, TeamAdmin | Required permission: | WriteData |
| POST | /ownerCardTypes/connections/remove |
|---|
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 RemoveOwnerCardTypeConnectionsResult:
removed_count: Optional[int] = None
remaining_active_connections: Optional[int] = None
status_code: Optional[int] = None
message: Optional[str] = None
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class RemoveOwnerCardTypeConnectionsRequest:
owner_id: Optional[int] = None
owner_card_type_id: Optional[int] = None
series_id: Optional[int] = None
Python RemoveOwnerCardTypeConnectionsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ownerCardTypes/connections/remove HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ownerId: 0,
ownerCardTypeId: 0,
seriesId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
removedCount: 0,
remainingActiveConnections: 0,
statusCode: 0,
message: String
}