| Requires any of the roles: | Client, Admin, Partner |
| PUT | /avatars/{Id} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | long | Yes | |
| TenantsId | body | int | Yes | |
| Name | body | string | Yes | |
| Gender | body | string | Yes | |
| AgeGroup | body | string | Yes | |
| Style | body | string | Yes | |
| ImageUrl | body | string | Yes | |
| EthnicGroup | body | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| TenantsId | form | int | No | |
| Name | form | string | No | |
| Gender | form | string | No | |
| AgeGroup | form | string | No | |
| Style | form | string | No | |
| ImageUrl | form | string | No | |
| EthnicGroup | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /avatars/{Id} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
TenantsId: 0,
Name: String,
Gender: String,
AgeGroup: String,
Style: String,
ImageUrl: String,
EthnicGroup: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
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
}
}
}