GET api/article/SubstitutionArticles?originalArticle={originalArticle}&isGMDealer={isGMDealer}&prioritizeStockedDE={prioritizeStockedDE}&prioritizeStockedSE={prioritizeStockedSE}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
originalArticle

string

Required

isGMDealer

boolean

Required

prioritizeStockedDE

boolean

Default value is False

prioritizeStockedSE

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Collection of BlackBoxArticleSubstitution
NameDescriptionTypeAdditional information
SubstituteTo

string

None.

TypeOfSubstitute

integer

None.

Article

Article

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SubstituteTo": "sample string 1",
    "TypeOfSubstitute": 2,
    "Article": null
  },
  {
    "SubstituteTo": "sample string 1",
    "TypeOfSubstitute": 2,
    "Article": null
  }
]

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'KWParts.Elastic.Document.Article' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'KWParts.Elastic.Document.Article' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.