Skip to content

Get List of Sales Offers

Endpoints

https://app.passelimerit.fi/api/v2/getoffers

Query Payload

json
{      
  PeriodStart: "YYYYmmdd",       
  PeriodEnd: "YYYYmmdd",       
  UnPaid: false
}
Click to see the query parameters
FieldTypeCommentRequired
PeriodStartStrStart date of the periodRequired
PeriodEndStrEnd date of the periodRequired
UnPaidBoolIf true then, the query returns only unpaid offers. Allowed "true" or "false" (lowercase).

Successful Result

json
[
  {
    "SIHId": "31fe26d0-7928-47f7-8702-2d066e332b77",
    "DepartmentName": null,
    "Dimension1Code": null,
    "Dimension2Code": null,
    "Dimension3Code": null,
    "Dimension4Code": null,
    "Dimension5Code": null,
    "Dimension6Code": null,
    "Dimension7Code": null,
    "AccountingDoc": 0,
    "BatchInfo": null,
    "OfferNo": "MPO-2001",
    "DocumentDate": "2020-06-02T00:00:00",
    "TransactionDate": "0001-01-01T00:00:00",
    "CustomerId": "ac8a114d-e40c-4fa5-a57f-de30a03d550d",
    "CustomerName": "Hindre",
    "HComment": "säilivusaja tekst",
    "FComment": "Kauba kohaletoimetamise tekst",
    "DueDate": "0001-01-01T00:00:00",
    "CurrencyCode": "EUR",
    "CurrencyRate": 1.0000000,
    "TaxAmount": 0.00,
    "RoundingAmount": 0.00,
    "TotalAmount": 100.00,
    "ProfitAmount": 0.0,
    "TotalSum": 100.00,
    "UserName": "Merit API",
    "ReferenceNo": null,
    "PriceInclVat": false,
    "VatRegNo": null,
    "PaidAmount": 0.00,
    "EInvSent": false,
    "EmailSent": "1901-01-01T00:00:00",
    "DocType": 2,
    "DocStatus": 3,
    "DeliveryDate": "2020-06-06T00:00:00"
  }
]
Click to see the parameters
FieldTypeComment
SIHIdGuid
DepartmentNameStr
Dimension1CodeStr
Dimension2CodeStr
Dimension3CodeStr
Dimension4CodeStr
Dimension5CodeStr
Dimension6CodeStr
Dimension7CodeStr
BatchInfoStr
OfferNoStr
DocumentDateDate
TransactionDateDate
CustomerIdGuid
CustomerNameStr
HCommentStr
FCommentStr
DueDateDate
CurrencyCodeStr
CurrencyRateDec
TaxAmountDec
RoundingAmountDec
TotalAmountDec
ProfitAmountDec
TotalSumDec
UserNameStr
ReferenceNoStr
PriceInclVatBool
VatRegNoStr
PaidAmountDec
EInvSentBool
EmailSentDate
DocTypeInt1=quote, 2=sales order, 3=prepayment invoice
DocStatusInt1=created, 2=sent, 3=approved, 4=rejected, 5=comment received, 6=invoice created, 7=canceled
DeliveryDateDate
PaidBool