Extract Approval Role for a Single User
  • 1 Minute to read
  • Dark
    Light
  • PDF

Extract Approval Role for a Single User

  • Dark
    Light
  • PDF

Article summary

Syntax

PlanfulAPIStateFreeClient.localplanful.BudgetEntityApprovalRole[] GetApprovalRolesForUser(string userLogin, string loginName, string password, string tenantCode)

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:GetApprovalRolesForUser>
		<ns:userLogin>muralimohan1234@planful.com</ns:userLogin>
		<ns:loginName>anilvkbabu@planful.com</ns:loginName>
		<ns:password>testUser123#</ns:password>
		<ns:tenantCode>TESTCPMTENANTBASEQA</ns:tenantCode>
	</ns:GetApprovalRolesForUser>
</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>
	<GetApprovalRolesForUserResponse xmlns="http://www.Planful.com/API/SOAP/StateFree/Common/2009/03/19">
		<GetApprovalRolesForUserResult>
		<BudgetEntityApprovalRole>
			<UserLogin>muralimohan1234@planful.com</UserLogin>
			<BudgetEntityCode>1050-001-10-110-4100</BudgetEntityCode>
			<BudgetEntityLabel>1050-001-10-110-4100 - OXO-Sales-USD</BudgetEntityLabel>
			<ApprovalRole>Budget Approver</ApprovalRole>
		</BudgetEntityApprovalRole>
		<BudgetEntityApprovalRole>
			<UserLogin>muralimohan1234@planful.com</UserLogin>
			<BudgetEntityCode>1030-001-20-120-4200</BudgetEntityCode>
			<BudgetEntityLabel>1030-001-20-120-4200 - Professional-Marketing-USD</BudgetEntityLabel>
			<ApprovalRole>Budget Approver</ApprovalRole>
		</BudgetEntityApprovalRole>
		</GetApprovalRolesForUserResult>
	</GetApprovalRolesForUserResponse>
</soap:Body>
</soap:Envelope>

Was this article helpful?