TicketUserServices

<back to all web services

RemoveOwnerCardTypeConnectionsRequest

Requires Authentication
Requires any of the roles:Admin, TeamAdminRequired permission:WriteData
The following routes are available for this service:
POST/ownerCardTypes/connections/remove
import Foundation
import ServiceStack

public class RemoveOwnerCardTypeConnectionsRequest : Codable
{
    public var ownerId:Int?
    public var ownerCardTypeId:Int?
    public var seriesId:Int?

    required public init(){}
}

public class RemoveOwnerCardTypeConnectionsResult : Codable
{
    public var removedCount:Int?
    public var remainingActiveConnections:Int?
    public var statusCode:Int?
    public var message:String?

    required public init(){}
}


Swift RemoveOwnerCardTypeConnectionsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"ownerId":0,"ownerCardTypeId":0,"seriesId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"removedCount":0,"remainingActiveConnections":0,"statusCode":0,"message":"String"}