DELETE | /members/{EmployeeGuid} |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports AlbaApi.ServiceModel
Imports AlbaApi.Model
Namespace Global
Namespace AlbaApi.Model
Public Partial Class Members
Public Overridable Property HomeUrl As String
Public Overridable Property Success As Boolean
Public Overridable Property IsPensionSight As Boolean
End Class
End Namespace
Namespace AlbaApi.ServiceModel
Public Partial Class MembersDelReq
Public Overridable Property EmployeeGuid As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /members/{EmployeeGuid} HTTP/1.1 Host: hcbtas-q-albamfs-api.azurewebsites.net Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <Members xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlbaApi.Model"> <HomeUrl>String</HomeUrl> <IsPensionSight>false</IsPensionSight> <Success>false</Success> </Members>