Skip to content

Commit

Permalink
Updated /circuits/payments/ for internal use
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanpierreMiccoli17 committed Nov 21, 2024
1 parent 83a6e77 commit 7a65a9b
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions reference/is.ov.importexport.doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ x-stoplight:
id: 91a4ao3uk9mo2
info:
title: Import export Overview
version: "1.3"
version: '1.4'
description: |
# Overview import export api documentation
Expand Down Expand Up @@ -78,21 +78,20 @@ info:
<td>L-GNC</td>
</tr>
</table>
contact:
email: internal-dev-team@icadsistemi.com
name: Dev team internal
servers:
- url: "https://mxp-import-export-ov.dev.icadsistemi.com/v1"
- url: 'https://mxp-import-export-ov.dev.icadsistemi.com/v1'
description: development
- url: "https://mxp-import-export-ov.prod.icadsistemi.com/v1"
- url: 'https://mxp-import-export-ov.prod.icadsistemi.com/v1'
description: production
paths:
/export/circuits/fuelstations:
get:
summary: Get fuelstations for enabled circuits
responses:
"200":
'200':
description: OK
content:
application/json:
Expand Down Expand Up @@ -121,17 +120,17 @@ paths:
- fuelstation_name: string
iscode: string
supplier_name: string
"401":
'401':
description: Unauthorized
"403":
'403':
description: Forbidden
"404":
'404':
description: Not Found
"422":
'422':
description: Unprocessable Entity (WebDAV)
"429":
'429':
description: Too Many Requests
"500":
'500':
description: Internal Server Error
operationId: get-fuelstations-circuits
description: Get all enabled fuelstations for enabled circuits
Expand All @@ -143,7 +142,7 @@ paths:
get:
summary: Get payments with supplies for enabled circuits
responses:
"200":
'200':
description: OK
content:
application/json:
Expand Down Expand Up @@ -248,7 +247,7 @@ paths:
- L-GNC
x-stoplight:
id: my330tnclmmg9
description: "Article identifier: 1 - Green Petrol, 2 - Diesel, 3 - Special Petrol, 4 - Special Diesel, 5 - AdBlue, 6 - LPG (Liquefied Petroleum Gas), 7 - Methane, 17 - LNG (Liquefied Natural Gas), 20 - Lubricating Oil, 21 - HVO (Hydrotreated Vegetable Oil), 22 - L-GNC (Liquefied Compressed Natural Gas)"
description: 'Article identifier: 1 - Green Petrol, 2 - Diesel, 3 - Special Petrol, 4 - Special Diesel, 5 - AdBlue, 6 - LPG (Liquefied Petroleum Gas), 7 - Methane, 17 - LNG (Liquefied Natural Gas), 20 - Lubricating Oil, 21 - HVO (Hydrotreated Vegetable Oil), 22 - L-GNC (Liquefied Compressed Natural Gas)'
article:
type: string
x-stoplight:
Expand Down Expand Up @@ -313,27 +312,27 @@ paths:
supply_id: 0
quantity: 0
supply_amount: 0
"201":
'201':
description: Created
"401":
'401':
description: Unauthorized
"403":
'403':
description: Forbidden
"404":
'404':
description: Not Found
"422":
'422':
description: Unprocessable Entity (WebDAV)
"429":
'429':
description: Too Many Requests
"500":
'500':
description: Internal Server Error
operationId: get-circuits-payments-supplies
parameters:
- schema:
type: integer
in: query
name: start_datetime
description: "unix time format "
description: 'unix time format '
required: true
- schema:
type: integer
Expand All @@ -349,8 +348,9 @@ paths:
description: Get payments with supplies for enabled circuits
tags:
- payments
x-internal: true
parameters: []
"/export/closure/{iscode}/{date}/{closure_type}/{turn}":
'/export/closure/{iscode}/{date}/{closure_type}/{turn}':
parameters:
- schema:
type: string
Expand Down Expand Up @@ -381,7 +381,7 @@ paths:
tags:
- closures
responses:
"200":
'200':
description: OK
content:
application/json:
Expand All @@ -395,10 +395,10 @@ paths:
incames:
x-stoplight:
id: ua4os73biysah
description: "Incames with grouping amount by payment type "
description: 'Incames with grouping amount by payment type '
type: array
items:
$ref: "#/components/schemas/incame"
$ref: '#/components/schemas/incame'
x-stoplight:
id: 4wtxw6r2tkfzs
sold:
Expand All @@ -407,7 +407,7 @@ paths:
description: Sold with grouped amount by product and indoor/outdoor type
type: array
items:
$ref: "#/components/schemas/sold"
$ref: '#/components/schemas/sold'
x-stoplight:
id: t6h2ywpq0dn0k
totalizers:
Expand All @@ -416,7 +416,7 @@ paths:
description: Totalizers data
type: array
items:
$ref: "#/components/schemas/totalizer"
$ref: '#/components/schemas/totalizer'
x-stoplight:
id: ljugq7enrs9lw
selfCash:
Expand All @@ -425,11 +425,11 @@ paths:
description: Self cash data
type: array
items:
$ref: "#/components/schemas/selfCash"
$ref: '#/components/schemas/selfCash'
x-stoplight:
id: podr9c8ehokia
squaring:
$ref: "#/components/schemas/squaring"
$ref: '#/components/schemas/squaring'
x-stoplight:
id: apxkjcju6rmff
description: Squaring between sold and incames amounts
Expand All @@ -439,7 +439,7 @@ paths:
id: s3ow948x671w3
description: Deliveries with supplies and payments details
items:
$ref: "#/components/schemas/delivery"
$ref: '#/components/schemas/delivery'
x-stoplight:
id: j6nwvgm7z1rxn
cashPayments:
Expand All @@ -448,20 +448,20 @@ paths:
id: kpdrisjgeoyvd
description: Cash payments details
items:
$ref: "#/components/schemas/cashPayment"
$ref: '#/components/schemas/cashPayment'
x-stoplight:
id: zddppz6urqvee
"400":
'400':
description: Bad Request
"401":
'401':
description: Unauthorized
"404":
'404':
description: Not Found
"422":
'422':
description: Unprocessable Entity (WebDAV)
"429":
'429':
description: Too Many Requests
"500":
'500':
description: Internal Server Error
operationId: get-export-closure-iscode-date-closure_type-turn
description: Get closure for the fuel station
Expand All @@ -471,14 +471,14 @@ paths:
tags:
- levels
responses:
"200":
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/level"
$ref: '#/components/schemas/level'
x-stoplight:
id: 8uf4oh10oaadr
operationId: get-export-levels
Expand Down Expand Up @@ -711,7 +711,7 @@ components:
id: 3oe12ioi0757d
type: array
items:
$ref: "#/components/schemas/payment"
$ref: '#/components/schemas/payment'
x-stoplight:
id: q89l535ig5key
id:
Expand Down Expand Up @@ -896,15 +896,15 @@ components:
type: oauth2
flows:
clientCredentials:
refreshUrl: ""
refreshUrl: ''
scopes: {}
tokenUrl: "https://dub-dev-icadsistemi-users.auth.eu-west-1.amazoncognito.com/token"
tokenUrl: 'https://dub-dev-icadsistemi-users.auth.eu-west-1.amazoncognito.com/token'
production:
type: oauth2
flows:
clientCredentials:
tokenUrl: "https://dub-prod-icadsistemi-users.auth.eu-west-1.amazoncognito.com/token"
refreshUrl: ""
tokenUrl: 'https://dub-prod-icadsistemi-users.auth.eu-west-1.amazoncognito.com/token'
refreshUrl: ''
scopes: {}
responses: {}
tags:
Expand Down

0 comments on commit 7a65a9b

Please sign in to comment.