Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
873 B
1
Indexable
Never
[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=[]