DigiOffice Gateway Web Services

<back to all web services

GetEntityThumbnail

Get the thumbnail of an entity.

Requires Authentication
The following routes are available for this service:
GET/api/entities/{EntityName}/{EntityID}/thumbnail
namespace IDB.API.DTO.General.Operations

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    ///<summary>
    ///Get the thumbnail of an entity.
    ///</summary>
    [<Api(Description="Get the thumbnail of an entity.")>]
    [<AllowNullLiteral>]
    type GetEntityThumbnail() = 
        ///<summary>
        ///ID of the entity
        ///</summary>
        [<ApiMember(Description="ID of the entity", IsRequired=true)>]
        member val EntityID:String = null with get,set

        ///<summary>
        ///Name of the entity
        ///</summary>
        [<ApiMember(Description="Name of the entity", IsRequired=true)>]
        member val EntityName:String = null with get,set

F# GetEntityThumbnail 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.

GET /api/entities/{EntityName}/{EntityID}/thumbnail HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(byte[])