Tenant Server V1

<back to all web services

post_event_payment_new

The following routes are available for this service:
All Verbs/post_event_payment_new
post_event_payment_new Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
infoquerypaymentInfoNo
paymentInfo Parameters:
NameParameterData TypeRequiredDescription
invoiceformstringNo
invoicedateformstringNo
duedateformstringNo
totalformdecimalNo
memoformstringNo
idciaformstringNo
costcodeformstringNo
vendorformeventVendorNo
accountformeventAccountNo
filesformList<paymentInfoFile>No
eventVendor Parameters:
NameParameterData TypeRequiredDescription
fox2formstringNo
idvendorformstringNo
vendornameformstringNo
contactnameformstringNo
vtypeformstringNo
taxrateformdecimalNo
phone1formstringNo
emailformstringNo
disapplyformstringNo
duetermformstringNo
terminoformstringNo
eb380formboolNo
invoiceynformboolNo
listformList<venderCostCode>No
venderCostCode Parameters:
NameParameterData TypeRequiredDescription
ledgerformstringNo
nameformstringNo
eventAccount Parameters:
NameParameterData TypeRequiredDescription
ledgerformstringNo
idledgerformstringNo
nameformstringNo
levelformstringNo
costcodeformboolNo
dbtcrdformstringNo
paymentInfoFile Parameters:
NameParameterData TypeRequiredDescription
fnameformstringNo
ftypeformstringNo
fsizeformintNo
fdataformstringNo

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/oneway/post_event_payment_new HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/jsv
Content-Length: length

{
	token: String,
	tokensecret: String,
	email: String,
	info: 
	{
		invoice: String,
		invoicedate: String,
		duedate: String,
		total: 0,
		memo: String,
		idcia: String,
		costcode: String,
		vendor: 
		{
			fox2: String,
			idvendor: String,
			vendorname: String,
			contactname: String,
			vtype: String,
			taxrate: 0,
			phone1: String,
			email: String,
			disapply: String,
			dueterm: String,
			termino: String,
			eb380: False,
			invoiceyn: False,
			list: 
			[
				{
					ledger: String,
					name: String
				}
			]
		},
		account: 
		{
			ledger: String,
			idledger: String,
			name: String,
			level: String,
			costcode: False,
			dbtcrd: String
		},
		files: 
		[
			{
				fname: String,
				ftype: String,
				fsize: 0,
				fdata: String
			}
		]
	}
}