Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rsemihkoca committed Jan 22, 2024
1 parent 3c171fb commit 1a97e6b
Showing 1 changed file with 12 additions and 63 deletions.
75 changes: 12 additions & 63 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,73 +90,22 @@ Provide the endpoint or path for your API.

## Expense

<pre></pre>


<table style="padding: 0;margin: 0">
<thead style="padding: 0;margin: 0">
<tr style="padding: 0;margin: 0">
<th width="10%">Method</th>
<th width="40%">Path </th>
</tr>
</thead>
<tbody style="padding: 0;margin: 0">
<tr width="100%">
<td align="center" style="padding: 0;margin: 0">
<img src=".github/assets/POST.png" alt="POST" width="25%"/>
</td>
<td align="center" style="padding: 0;margin: 0"><b>/api/Expense/</b></td>
</tr>
</tbody>
<table>
<thead>
<tr>
<th width="50%">Request Example</th>
<th width="50%">Response Example</th>
<th width="200px">Method</th>
<th width="800px">Path </th>
</tr>
</thead>
<tbody>

<tr width="100%">
<td height="0px" style="padding-bottom: 0%;padding-top: 0%; margin: 0%">

```json
{
"userId": 2,
"amount": 50,
"categoryId": 15,
"paymentMethod": "Online",
"paymentLocation": "Office",
"documents": "hello.png",
"description": "Hediye Odemesi"
}
```
</td>
<td height="0px">

```json
{
"expenseRequestId": 43,
"userId": 2,
"categoryId": 15,
"expenseStatus": "Pending",
"paymentStatus": "Pending",
"paymentDescription": "Payment Not Made",
"amount": 50,
"paymentMethod": "Online",
"paymentLocation": "Office",
"documents": "hello.png",
"description": "Hediye Odemesi",
"creationDate": "22/01/2024 01:42:40",
"lastUpdateTime": "22/01/2024 01:42:40"
}
```
</td>
</tr>
</tbody>

<tbody>
<tr width="600px">
<td align="center">
<img src=".github/assets/POST.png" alt="POST" width="100px"/>
</td>
<td align="center">/api/Expense/</td>
</tr>
</table>

### API Authentication

Explain the authentication method required for accessing your API.
#### Description:
Create an expense record. <b>[Admin, Personnel]</b>

0 comments on commit 1a97e6b

Please sign in to comment.