SearchSalesRep

Description

This method allows you to search sales reps.

Syntax

SalesRep[] SearchSalesRep(SecurityToken securityToken , string salesRepInternalId, string salesRepId, SearchFilter[] filters, int start, int limit, string sort).

Arguments

Type

Name

Description

SecurityToken

securityToken

Merchant security token: used to identify merchant and validate transaction. (required)

String

salesRepInternalId

Unique internal sales rep ID assigned by EBizCharge. (required)

String

salesRepId

Sales rep ID. (required)

SearchFilter

filters

Search filters.

Int

start

Start position, defaults to 0 (first payment found).

Int

limit

Maximum number of payments to return in result. Default Max 1000.

String

sort

Field name to sort the results by. (optional)

Return Value

Type

Description

SalesRep

Returns an array of sales rep matching the specified search parameters.