Commit 170dc3d5 authored by sanket shrawan kolnoorkar's avatar sanket shrawan kolnoorkar
Browse files

done documentation in details

parent a2787fcb
......@@ -569,12 +569,13 @@ class api_organisation(object):
return{"gkstatus":enumdict["Success"],"gkresult":gstinval}
except:
return {"gkstatus": enumdict["ConnectionFailed"]}
#code for saving null values of bankdetails and updation in database
#variable created for orgcode so that query will work easily
@view_config(request_method='PUT', renderer='json')
def putOrg(self):
token = self.request.headers['gktoken']
authDetails = authCheck(token)
orgcode=authDetails['orgcode']
orgcode=authDetails['orgcode']
if authDetails["auth"]==False:
return {"gkstatus":enumdict["UnauthorisedAccess"]}
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment