Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.0 kB
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","userName"]

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

# List of valid arguments for the API
validArguments=["businessid","key","valueType","createdtime"]

# List of keys to be ignored
keysToBeIgnored=[]

# List of date columns
dateColumns=["createdtime","updatedtime"]