All Verbs | /post_eventnew |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
token | query | string | Yes | |
tokensecret | query | string | Yes | |
query | string | Yes | ||
postEvent | query | postEventInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | int | No | |
idcia | form | int | No | |
creaby | form | string | No | |
creadate | form | string | No | |
modiby | form | string | No | |
modidate | form | string | No | |
eventname | form | string | No | |
eventdate | form | string | No | |
status | form | string | No | |
firstname | form | string | No | |
lastname | form | string | No | |
phone | form | string | No | |
mobile | form | string | No | |
form | string | No | ||
notes | form | string | No | |
fs | form | bool | No | |
eventtype | form | string | No | |
peoplenumber | form | int | No | |
estimatedgross | form | decimal | No | |
idpostvenue | form | int | No | |
venuename | form | string | No | |
eventfrom | form | string | No | |
eventto | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
idnumber | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
result | form | int | No | |
message | 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/reply/post_eventnew HTTP/1.1
Host: sdk.lovettcommercial.com
Content-Type: text/jsv
Content-Length: length
{
token: String,
tokensecret: String,
email: String,
postEvent:
{
idnumber: 0,
idcia: 0,
creaby: String,
creadate: String,
modiby: String,
modidate: String,
eventname: String,
eventdate: String,
status: String,
firstname: String,
lastname: String,
phone: String,
mobile: String,
email: String,
notes: String,
fs: False,
eventtype: String,
peoplenumber: 0,
estimatedgross: 0,
idpostvenue: 0,
venuename: String,
eventfrom: String,
eventto: String
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { idnumber: String, result: 0, message: String }