MBMicrositeFooterService

<back to all web services

MicrositeDataRequest

The following routes are available for this service:
GET/links/
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports MBMicrositeFooterService.ServiceModel
Imports MBMicrositeFooterService.DataLib.Model

Namespace Global

    Namespace MBMicrositeFooterService.DataLib.Model

        Public Partial Class LinkData
            Public Overridable Property LinkID As Integer
            Public Overridable Property LinkText As String
            Public Overridable Property LinkUrl As String
        End Class
    End Namespace

    Namespace MBMicrositeFooterService.ServiceModel

        Public Partial Class MicrositeDataRequest
        End Class

        Public Partial Class MicrositeDataResponse
            Public Overridable Property linkData As List(Of LinkData)
            Public Overridable Property Status As Response
        End Class

        Public Partial Class Response
            Public Overridable Property Code As String
            Public Overridable Property Message As String
        End Class
    End Namespace
End Namespace

VB.NET MicrositeDataRequest DTOs

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

HTTP + OTHER

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

GET /links/ HTTP/1.1 
Host: webservices.mbukdatabase.co.uk 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"linkData":[{"LinkID":0,"LinkText":"String","LinkUrl":"String"}],"Status":{"Code":"String","Message":"String"}}