GET api/{database}/PersonInRoleNVL/{roleType}
Gets a name value list of PersonInRoleNVL that matches the specified criteria
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
roleType | The roleType. Accepted values are: Value Description 0 General 1 ContactForSalesOrders 2 ContactForPurchaseOrders 3 ContactForSalesInvoices 4 ContactForPurchaseInvoices 5 ContactForProjects 6 ContactForSubscriptions 7 ContactForActionsAndNotes 8 ApproverForPurchaseOrders 9 ApproverForSalesOrders 10 ApproverForQuotations 11 ApproverForSupplierInvoices 12 AccountsReceivableEmployee 13 AccountsPayableEmployee 14 Salesperson 15 PurchasePerson 16 ProjectManager 17 ProjectEmployee 18 ContactForQuotation 19 AccountManager 20 ContactForManagement 21 ContactForAccountant 22 TimesheetEmployee 23 QuotationPerson 24 SubscriptionsPerson |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "value": "sample string 2" }, { "name": "sample string 1", "value": "sample string 2" }, { "name": "sample string 1", "value": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfNameValuePair xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi"> <NameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </NameValuePair> <NameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </NameValuePair> <NameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </NameValuePair> </ArrayOfNameValuePair>