pncc source
This commit is contained in:
parent
07e5c55f98
commit
aec0ea5563
1
reload/pncc/srce.cmd
Normal file
1
reload/pncc/srce.cmd
Normal file
@ -0,0 +1 @@
|
||||
curl -H "Content-Type: application/json" -X POST -d@./srce.json http://localhost:81/srce_set
|
67
reload/pncc/srce.json
Normal file
67
reload/pncc/srce.json
Normal file
@ -0,0 +1,67 @@
|
||||
{
|
||||
"name": "pncc",
|
||||
"source": "client_file",
|
||||
"loading_function": "csv",
|
||||
"constraint": [
|
||||
"{AsOfDate}"
|
||||
],
|
||||
"schemas": {
|
||||
"default": [
|
||||
{
|
||||
"path": "AsOfDate",
|
||||
"type": "date",
|
||||
"column_name": "AsOfDate"
|
||||
},
|
||||
{
|
||||
"path": "BankId",
|
||||
"type": "text",
|
||||
"column_name": "BankId"
|
||||
},
|
||||
{
|
||||
"path": "AccountNumber",
|
||||
"type": "text",
|
||||
"column_name": "AccountNumber"
|
||||
},
|
||||
{
|
||||
"path": "AccountName",
|
||||
"type": "text",
|
||||
"column_name": "AccountName"
|
||||
},
|
||||
{
|
||||
"path": "BaiControl",
|
||||
"type": "text",
|
||||
"column_name": "BaiControl"
|
||||
},
|
||||
{
|
||||
"path": "Currency",
|
||||
"type": "text",
|
||||
"column_name": "Currency"
|
||||
},
|
||||
{
|
||||
"path": "Transaction",
|
||||
"type": "text",
|
||||
"column_name": "Transaction"
|
||||
},
|
||||
{
|
||||
"path": "Reference",
|
||||
"type": "text",
|
||||
"column_name": "Reference"
|
||||
},
|
||||
{
|
||||
"path": "Amount",
|
||||
"type": "text",
|
||||
"column_name": "Amount"
|
||||
},
|
||||
{
|
||||
"path": "Description",
|
||||
"type": "text",
|
||||
"column_name": "Description"
|
||||
},
|
||||
{
|
||||
"path": "AdditionalRemittance",
|
||||
"type": "text",
|
||||
"column_name": "AdditionalRemittance"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user