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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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: 0001-01-01,
			UserCustomerSpend: False,
			Branch_Id: 0,
			BranchName: String,
			BranchNameEn: String,
			BranchSpend: False,
			FullAddress: String,
			CityName: String,
			CityNameEn: String,
			BlockName: String,
			DayName: String,
			BranchCode: String
		}
	]
}