Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

188 changes: 185 additions & 3 deletions spec/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,23 @@ info:
url: 'https://apidocs.parasut.com/logo.png'
backgroundColor: null
description: >
Bir önceki API (V1) dökümantasyonuna [bu
bağlantı](https://api.parasut.com/docs) ile ulaşabilirsiniz


# GİRİŞ


## API Hakkında


Paraşüt API'yi kullanmak veya görüşlerinizi
Paraşüt API henüz beta aşamasındadır ve sadece belli sayıda kullanıcıya
açıktır. Eğer beta test sürecine katılmak veya API hakkındaki görüşlerinizi
bizimle paylaşmak isterseniz lütfen bizimle destek@parasut.com adresi
üzerinden iletişime geçiniz.
üzerinden bağlantıya geçiniz.


API'yi kullanarak Paraşüt verilerine ulaşabilir ve kendi yazdığınız
API'yi kullanarak Paraşüt veritabanına ulaşabilir ve kendi yazdığınız
uygulamalar ile entegre edebilirsiniz. API vasıtasıyla Paraşüt Web arayüzü
ile yapılan hemen her işlemi gerçekleştirebilirsiniz.

Expand Down Expand Up @@ -477,6 +482,8 @@ tags:
x-displayName: MAAŞ
- name: SalesInvoices
x-displayName: SATIŞ FATURASI
- name: SalesOffers
x-displayName: SalesOffers
- name: ShipmentDocuments
x-displayName: İRSALİYE
- name: StockMovements
Expand Down Expand Up @@ -7971,6 +7978,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -8148,6 +8156,21 @@ paths:
description: Type of the resource
enum:
- tags
sales_offer:
type: object
properties:
data:
type: object
properties:
id:
type: string
maxLength: 255
type:
type: string
maxLength: 255
description: Type of the resource
enum:
- sales_offers
in: body
required: true
responses:
Expand Down Expand Up @@ -8176,6 +8199,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -8282,6 +8306,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -8457,6 +8482,21 @@ paths:
description: Type of the resource
enum:
- tags
sales_offer:
type: object
properties:
data:
type: object
properties:
id:
type: string
maxLength: 255
type:
type: string
maxLength: 255
description: Type of the resource
enum:
- sales_offers
in: body
required: true
responses:
Expand Down Expand Up @@ -8485,6 +8525,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -8771,6 +8812,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -8877,6 +8919,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -8983,6 +9026,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -9089,6 +9133,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -9276,6 +9321,21 @@ paths:
description: Type of the resource
enum:
- tags
sales_offer:
type: object
properties:
data:
type: object
properties:
id:
type: string
maxLength: 255
type:
type: string
maxLength: 255
description: Type of the resource
enum:
- sales_offers
in: body
required: true
responses:
Expand Down Expand Up @@ -9304,6 +9364,7 @@ paths:
- sales_invoice_details
- payments
- tags
- sales_offers
- sharings
- recurrence_plans
- e_archives
Expand Down Expand Up @@ -9357,6 +9418,77 @@ paths:
type: array
items:
$ref: '#/definitions/Error'
'/{company_id}/sales_offers/{id}':
parameters:
- name: company_id
type: integer
description: Firma ID
in: path
required: true
- name: id
type: integer
description: Sales Offer ID
in: path
required: true
get:
tags:
- SalesOffers
operationId: showSalesOffer
summary: Show
description: ''
responses:
'200':
description: Teklif
schema:
type: object
properties:
data:
$ref: '#/definitions/SalesOffer'
'400':
description: Bad Request
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/definitions/Error'
'401':
description: Unauthorized
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/definitions/Error'
'403':
description: Forbidden
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/definitions/Error'
'404':
description: Not Found
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/definitions/Error'
'422':
description: Unprocessable Entity
schema:
type: object
properties:
errors:
type: array
items:
$ref: '#/definitions/Error'
'/{company_id}/shipment_documents':
parameters:
- name: company_id
Expand Down Expand Up @@ -14296,6 +14428,21 @@ definitions:
description: Type of the resource
enum:
- tags
sales_offer:
type: object
properties:
data:
type: object
properties:
id:
type: string
maxLength: 255
type:
type: string
maxLength: 255
description: Type of the resource
enum:
- sales_offers
sharings:
type: object
properties:
Expand Down Expand Up @@ -14441,6 +14588,41 @@ definitions:
- products
required:
- attributes
SalesOfferAttributes: {}
SalesOffer:
type: object
properties:
id:
type: string
maxLength: 255
type:
type: string
maxLength: 255
description: Type of the resource
enum:
- sales_offers
attributes:
$ref: '#/definitions/SalesOfferAttributes'
relationships:
type: object
properties:
sales_invoice:
type: object
properties:
data:
type: object
properties:
id:
type: string
maxLength: 255
type:
type: string
maxLength: 255
description: Type of the resource
enum:
- sales_invoices
required:
- attributes
ShipmentDocumentAttributes:
type: object
properties:
Expand Down