| PATCH | /me | Update a user language |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Richemont.Booster2.PublicApi.Security.ServiceModel;
namespace Richemont.Booster2.PublicApi.Security.ServiceModel
{
public partial class UpdateUserLanguage
{
///<summary>
///User's language e.g. 'ita', 'eng', 'chi'
///</summary>
[ApiMember(Description="User's language e.g. 'ita', 'eng', 'chi'", IsRequired=true)]
public virtual string language { get; set; }
}
public partial class UpdateUserLanguageResponse
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PATCH /me HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"language":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{}