All Verbs | /current/{Key}/{TenantKey} |
---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports HarbourAssist.Api.MicroApp.Dtos.Requests
Imports HarbourAssist.Api.MicroApp.Domain
Namespace Global
Namespace HarbourAssist.Api.MicroApp.Domain
Public Partial Class MicroApp
Public Overridable Property Id As Long
Public Overridable Property Name As String
Public Overridable Property Key As String
Public Overridable Property Version As Integer
Public Overridable Property Current As Boolean
Public Overridable Property Production As Boolean
<Ignore>
Public Overridable Property ManifestUrl As String
<Ignore>
Public Overridable Property Url As String
End Class
End Namespace
Namespace HarbourAssist.Api.MicroApp.Dtos.Requests
Public Partial Class GetCurrentMicroAppRequest
Implements IHasTenantKey
Public Overridable Property Key As String
Public Overridable Property TenantKey As String
End Class
End Namespace
End Namespace
VB.NET GetCurrentMicroAppRequest 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 /current/{Key}/{TenantKey} HTTP/1.1
Host: apps.harbourassist.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"key":"String","tenantKey":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"id":0,"name":"String","key":"String","version":0,"current":false,"production":false,"manifestUrl":"String/manifest.json","url":"String"}