/api/Quotations/Batch/
POST
- Header
Parameter Description GenerationVersion نسخه API Authorization توکن از نوع JWT برای اعتبارسنجی کاربر IntegrationID کد دستگاه ArbitraryCode یک GUID یکتا EncArbitraryCode نسخه کد شده ArbitraryCode به کمک کلید عمومی - Request
Parameter Type Required Description []Quotation_Batch * آرایهای از پیشفاکتورهای ورودی JSON[ { "GUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "CurrencyRef": 1, "Rate": 0, "Date": "2024-04-24", "ExpirationDate": "2024-04-24", "CustomerRef": 1, "AddressRef": 1, "SaleTypeRef": 1, "DiscountOnCustomer": 0, "Price": 0, "Discount": 0, "Tax": 0, "Duty": 0, "Addition": 0, "Description": "string", "Items": [ { "RowID": 1, "ItemRef": 1, "TracingRef": 1, "StockRef": 1, "Quantity": 0, "SecondaryQuantity": 0, "Fee": 0, "Price": 0, "Description": "string", "PriceInfoPercentDiscount": 0, "PriceInfoPriceDiscount": 0, "PriceInfoDiscountRate": 0, "AggregateAmountPercentDiscount": 0, "AggregateAmountPriceDiscount": 0, "AggregateAmountDiscountRate": 0, "CustomerDiscount": 0, "CustomerDiscountRate": 0, "Discount": 0, "DiscountParentRef": 1, "Tax": 0, "Duty": 0, "Addition": 0 } ] } ] - Response
Parameter Type Description Quotations _Batch_Result[] آرایهای از خروجی پیشفاکتور JSON[ { "StatusCode": 0, "Result": { "ID": 1, "GUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Number": 0, "Date": "2024-04-24", "Closed": true, "CurrencyRef": 1, "CustomerRef": 1, "AddressRef": 1, "SaleTypeRef": 1, "Items": [ { "QuotationItemID": 1, "RowID": 1, "ItemRef": 1, "TracingRef": 1, "StockRef": 1, "Quantity": 0, "SecondaryQuantity": 0, "Fee": 0, "Price": 0, "Description": "string", "PriceInfoPercentDiscount": 0, "PriceInfoPriceDiscount": 0, "PriceInfoDiscountRate": 0, "AggregateAmountPercentDiscount": 0, "AggregateAmountPriceDiscount": 0, "AggregateAmountDiscountRate": 0, "CustomerDiscount": 0, "CustomerDiscountRate": 0, "Discount": 0, "DiscountParentRef": 1, "Tax": 0, "Duty": 0, "Addition": 0, "NetPrice": 0 } ], "DiscountOnCustomer": 0, "Price": 0, "Discount": 0, "Tax": 0, "Duty": 0, "Addition": 0, "NetPrice": 0, "Description": "string", "ExpirationDate": "2024-04-24T05:35:41.819Z" }, "Error": { "Type": "BusinessError", "Message": "string" } } ]