Documentation

AddLocalizedNews

Update news item to include localized version

Request Details

AddLocalizedNewsRequest
Request Properties
Body (required) String

Localized body text of the news.

Language (required) String

Language of the news item.

NewsId (required) String

Unique id of the updated news item.

Title (required) String

Localized title (headline) of the news item.

POST https://{{TitleID}}.playfabapi.com/Admin/AddLocalizedNews
    Content-Type: application/json
    X-SecretKey: <developer_secret_key>
{
  "NewsId": "74623b12-6c80-ee4b-7c3b-58e638aa62bd",
  "Language": "en",
  "Title": "News of the Day",
  "Body": "We have a new object to buy!"
}
        

Response Details

AddLocalizedNewsResult
Result Properties

Sample Response

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "code": 200,
  "status": "OK",
  "data": {}
}

Authentication

SecretKey

Possible Error Codes

Name Code
InvalidParams 1000
TitleNewsDuplicateLanguage 1424
TitleNewsInvalidLanguage 1426
TitleNewsNotFound 1423