digitaluapi

<back to all web services

AvatarsLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/avatars
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class AvatarsLookup
    {
        @DataMember(Order=2)
        public Integer TenantsId = null;

        @DataMember(Order=3)
        public String Name = null;

        @DataMember(Order=4)
        public String Gender = null;

        @DataMember(Order=5)
        public String AgeGroup = null;

        @DataMember(Order=6)
        public String Style = null;

        @DataMember(Order=7)
        public String ImageUrl = null;

        @DataMember(Order=8)
        public String EthnicGroup = null;
        
        public Integer getTenantsId() { return TenantsId; }
        public AvatarsLookup setTenantsId(Integer value) { this.TenantsId = value; return this; }
        public String getName() { return Name; }
        public AvatarsLookup setName(String value) { this.Name = value; return this; }
        public String getGender() { return Gender; }
        public AvatarsLookup setGender(String value) { this.Gender = value; return this; }
        public String getAgeGroup() { return AgeGroup; }
        public AvatarsLookup setAgeGroup(String value) { this.AgeGroup = value; return this; }
        public String getStyle() { return Style; }
        public AvatarsLookup setStyle(String value) { this.Style = value; return this; }
        public String getImageUrl() { return ImageUrl; }
        public AvatarsLookup setImageUrl(String value) { this.ImageUrl = value; return this; }
        public String getEthnicGroup() { return EthnicGroup; }
        public AvatarsLookup setEthnicGroup(String value) { this.EthnicGroup = value; return this; }
    }

}

Java AvatarsLookup 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 /avatars HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[{"TenantsId":0,"Name":"String","Gender":"String","AgeGroup":"String","Style":"String","ImageUrl":"String","EthnicGroup":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]