| Requires any of the roles: | Client, Admin, Partner |
| GET | /avatars |
|---|
// @DataContract
export class AvatarsLookup
{
// @DataMember(Order=2)
public TenantsId: number;
// @DataMember(Order=3)
public Name: string;
// @DataMember(Order=4)
public Gender: string;
// @DataMember(Order=5)
public AgeGroup: string;
// @DataMember(Order=6)
public Style: string;
// @DataMember(Order=7)
public ImageUrl: string;
// @DataMember(Order=8)
public EthnicGroup: string;
public constructor(init?: Partial<AvatarsLookup>) { (Object as any).assign(this, init); }
}
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
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: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}]