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

    Extract Approval Role for a Single User

    • Dark
    • PDF

    Article summary

    Syntax

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

    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>benparker@planful.com</ns:userLogin>
    		<ns:loginName>benbradley@planful.com</ns:loginName>
    		<ns:password>password</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>benparker@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>
    Shell

    Was this article helpful?