Untitled

 avatar
unknown
plain_text
2 years ago
873 B
3
Indexable
[apiconfiguration]
#timezone parameter to display date in local timezone
timeZone=Asia/Kolkata

#mapping of database column to the columns in the request 
columnMapping={"valuetype" : "valueType","key":"key","buid":"buID","createdtime":"createdTime","opid":"opID","updatedtime":"updatedTime","username":"userName","value" : "value","type" : "type","businessid": "businessId"}

#columns that have to be returned in the response {GET]
validColumns=["businessid","valuetype","key","buid","createdtime","opid","updatedtime","username","value","type"]

#valid keys for insert [POST/PUT]
validKeys = ["valueType","key","buID","opID","value","businessId"]

#valid keys for update[PATCH]
validKeysForUpdate = ["type", "actionAttributes", "version", "commonName", "description", "action", "endpoint"]


dateColumns=["createdtime","updatedtime"]
validArguments=[]
keysToBeIgnored=[]
Editor is loading...