GET Salesperson/GetSalesperson?salesPersonSearch={salesPersonSearch}&salesPersonSearchType={salesPersonSearchType}&lastModifiedOnOrAfterUtc={lastModifiedOnOrAfterUtc}
Returns a list of Salespeople.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
salesPersonSearch |
The value to search Id for. (Optional) |
string |
Default value is string.Empty |
salesPersonSearchType |
How to search the Salesperson records. (Optional) |
MatchStringEnum |
Default value is StartsWith |
lastModifiedOnOrAfterUtc |
Filter to include only Salespeople modified on or after the supplied UTC date and time. Format = yyyy-MM-ddTHH:mm:ss (Optional) |
string |
Default value is string.Empty |
Body Parameters
Response Information
Resource Description
Returns a list of Salespeople.
AgvSalespersonName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
Count |
Count of how many Salesperson JSON dictionaries. |
string | |
Salespeople |
JSON dictionary of Salesperson. |
Collection of ClsSalesperson |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Count": "2", "Salespeople": [ { "UniqueID": 5, "ID": "sample string 6", "Name": "sample string 7", "FirstName": "sample string 8", "LastName": "sample string 9", "Inactive": true, "InactiveDate": "sample string 12", "EmailAddress": "sample string 13", "LastModifiedUTC": "2024-11-21T09:50:07.277631+00:00" }, { "UniqueID": 5, "ID": "sample string 6", "Name": "sample string 7", "FirstName": "sample string 8", "LastName": "sample string 9", "Inactive": true, "InactiveDate": "sample string 12", "EmailAddress": "sample string 13", "LastModifiedUTC": "2024-11-21T09:50:07.277631+00:00" } ] }
application/xml, text/xml
Sample:
<AgvSalesperson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Salesperson"> <Message>sample string 2</Message> <Salespeople xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.SlMan"> <d2p1:Salesperson> <d2p1:EmailAddress>sample string 13</d2p1:EmailAddress> <d2p1:FirstName>sample string 8</d2p1:FirstName> <d2p1:ID>sample string 6</d2p1:ID> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:InactiveDate>sample string 12</d2p1:InactiveDate> <d2p1:LastModifiedUTC>2024-11-21T09:50:07.277631+00:00</d2p1:LastModifiedUTC> <d2p1:LastName>sample string 9</d2p1:LastName> <d2p1:Name>sample string 7</d2p1:Name> <d2p1:UniqueID>5</d2p1:UniqueID> </d2p1:Salesperson> <d2p1:Salesperson> <d2p1:EmailAddress>sample string 13</d2p1:EmailAddress> <d2p1:FirstName>sample string 8</d2p1:FirstName> <d2p1:ID>sample string 6</d2p1:ID> <d2p1:Inactive>true</d2p1:Inactive> <d2p1:InactiveDate>sample string 12</d2p1:InactiveDate> <d2p1:LastModifiedUTC>2024-11-21T09:50:07.277631+00:00</d2p1:LastModifiedUTC> <d2p1:LastName>sample string 9</d2p1:LastName> <d2p1:Name>sample string 7</d2p1:Name> <d2p1:UniqueID>5</d2p1:UniqueID> </d2p1:Salesperson> </Salespeople> <Status>sample string 1</Status> </AgvSalesperson>