Skip to main content
Version: 5.7.0

CallAPIForSession

This is a generic method for calling client API services with a player session context.

Method Parameters

ParameterDescription
sessionThe sessionId to make the call in the context of
serviceThe name of the service
operationThe name of the operation to call on the service
serviceDataThe parameters to send to the operation

Note - the API Explorer is a great reference to determine the JSON format of the parameters.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab