java - Vtiger CRM REST API using Spring RestTemplate -


i trying create java wrapper vtiger rest api. want avoid use of vtwsclib library because not find maven artifact. want use spring resttemplate. actually, don't understand why need special library access rest api of webservice.

first got problem login process. when followed instructions this link, not able retrieve sessionname. finally, resolved after research of vtwsclib library.

next problem retrieve operation. when had sessionname , tried retrieve object id request (a ticket can see in client app)

get .../webservice.php?operation=retrieve&sessionname=xxxxx&id=xxxxx  

i got:

{"success":false,"error":{"code":"access_denied","message":"permission perform operation denied id"}}

last problem documentation, when visited wiki vtiger wiki not find attributes of ticket entity create fields map.

so work api bit painful me. questions are:

  1. is there tutorial how obtain sessionname using spring resttemplate?

  2. why retrieve operation failed? update: bad id format

  3. this main question. there better documentation (tutorial, blog, file, ect.) vtiger rest api , descriptions of objects ticket?

i using spring resttemplate vtiger rest api.

for retrieving details of record using rest api need pass id moduleid x recordid (2x1234) format, otherwise give access_denied error


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -