Skip to main content
Get All Sale Type Entity

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

includeDeleted
boolean

Response

OK

SaleTypeId
integer<int32>

Primary key

Name
string

The list item

Tooltip
string

Tooltip or other description

Rank
integer<int32>

Rank order

DurationUnit
enum<string>

Units for the duration (day, week, whatever)

Available options:
Unknown,
Second,
Minute,
Hour,
Day,
Week,
Month,
Quarter,
HalfYear,
Year,
Decade,
Century,
Millenium
SaleDuration
integer<int32>

Expected number of dales from initiation to close of sale

SaleTypeCatId
integer<int32>

Category of sale type, copied to sale

Deleted
boolean

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists

HasGuide
boolean

Does this sale type have a guide attached

HasStakeholders
boolean

Does this sale type have stakeholders

IsAutoAdvance
boolean

Does the sale stage advance automatically, when the last guided activity in a stage is completed?

AllowQuoteAlternatives
boolean

Can quotes linked to sales of this type, have multiple Alternatives

DefaultQuoteValidity
integer<int32>

Default valid days for quotes linked to sales of this type (valid from quote transmission)

QuoteLinesTemplate
integer<int32>

The template that this sale type should use when producing the product lines offer document; the template must have DocTmplQuoteType=QuoteLines

ConfirmationLinesTemplate
integer<int32>

The template that this sale type should use when producing the order confirmation lines document; the template must have DocTmplQuoteType=ConfirmationLines

MaxDiscountPercentSet
boolean

Is there a limit, in percent, to the total discount on quotes linked to sales of this type

MinEarningPercentSet
boolean

Is there a limit, in earning as percent of total, on quotes linked to sales of this type

MaxDiscountPercent
integer<int32>

The maximum discount in percent of total, if set, on quotes linked to sales of this type

MinEarningPercent
integer<int32>

The minimum earning in percent of total, if set, on quotes linked to sales of this type

GroupQuoteLinesBy
integer<int32>

Group quote lines by this field

SortGroupLinesBy
integer<int32>

Sort group lines by this field

Stages
object[]

Stages, those associated with this SaleType are selected. Use MDO List name "salestage" to get list items.

TableRight
object

Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.

FieldProperties
object

Field property dictionary mapping field names to field access rights.