axFuelService

<back to all web services

TspCardTurnoverForAll

Requires Authentication
The following routes are available for this service:
PUT/TspCardTurnoverForAll
TspCardTurnoverForAll Parameters:
NameParameterData TypeRequiredDescription
cardidbodystringNo
d1bodyDateTimeNo
d2bodyDateTimeNo
fuelidbodyintNo
TspCardTurnoverForAllResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformCardTurnoverFNo
CardTurnoverF Parameters:
NameParameterData TypeRequiredDescription
TurnoverformList<CardTurnover>No
StartRemformdecimalNo
EndRemformdecimalNo
CardTurnover Parameters:
NameParameterData TypeRequiredDescription
NNformintNo
crtimeformDateTimeNo
corcardformstringNo
icountformdecimal?No
scountformdecimal?No
commentformstringNo
remformdecimalNo
brformstringNo
carnumberformstringNo
supp_idformint?No
order_idformint?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.

PUT /TspCardTurnoverForAll HTTP/1.1 
Host: axfuel.apex.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	cardid: String,
	d1: 0001-01-01,
	d2: 0001-01-01,
	fuelid: 0
}
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: 
	{
		Turnover: 
		[
			{
				NN: 0,
				crtime: 0001-01-01,
				corcard: String,
				icount: 0,
				scount: 0,
				comment: String,
				rem: 0,
				br: String,
				carnumber: String,
				supp_id: 0,
				order_id: 0
			}
		],
		StartRem: 0,
		EndRem: 0
	}
}