POST Products/GetProductAssemblyRecipe

Verkrijg een standaard assemblage recept voor een artikel

Request Information

URI Parameters

None.

Body Parameters

integer

Request Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>

Response Information

Resource Description

Logic4ResponseListOfProductAssemblyRecipeItem
NameDescriptionTypeAdditional information
Records

Collection of ProductAssemblyRecipeItem

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "ProductId": 1,
      "ProductCode": "sample string 2",
      "Qty": 3.0,
      "Sorting": 1,
      "IsStockBasedProduct": true
    },
    {
      "ProductId": 1,
      "ProductCode": "sample string 2",
      "Qty": 3.0,
      "Sorting": 1,
      "IsStockBasedProduct": true
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfProductAssemblyRecipeItemLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:ProductAssemblyRecipeItem>
      <d2p1:IsStockBasedProduct>true</d2p1:IsStockBasedProduct>
      <d2p1:ProductCode>sample string 2</d2p1:ProductCode>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:Qty>3</d2p1:Qty>
      <d2p1:Sorting>1</d2p1:Sorting>
    </d2p1:ProductAssemblyRecipeItem>
    <d2p1:ProductAssemblyRecipeItem>
      <d2p1:IsStockBasedProduct>true</d2p1:IsStockBasedProduct>
      <d2p1:ProductCode>sample string 2</d2p1:ProductCode>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:Qty>3</d2p1:Qty>
      <d2p1:Sorting>1</d2p1:Sorting>
    </d2p1:ProductAssemblyRecipeItem>
  </Records>
</Logic4ResponseListOfProductAssemblyRecipeItemLnN1pw8Y>