Tenant Server V1

<back to all web services

post_eventnew

The following routes are available for this service:
All Verbs/post_eventnew
post_eventnew Parameters:
NameParameterData TypeRequiredDescription
tokenquerystringYes
tokensecretquerystringYes
emailquerystringYes
postEventquerypostEventInfoNo
postEventInfo Parameters:
NameParameterData TypeRequiredDescription
idnumberformintNo
idciaformintNo
creabyformstringNo
creadateformstringNo
modibyformstringNo
modidateformstringNo
eventnameformstringNo
eventdateformstringNo
statusformstringNo
firstnameformstringNo
lastnameformstringNo
phoneformstringNo
mobileformstringNo
emailformstringNo
notesformstringNo
fsformboolNo
eventtypeformstringNo
peoplenumberformintNo
estimatedgrossformdecimalNo
idpostvenueformintNo
venuenameformstringNo
eventfromformstringNo
eventtoformstringNo
post_eventnewResponse Parameters:
NameParameterData TypeRequiredDescription
idnumberformstringNo
baseResponse Parameters:
NameParameterData TypeRequiredDescription
resultformintNo
messageformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/post_eventnew HTTP/1.1 
Host: sdk.lovettcommercial.com 
Content-Type: text/csv
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/csv
Content-Length: length

{"idnumber":"String","result":0,"message":"String"}