Omoto Response API
2 min
introduction client can initiate a request to push campaign response to omoto the push would be sent by the client in a json format that is standardised for receiving campaign responses this format must be as per the below provided json we would provide an endpoint with apikey where the client can push the data this must be pushed one at a time endpoint would be provided after the verification of the json prepared by the client tab examples url http hostname omoto endpoint htm name send response method post request pathparameters queryparameters headerparameters bodydataparameters formdataparameters kind required name jsonheader type string description processid 76 kind required name jsonbody type string description campaignid campaignid channel channel campaigntype campaigntype catnpsmap catnpsmap1 catnpsmap2 npsrating npsrating comment comment customerinfo email email regid regid registrationno registrationno mobileno mobileno name name namevaluemap unitname unitname results languages id 64du0gsazsbrbx888ki7t code status success language 200 id s6osq6myyy1plqxtmgsap code response parseerror language 400 selectedlanguageid 64du0gsazsbrbx888ki7t examples languages id g9 udb6to0yl9zz5hkbih code n catnpsmap n internet availability n price n n comment sample comment n customerinfo n email tharun omoto io n registrationno exl001 n mobileno 9663798289 n name tharun n n namevaluemap n unitname standard name as provided by omoto n city city of the customer n n npsrating 4 n campaignid 154 n language json selectedlanguageid g9 udb6to0yl9zz5hkbih description this api endpoint allows clients to push campaign response to omoto currentnewparameter label form parameter value formdataparameters json attribute description attribute name description campaignid unique id of campaign, this will be provided by omoto team and it must always match the id sent by omoto comment any free comment from the customer unitname name of the unit, as given by omoto namevaluemap this contains all customer specific qualifying information it is sent in the form of name value pairs the names are specific and pre defined so that they can be identified as such at omoto end npsrating overall nps rating, in case it is a nps questionnaire (or a csat survey with a nps element) catnpsmap categories selected by the customer at the time of survey is sent here