All Verbs | /post_event_payment_new |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
token | query | string | Yes | |
tokensecret | query | string | Yes | |
query | string | Yes | ||
info | query | paymentInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
invoice | form | string | No | |
invoicedate | form | string | No | |
duedate | form | string | No | |
total | form | decimal | No | |
memo | form | string | No | |
idcia | form | string | No | |
costcode | form | string | No | |
vendor | form | eventVendor | No | |
account | form | eventAccount | No | |
files | form | List<paymentInfoFile> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
fox2 | form | string | No | |
idvendor | form | string | No | |
vendorname | form | string | No | |
contactname | form | string | No | |
vtype | form | string | No | |
taxrate | form | decimal | No | |
phone1 | form | string | No | |
form | string | No | ||
disapply | form | string | No | |
dueterm | form | string | No | |
termino | form | string | No | |
eb380 | form | bool | No | |
invoiceyn | form | bool | No | |
list | form | List<venderCostCode> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ledger | form | string | No | |
name | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ledger | form | string | No | |
idledger | form | string | No | |
name | form | string | No | |
level | form | string | No | |
costcode | form | bool | No | |
dbtcrd | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
fname | form | string | No | |
ftype | form | string | No | |
fsize | form | int | No | |
fdata | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}
]
}
}