Scenario Access Update API
  • 1 Minute to read
  • Dark
    Light
  • PDF

Scenario Access Update API

  • Dark
    Light
  • PDF

Article summary

Syntax

PlanfulAPIStateFreeClient.localplanful.OperationResultAllowScenarioAccessToUser(string userLogin, string scenarioCode, string loginName, string password, string TenantCode)

Usage

This API updates Scenario Access permissions based on User ID and Scenario Code.

Sample

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="http://www.Planful.com/API/SOAP/StateFree/Common/2009/03/19">
<soapenv:Header/>
	<soapenv:Body>
		<ns:AllowScenarioAccessToUser>
			<ns:userLogin>benparker@planful.com</ns:userLogin>
			<ns:scenarioCode>Budget 2009</ns:scenarioCode>
			<ns:loginName>benparker@planful.com</ns:loginName>
			<ns:password>password</ns:password>
			<ns:TenantCode>TESTCPMTENANTBASEQA</ns:TenantCode>
		</ns:AllowScenarioAccessToUser>
	</soapenv:Body>
	</soapenv:Envelope>
	<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<soap:Body>
		<AllowScenarioAccessToUserResponse xmlns="http://www.Planful.com/API/SOAP/StateFree/Common/2009/03/19">
		<AllowScenarioAccessToUserResult>
			<Success>true</Success>
			<message>Scenario Access has been provided successfully</message>
		</AllowScenarioAccessToUserResult>
		</AllowScenarioAccessToUserResponse>
</soap:Body>
</soap:Envelope>

Was this article helpful?