Richemont.Booster2.PublicApi

<back to all web services

GetTask

Requires Authentication
The following routes are available for this service:
GET/tasksGet tasks of authorized user
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Richemont.Booster2.PublicApi.NightlyProcess.ServiceModel

Namespace Global

    Namespace Richemont.Booster2.PublicApi.NightlyProcess.ServiceModel

        Public Partial Class GetTask
        End Class

        Public Partial Class GetTaskResponse
            Inherits List(Of Task)
        End Class

        Public Partial Class Task
            '''<Summary>
            '''Async task ID
            '''</Summary>
            <ApiMember(Description:="Async task ID", IsRequired:=true)>
            Public Overridable Property asyncTaskId As Guid

            '''<Summary>
            '''Type of requested async task, e.g 'stock', 'sellout', 'crm'
            '''</Summary>
            <ApiMember(Description:="Type of requested async task, e.g 'stock', 'sellout', 'crm'", IsRequired:=true)>
            Public Overridable Property type As String

            '''<Summary>
            '''Async task creation date
            '''</Summary>
            <ApiMember(Description:="Async task creation date", IsRequired:=true)>
            Public Overridable Property requestDate As String

            '''<Summary>
            '''Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR'
            '''</Summary>
            <ApiMember(Description:="Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR'", IsRequired:=true)>
            Public Overridable Property status As String

            '''<Summary>
            '''Percentage of completion
            '''</Summary>
            <ApiMember(Description:="Percentage of completion", IsRequired:=true)>
            Public Overridable Property percentage As Integer

            '''<Summary>
            '''Brand Trigram
            '''</Summary>
            <ApiMember(Description:="Brand Trigram", IsRequired:=true)>
            Public Overridable Property brand As String

            '''<Summary>
            '''Download url of created files
            '''</Summary>
            <ApiMember(Description:="Download url of created files")>
            Public Overridable Property downloadUrl As String

            '''<Summary>
            '''Presigned expiring download url
            '''</Summary>
            <ApiMember(Description:="Presigned expiring download url")>
            Public Overridable Property signedDownloadUrl As String

            '''<Summary>
            '''Total count of operations
            '''</Summary>
            <ApiMember(Description:="Total count of operations")>
            Public Overridable Property totalResults As Nullable(Of Integer)

            '''<Summary>
            '''Count of successful operations
            '''</Summary>
            <ApiMember(Description:="Count of successful operations")>
            Public Overridable Property totalSucceeded As Nullable(Of Integer)

            '''<Summary>
            '''Count of failed operations
            '''</Summary>
            <ApiMember(Description:="Count of failed operations")>
            Public Overridable Property totalFailed As Nullable(Of Integer)
        End Class
    End Namespace
End Namespace

VB.NET GetTask 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 /tasks HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[]