Create And Save Quote
Creates a new quote on a sale.
NsApiSlow threshold: 5000 ms.
Headers
Convert string references and multi-language values into a specified language (iso2) code.
Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.
Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.
Specify the timezone code that you would like date/time responses converted to.
The application token that identifies the partner app. Used when calling Online WebAPI from a server.
Query Parameters
Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.
Body
SaleId, ConnectionId, FirstAlternativeName
Response
OK
Quote methods Carrier object for QuoteEntity. Services for the QuoteEntity Carrier is available from the Quote Agent.
Primary key
The foreign key to the corresponding sale
The connection in the CRM system to where this quote came from. Identifies the ERP connection used for this quote. Each quote is bound to one and only one connection.
Foreign key of quote (if available). The key in the ERP system that identifies this sale's Quote (as opposed to the later Order information)
The key in the ERP system that identifies this sale's Order, as transferred and possibly later edited in the ERP system. Only filled out if there exists a corresponding order representation of the quote in the ERP system.
The primary key of the Quote Version that is currently active. (The active version will always be the latest version.)
The primary key of the Quote Alternative which was finally accepted by the customer. Set when the user is marking a quote as accepted.
If true, then the Earning, Earning_Percent and Amount fields are populated from the QuoteVersion.QuoteAlternative (current revision, most-likely alternative).
The ID of the main Quote Document
Customer's Purchase order number
A comment that is intended for the Invoice, Order, Packing list and similar stages - AFTER the quote has become an order and goes to ERP for processing
When emails are sent (offer or confirmation), a language can be chosen in the GUI; this field saves the most recent choice and can be used to default the next such choice. Default-default is user's current language
Array og QuoteVersions connected to the quote.
Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.
Field property dictionary mapping field names to field access rights.
Related topics
Create And Save Quote LinesCreate And Save Quote From SaleCreate And Save Quote VersionCreate quoteUpdate quoteNSQuoteAgent