Extract Approval Role for All Users API
  • 1 Minute to read
  • Dark
    Light
  • PDF

Extract Approval Role for All Users API

  • Dark
    Light
  • PDF

Article summary

Syntax

PlanfulAPIStateFreeClient.localplanful.BudgetEntityApprovalRole[]GetAllApprovalRolesForAllUsers(ref bool hasMore, int startIndex, 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:GetAllApprovalRolesForAllUsers>
			<ns:hasMore>true</ns:hasMore>
			<ns:startIndex>0</ns:startIndex>
			<ns:loginName>benparker@planful.com</ns:loginName>
			<ns:password>password</ns:password>
			<ns:tenantCode>TESTCPMTENANTBASEQA</ns:tenantCode>
		</ns:GetAllApprovalRolesForAllUsers>
	</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>
		<GetAllApprovalRolesForAllUsersResponse xmlns="http://www.Planful.com/API/SOAP/StateFree/Common/2009/03/19">
		<GetAllApprovalRolesForAllUsersResult>
		<BudgetEntityApprovalRole>
			<UserLogin>benbradley@planful.com</UserLogin>
			<BudgetEntityCode/>
			<BudgetEntityLabel>Budget Hierarchy</BudgetEntityLabel>
			<ApprovalRole>Budget Approver</ApprovalRole>
		</BudgetEntityApprovalRole>
		<BudgetEntityApprovalRole>
			<UserLogin>benparker@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>
	</GetAllApprovalRolesForAllUsersResult>
<hasMore>false</hasMore>
</GetAllApprovalRolesForAllUsersResponse>
</soap:Body>
</soap:Envelope>

Was this article helpful?