{ "variables": [], "info": { "name": "BrendanExample", "_postman_id": "38afcfd7-fdeb-1a53-6b97-af6033eb6d21", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "UpdateUserData", "request": { "url": "https://{{TitleId}}.playfabapi.com/Client/UpdateUserData", "method": "POST", "header": [ { "key": "X-PlayFabSDK", "value": "PostmanCollection-0.37.170223", "description": "" }, { "key": "Content-Type", "value": "application/json", "description": "" }, { "key": "X-Authentication", "value": "{{SessionTicket}}", "description": "" } ], "body": { "mode": "raw", "raw": "{\n \"Data\": {\n \"Class\": \"Fighter\"\n },\n \"Permission\": \"Public\"\n}" }, "description": "Creates and updates the title-specific custom data for the user which is readable and writable by the client\n\nApi Documentation: https://api.playfab.com/Documentation/Client/method/UpdateUserData\n\n**The following case-sensitive environment variables are required for this call:**\n\n\"TitleId\" - The Title Id of your game, available in the Game Manager (https://developer.playfab.com)\n\n\"SessionTicket\" - The string returned as \"SessionTicket\" in response to any Login API.\n\n**The body of this api-call should be proper json-format. The api-body accepts the following case-sensitive parameters:**\n\n\"Data\": Key-value pairs to be written to the custom data. Note that keys are trimmed of whitespace, are limited in size, and may not begin with a '!' character.\n\n\"KeysToRemove\": Optional list of Data-keys to remove from UserData. Some SDKs cannot insert null-values into Data due to language constraints. Use this to delete the keys directly.\n\n\"Permission\": Permission to be applied to all user data keys written in this request. Defaults to \"private\" if not set. This is used for requests by one player for information about another player; those requests will only return Public keys.\n\nTo set up an Environment, click the text next to the eye icon up top in Postman (it should say \"No environment\", if this is your first time using Postman). Select \"Manage environments\", then \"Add\". Type a name for your environment where it says \"New environment\", then enter each variable name above as the \"Key\", with the value as defined for each above." }, "response": [] } ] }