GET api/Accounts?name={name}&usePaging={usePaging}
Retrieves Paged List of Accounts starting with the Partial Name
Possible Service Responses:
200/OK - match found and list of account records are in the body of the response.
404/Accounts Not Found - no accounts found matching specified name.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
name |
String to use to match the account name. |
System.String |
Required |
usePaging |
Use paging or no. |
System.Boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
List of Accounts
System.Linq.IQueryable`1[System.String]Response Formats
application/json, text/json
Sample:
[ "sample string 1", "sample string 2" ]
application/xml, text/xml
Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>