ApexERPHost

<back to all web services

GetDistributionRouts

Requires Authentication
The following routes are available for this service:
GET/Distribution/MobileUsers/Routs/View
GET/Distribution/MobileUsers/{MobileUserId}/Routs/View
GetDistributionRouts Parameters:
NameParameterData TypeRequiredDescription
MobileUserIdpathint?No
GetDistributionRoutsResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<RoutsView>No
RoutsView Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
UserCustomerIdformintNo
NumberDayformintNo
SortNumberformintNo
UserIdformintNo
CRTimeformDateTimeNo
UserCustomerSpendformboolNo
Branch_IdformintNo
BranchNameformstringNo
BranchNameEnformstringNo
BranchSpendformboolNo
FullAddressformstringNo
CityNameformstringNo
CityNameEnformstringNo
BlockNameformstringNo
DayNameformstringNo
BranchCodeformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Distribution/MobileUsers/Routs/View HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"Id":0,"UserCustomerId":0,"NumberDay":0,"SortNumber":0,"UserId":0,"CRTime":"\/Date(-62135596800000-0000)\/","UserCustomerSpend":false,"Branch_Id":0,"BranchName":"String","BranchNameEn":"String","BranchSpend":false,"FullAddress":"String","CityName":"String","CityNameEn":"String","BlockName":"String","DayName":"String","BranchCode":"String"}]}