Tenant Server V1

<back to all web services

post_event_refund_new

The following routes are available for this service:
All Verbs/post_event_refund_new
post_event_refund_new Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
infoqueryrefundInfoNo
refundInfo Parameters:
NameParameterData TypeRequiredDescription
nvendorformstringNo
checkformstringNo
dateformstringNo
totalformdecimalNo
memoformstringNo
idciaformstringNo
categoryformstringNo
paytoformstringNo
bankformeventBankNo
journalListformList<eventJournal>No
eventBank Parameters:
NameParameterData TypeRequiredDescription
lg_ledgerformstringNo
ledgerformstringNo
nameformstringNo
moneysignformstringNo
accountformstringNo
nextcheckformstringNo
balanceformdecimalNo
savingformboolNo
activeynformboolNo
idRowNumformstringNo
eventJournal Parameters:
NameParameterData TypeRequiredDescription
dbtcrdformstringNo
ledgerformstringNo
costcodeformboolNo
debitformstringNo
creditformstringNo
nameformstringNo
idledgerformstringNo
notesformstringNo
post_event_refund_newResponse Parameters:
NameParameterData TypeRequiredDescription
validPINformboolNo
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo

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.

POST /jsv/reply/post_event_refund_new HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/jsv
Content-Length: length

{
	token: String,
	tokensecret: String,
	email: String,
	info: 
	{
		nvendor: String,
		check: String,
		date: String,
		total: 0,
		memo: String,
		idcia: String,
		category: String,
		payto: String,
		bank: 
		{
			lg_ledger: String,
			ledger: String,
			name: String,
			moneysign: String,
			account: String,
			nextcheck: String,
			balance: 0,
			saving: False,
			activeyn: False,
			idRowNum: String
		},
		journalList: 
		[
			{
				dbtcrd: String,
				ledger: String,
				costcode: False,
				debit: String,
				credit: String,
				name: String,
				idledger: String,
				notes: String
			}
		]
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	validPIN: False,
	result: 0,
	message: String
}