GET api/SalesPerson/{auth}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
auth | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SalesPersonRespName | Description | Type | Additional information |
---|---|---|---|
IsSuccessful | boolean |
None. |
|
ErrorMessage | string |
None. |
|
SalesPersons | Collection of SalesPersonItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsSuccessful": true, "ErrorMessage": "sample string 2", "SalesPersons": [ { "SalesPersonID": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "UserID": 1, "DisplayName": "sample string 4", "InsertUserID": 5, "InsertDateTime": "2024-12-28T09:07:13.8776538+00:00", "DeletedUserID": 1, "DeletedDateTime": "2024-12-28T09:07:13.8776538+00:00", "SalesPersonCode": "sample string 7", "LogonName": "sample string 8", "OfficeCode": "sample string 9", "EmailAddress": "sample string 10", "CustomerCount": 11 }, { "SalesPersonID": 1, "FirstName": "sample string 2", "LastName": "sample string 3", "UserID": 1, "DisplayName": "sample string 4", "InsertUserID": 5, "InsertDateTime": "2024-12-28T09:07:13.8776538+00:00", "DeletedUserID": 1, "DeletedDateTime": "2024-12-28T09:07:13.8776538+00:00", "SalesPersonCode": "sample string 7", "LogonName": "sample string 8", "OfficeCode": "sample string 9", "EmailAddress": "sample string 10", "CustomerCount": 11 } ] }
application/xml, text/xml
Sample:
<SalesPersonResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models"> <ErrorMessage>sample string 2</ErrorMessage> <IsSuccessful>true</IsSuccessful> <SalesPersons> <SalesPersonItem> <CustomerCount>11</CustomerCount> <DeletedDateTime>2024-12-28T09:07:13.8776538+00:00</DeletedDateTime> <DeletedUserID>1</DeletedUserID> <DisplayName>sample string 4</DisplayName> <EmailAddress>sample string 10</EmailAddress> <FirstName>sample string 2</FirstName> <InsertDateTime>2024-12-28T09:07:13.8776538+00:00</InsertDateTime> <InsertUserID>5</InsertUserID> <LastName>sample string 3</LastName> <LogonName>sample string 8</LogonName> <OfficeCode>sample string 9</OfficeCode> <SalesPersonCode>sample string 7</SalesPersonCode> <SalesPersonID>1</SalesPersonID> <UserID>1</UserID> </SalesPersonItem> <SalesPersonItem> <CustomerCount>11</CustomerCount> <DeletedDateTime>2024-12-28T09:07:13.8776538+00:00</DeletedDateTime> <DeletedUserID>1</DeletedUserID> <DisplayName>sample string 4</DisplayName> <EmailAddress>sample string 10</EmailAddress> <FirstName>sample string 2</FirstName> <InsertDateTime>2024-12-28T09:07:13.8776538+00:00</InsertDateTime> <InsertUserID>5</InsertUserID> <LastName>sample string 3</LastName> <LogonName>sample string 8</LogonName> <OfficeCode>sample string 9</OfficeCode> <SalesPersonCode>sample string 7</SalesPersonCode> <SalesPersonID>1</SalesPersonID> <UserID>1</UserID> </SalesPersonItem> </SalesPersons> </SalesPersonResp>