| Requires the role: | Admin |
| DELETE | /EventExtraCost/{Id} |
|---|
import Foundation
import ServiceStack
public class EventExtraCostDeleteRequest : Codable
{
public var id:Int?
required public init(){}
}
public class SimpleStatusResult : Codable
{
public var statusCode:Int?
public var message:String?
required public init(){}
}
Swift EventExtraCostDeleteRequest 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.
DELETE /EventExtraCost/{Id} HTTP/1.1
Host: stubbur-app.azurewebsites.net
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
statusCode: 0,
message: String
}