DELETE | /api/applications/{id} | Delete an Application |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Hmx.Accounts.ServiceModels;
namespace Hmx.Accounts.ServiceModels
{
public partial class DeleteApplication
{
public virtual string Id { get; set; }
}
public partial class DeleteApplicationResponse
{
public virtual string Message { get; set; }
public virtual HttpStatusCode Status { get; set; }
}
}
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 /api/applications/{id} HTTP/1.1 Host: accounts.dev.healthmonix.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { message: String, status: Continue }