axFuelService

<back to all web services

TspShiftCalcView

Requires Authentication
The following routes are available for this service:
PUT/TspShiftCalcView
TspShiftCalcView Parameters:
NameParameterData TypeRequiredDescription
shiftidbodyintNo
fuelidbodyintNo
TspShiftCalcViewResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformShiftCalcViewFNo
ShiftCalcViewF Parameters:
NameParameterData TypeRequiredDescription
shiftcalcviewformList<ShiftCalcView>No
turn_idformint?No
st_remformdecimalNo
counters_scountformdecimalNo
ShiftCalcView Parameters:
NameParameterData TypeRequiredDescription
turntype_idformintNo
turntypeformstringNo
inoutformintNo
shiftfuelturnD_idformint?No
icountformdecimalNo
scountformdecimalNo
rngformintNo
editableformboolNo
propformstringNo
vgformdecimalNo

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 /TspShiftCalcView HTTP/1.1 
Host: axfuel.apex.ge 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	shiftid: 0,
	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: 
	{
		shiftcalcview: 
		[
			{
				turntype_id: 0,
				turntype: String,
				inout: 0,
				shiftfuelturnD_id: 0,
				icount: 0,
				scount: 0,
				rng: 0,
				editable: False,
				prop: String,
				vg: 0
			}
		],
		turn_id: 0,
		st_rem: 0,
		counters_scount: 0
	}
}