| Requires any of the roles: | Admin, TeamAdmin | Required permission: | WriteData |
| POST | /ownerCardTypes/connections/remove |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using TicketUserServices.ServiceModel;
namespace TicketUserServices.ServiceModel
{
public partial class RemoveOwnerCardTypeConnectionsRequest
{
public virtual int OwnerId { get; set; }
public virtual int OwnerCardTypeId { get; set; }
public virtual int SeriesId { get; set; }
}
public partial class RemoveOwnerCardTypeConnectionsResult
{
public virtual int RemovedCount { get; set; }
public virtual int RemainingActiveConnections { get; set; }
public virtual int StatusCode { get; set; }
public virtual string Message { get; set; }
}
}
C# RemoveOwnerCardTypeConnectionsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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"}