POST api/SalesMan/CustomerList
Get Customer List User and Route Wise
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
beData | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "PassKey": "sample string 1", "UserId": 2, "UserName": "sample string 3", "Pwd": "sample string 4", "AgentId": 5, "Lat": 6.1, "Lon": 7.1, "RouteId": 8, "GPSLocation": "sample string 9", "DeviceId": "sample string 10" }
application/xml, text/xml
Sample:
<RequestValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.Global"> <AgentId>5</AgentId> <DeviceId>sample string 10</DeviceId> <GPSLocation>sample string 9</GPSLocation> <Lat>6.1</Lat> <Lon>7.1</Lon> <PassKey>sample string 1</PassKey> <Pwd>sample string 4</Pwd> <RouteId>8</RouteId> <UserId>2</UserId> <UserName>sample string 3</UserName> </RequestValue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
[ { "CustomerId": 1, "Name": "sample string 2", "Alias": "sample string 3", "Code": "sample string 4", "Address": "sample string 5", "SNo": 6, "LedgerId": 7, "RouteId": 8, "RouteName": "sample string 9" }, { "CustomerId": 1, "Name": "sample string 2", "Alias": "sample string 3", "Code": "sample string 4", "Address": "sample string 5", "SNo": 6, "LedgerId": 7, "RouteId": 8, "RouteName": "sample string 9" }, { "CustomerId": 1, "Name": "sample string 2", "Alias": "sample string 3", "Code": "sample string 4", "Address": "sample string 5", "SNo": 6, "LedgerId": 7, "RouteId": 8, "RouteName": "sample string 9" } ]
application/xml, text/xml
Sample:
<ArrayOfCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SalesOrderAPI.Models.BusinessEntity"> <Customer> <Address>sample string 5</Address> <Alias>sample string 3</Alias> <Code>sample string 4</Code> <CustomerId>1</CustomerId> <LedgerId>7</LedgerId> <Name>sample string 2</Name> <RouteId>8</RouteId> <RouteName>sample string 9</RouteName> <SNo>6</SNo> </Customer> <Customer> <Address>sample string 5</Address> <Alias>sample string 3</Alias> <Code>sample string 4</Code> <CustomerId>1</CustomerId> <LedgerId>7</LedgerId> <Name>sample string 2</Name> <RouteId>8</RouteId> <RouteName>sample string 9</RouteName> <SNo>6</SNo> </Customer> <Customer> <Address>sample string 5</Address> <Alias>sample string 3</Alias> <Code>sample string 4</Code> <CustomerId>1</CustomerId> <LedgerId>7</LedgerId> <Name>sample string 2</Name> <RouteId>8</RouteId> <RouteName>sample string 9</RouteName> <SNo>6</SNo> </Customer> </ArrayOfCustomer>