-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FYLE-2hwr6bb #151
FYLE-2hwr6bb #151
Changes from 7 commits
572bced
345f0ef
0c2f0f3
c19944b
c445213
8a53a5d
8942169
bdc65d4
9f6ef6f
55c31b8
851125f
142d6bd
a47ded4
b075958
74b2543
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
post: | ||
tags: | ||
- Statements | ||
summary: Upload a statement | ||
description: | | ||
upload a corporate card statement(csv or excel) to Fyle for reconciliation. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. upload -> Upload |
||
operationId: statements_post | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. try to understand what and where this is used There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it, this is a unique string used to identify an operation. |
||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
$ref: '../../components/schemas/statements.yaml#/statements_in' | ||
required: | ||
- data | ||
responses: | ||
'200': | ||
description: OK | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
data: | ||
$ref: '../../components/schemas/statements.yaml#/statements_out' | ||
'400': | ||
description: Bad request | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/400.yaml' | ||
'401': | ||
description: Unauthorized request | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/401.yaml' | ||
'403': | ||
description: Forbidden | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/403.yaml' | ||
'404': | ||
description: Not Found | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../../components/schemas/404.yaml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary :
Have added not null constraint for -> also have added in doc and script @modernwarfareuplink sir
file_name
file_size
no_of_debit
no_of_credit
no_of_transactions