NetCard Server Web API

<back to all web services

GetCashManagementLogsByUserIdAndDateRange

To override the Content-type in your clients 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.

POST /jsv/reply/GetCashManagementLogsByUserIdAndDateRange HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/jsv
Content-Length: length

{
	UserId: 0,
	DateFromUtc: 0001-01-01,
	DateToUtc: 0001-01-01
}
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
			}
		]
	},
	CashManagementLogs: 
	[
		{
			CashManagementLogId: 0,
			CashDispenserDeviceId: 0,
			DeviceId: 0,
			BNRStatusLogId: 0,
			BNRStatusLog: 
			{
				CashDispenserDeviceId: 0,
				Firmware: String,
				Recyclers: 
				[
					{
						Name: String,
						Quantity: 0,
						Level: 0,
						Max: 0
					}
				],
				CashBoxes: 
				[
					{
						Name: String,
						Quantity: 0,
						Level: 0
					}
				],
				Loaders: 
				[
					{
						Name: String,
						Quantity: 0,
						Level: 0
					}
				]
			},
			BCRStatusLogId: 0,
			BCRStatusLog: 
			{
				Firmware: String,
				Serial: String,
				Hoppers: 
				[
					{
						Name: String,
						Quantity: 0,
						Level: 0,
						Max: 0
					}
				],
				CashBoxes: 
				[
					{
						Name: String,
						Quantity: 0,
						Level: 0
					}
				]
			},
			CashFlowStatusLogId: 0,
			NoteAcceptorStatusLogId: 0,
			CoinAcceptorStatusLogId: 0,
			TotalCoinAmount: 0,
			TotalNoteAmount: 0,
			UserId: 0,
			Description: String,
			OtherInfo: String,
			TotalAmount: 0,
			DateCreatedUtc: 0001-01-01,
			UpdateDate: 0001-01-01,
			DatePrinted: 0001-01-01,
			ForCollection: False,
			TotalMoneyIn: 0,
			TotalMoneyOut: 0,
			CollectedNoteAmount: 0,
			CollectedCoinAmount: 0,
			IsUserTransaction: False
		}
	]
}