Hmx Accounts

<back to all web services

DeletePurchaseOrder

The following routes are available for this service:
DELETE/api/purchaseorders/{id}Delete a PurchaseOrder
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 DeletePurchaseOrder
    {
        public virtual int Id { get; set; }
    }

    public partial class DeletePurchaseOrderResponse
    {
        public virtual string Message { get; set; }
        public virtual HttpStatusCode Status { get; set; }
    }

}

C# DeletePurchaseOrder DTOs

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

DELETE /api/purchaseorders/{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
}