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
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetTask
    {
        
    }

    public static class GetTaskResponse extends ArrayList<Task>
    {
        
    }

    public static class Task
    {
        /**
        * Async task ID
        */
        @ApiMember(Description="Async task ID", IsRequired=true)
        public UUID asyncTaskId = null;

        /**
        * Type of requested async task, e.g 'stock', 'sellout', 'crm'
        */
        @ApiMember(Description="Type of requested async task, e.g 'stock', 'sellout', 'crm'", IsRequired=true)
        public String type = null;

        /**
        * Async task creation date
        */
        @ApiMember(Description="Async task creation date", IsRequired=true)
        public String requestDate = null;

        /**
        * Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR'
        */
        @ApiMember(Description="Status of requested async task, e.g 'REQ', 'INP', 'COM', 'ERR'", IsRequired=true)
        public String status = null;

        /**
        * Percentage of completion
        */
        @ApiMember(Description="Percentage of completion", IsRequired=true)
        public Integer percentage = null;

        /**
        * Brand Trigram
        */
        @ApiMember(Description="Brand Trigram", IsRequired=true)
        public String brand = null;

        /**
        * Download url of created files
        */
        @ApiMember(Description="Download url of created files")
        public String downloadUrl = null;

        /**
        * Presigned expiring download url
        */
        @ApiMember(Description="Presigned expiring download url")
        public String signedDownloadUrl = null;

        /**
        * Total count of operations
        */
        @ApiMember(Description="Total count of operations")
        public Integer totalResults = null;

        /**
        * Count of successful operations
        */
        @ApiMember(Description="Count of successful operations")
        public Integer totalSucceeded = null;

        /**
        * Count of failed operations
        */
        @ApiMember(Description="Count of failed operations")
        public Integer totalFailed = null;
        
        public UUID getAsyncTaskId() { return asyncTaskId; }
        public Task setAsyncTaskId(UUID value) { this.asyncTaskId = value; return this; }
        public String getType() { return type; }
        public Task setType(String value) { this.type = value; return this; }
        public String getRequestDate() { return requestDate; }
        public Task setRequestDate(String value) { this.requestDate = value; return this; }
        public String getStatus() { return status; }
        public Task setStatus(String value) { this.status = value; return this; }
        public Integer getPercentage() { return percentage; }
        public Task setPercentage(Integer value) { this.percentage = value; return this; }
        public String getBrand() { return brand; }
        public Task setBrand(String value) { this.brand = value; return this; }
        public String getDownloadUrl() { return downloadUrl; }
        public Task setDownloadUrl(String value) { this.downloadUrl = value; return this; }
        public String getSignedDownloadUrl() { return signedDownloadUrl; }
        public Task setSignedDownloadUrl(String value) { this.signedDownloadUrl = value; return this; }
        public Integer getTotalResults() { return totalResults; }
        public Task setTotalResults(Integer value) { this.totalResults = value; return this; }
        public Integer getTotalSucceeded() { return totalSucceeded; }
        public Task setTotalSucceeded(Integer value) { this.totalSucceeded = value; return this; }
        public Integer getTotalFailed() { return totalFailed; }
        public Task setTotalFailed(Integer value) { this.totalFailed = value; return this; }
    }

}

Java GetTask DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[]