PUT api/external/v1/ProductMaterial?CreateDataNotFound={CreateDataNotFound}&ContinueOnError={ContinueOnError}&FileName={FileName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CreateDataNotFound

boolean

Default value is False

ContinueOnError

boolean

Default value is False

FileName

string

Default value is

Body Parameters

Collection of SFE.Common.PublicEntities.ProductMaterialVM
NameDescriptionTypeAdditional information
Id

integer

None.

SKUAlphaNumId

string

None.

SKUName

string

None.

SKUCategoryAlphaNumId

string

None.

UnitOfMeasure

string

None.

QuantityFactor

decimal number

None.

QuantityFixed

decimal number

None.

ProductOperationId

integer

None.

ProductOperationName

string

None.

Tags

Collection of SFE.Common.PublicEntities.TagVM

None.

ProductOperationProductAlphaNumId

string

None.

ProductOperationOperationAlphaNumId

string

None.

UserName

string

None.

Comments

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "skuAlphaNumId": "sample string 1",
    "skuName": "sample string 2",
    "skuCategoryAlphaNumId": "sample string 3",
    "unitOfMeasure": "sample string 4",
    "quantityFactor": 5.0,
    "quantityFixed": 6.0,
    "productOperationId": 1,
    "productOperationName": "sample string 7",
    "tags": [
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      },
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      }
    ],
    "productOperationProductAlphaNumId": "sample string 8",
    "productOperationOperationAlphaNumId": "sample string 9",
    "userName": "sample string 10",
    "comments": "sample string 11"
  },
  {
    "id": 1,
    "skuAlphaNumId": "sample string 1",
    "skuName": "sample string 2",
    "skuCategoryAlphaNumId": "sample string 3",
    "unitOfMeasure": "sample string 4",
    "quantityFactor": 5.0,
    "quantityFixed": 6.0,
    "productOperationId": 1,
    "productOperationName": "sample string 7",
    "tags": [
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      },
      {
        "id": 1,
        "alphaNumId": "sample string 1",
        "name": "sample string 2",
        "tagKindId": 3,
        "tagKindName": "sample string 4"
      }
    ],
    "productOperationProductAlphaNumId": "sample string 8",
    "productOperationOperationAlphaNumId": "sample string 9",
    "userName": "sample string 10",
    "comments": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductMaterialVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Common.PublicEntities">
  <ProductMaterialVM>
    <Comments>sample string 11</Comments>
    <Id>1</Id>
    <ProductOperationId>1</ProductOperationId>
    <ProductOperationName>sample string 7</ProductOperationName>
    <ProductOperationOperationAlphaNumId>sample string 9</ProductOperationOperationAlphaNumId>
    <ProductOperationProductAlphaNumId>sample string 8</ProductOperationProductAlphaNumId>
    <QuantityFactor>5</QuantityFactor>
    <QuantityFixed>6</QuantityFixed>
    <SKUAlphaNumId>sample string 1</SKUAlphaNumId>
    <SKUCategoryAlphaNumId>sample string 3</SKUCategoryAlphaNumId>
    <SKUName>sample string 2</SKUName>
    <Tags>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
    </Tags>
    <UnitOfMeasure>sample string 4</UnitOfMeasure>
    <UserName>sample string 10</UserName>
  </ProductMaterialVM>
  <ProductMaterialVM>
    <Comments>sample string 11</Comments>
    <Id>1</Id>
    <ProductOperationId>1</ProductOperationId>
    <ProductOperationName>sample string 7</ProductOperationName>
    <ProductOperationOperationAlphaNumId>sample string 9</ProductOperationOperationAlphaNumId>
    <ProductOperationProductAlphaNumId>sample string 8</ProductOperationProductAlphaNumId>
    <QuantityFactor>5</QuantityFactor>
    <QuantityFixed>6</QuantityFixed>
    <SKUAlphaNumId>sample string 1</SKUAlphaNumId>
    <SKUCategoryAlphaNumId>sample string 3</SKUCategoryAlphaNumId>
    <SKUName>sample string 2</SKUName>
    <Tags>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
      <TagVM>
        <AlphaNumId>sample string 1</AlphaNumId>
        <Id>1</Id>
        <Name>sample string 2</Name>
        <TagKindId>3</TagKindId>
        <TagKindName>sample string 4</TagKindName>
      </TagVM>
    </Tags>
    <UnitOfMeasure>sample string 4</UnitOfMeasure>
    <UserName>sample string 10</UserName>
  </ProductMaterialVM>
</ArrayOfProductMaterialVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.