NetCard Server Web API

<back to all web services

DeviceMoveMicrotronicCardToAccount

The following routes are available for this service:
POST/Core/Device/MoveMicrotronicAccountToAccount

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/DeviceMoveMicrotronicCardToAccount HTTP/1.1 
Host: ncapi.net.au 
Content-Type: text/jsv
Content-Length: length

{
	Device: 
	{
		DeviceId: 0,
		DeviceCode: String,
		Name: String,
		Password: String,
		DeviceLocationId: 0,
		ChildDeviceLocationId: 0,
		LastSeen: 0001-01-01,
		IsEnabled: False,
		Note: String,
		DeviceTypeId: 0,
		Cash: 0,
		DefaultTax: 0,
		LastVersion: String,
		CustomerId: 0,
		AssetId: String,
		DeviceLinkId: 0,
		OpenFrom: PT0S,
		OpenTo: PT0S,
		CashAccountCode: String,
		WarehouseId: 0
	},
	AmountToMove: 0,
	AccountCode: String,
	ValueOnCard: 0,
	TimeOfMove: 0001-01-01,
	MakeRecord: False
}
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
			}
		]
	},
	MoveResult: 
	{
		AmountMoved: 0,
		Moved: False
	}
}