axFuelService

<back to all web services

GetAllBranch

The following routes are available for this service:
GET/GetAllBranch
GetAllBranchResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<Branch>No
Branch Parameters:
NameParameterData TypeRequiredDescription
idformintNo
nameformstringNo
name_enformstringNo
addressformstringNo
spendformboolNo
brnumformint?No
erp_bridformint?No
groupidformintNo
keyboardblockingformbool?No
ticket_key_blockingformbool?No

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 /GetAllBranch HTTP/1.1 
Host: axfuel.apex.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,
			name: String,
			name_en: String,
			address: String,
			spend: False,
			brnum: 0,
			erp_brid: 0,
			groupid: 0,
			keyboardblocking: False,
			ticket_key_blocking: False
		}
	]
}