POST saveProductDetails

Request Information

URI Parameters

None.

Body Parameters

ProductNewModel
NameDescriptionTypeAdditional information
Id

integer

None.

ProductId

globally unique identifier

None.

ProductName

string

None.

ProductImage

string

None.

CategoryName

string

None.

CategoryId

integer

None.

MainCategory

string

None.

MainCategoryId

integer

None.

IsActive

integer

None.

HasRevitFile

integer

None.

CountryVisibility

string

None.

ConfigureBim

string

None.

ProductInfo

string

None.

ShortInfo

string

None.

Overview

string

None.

ConfiguratorImage

string

None.

BimFileImage

string

None.

Configurators

Collection of ConfiguratorModel

None.

BimFiles

Collection of ConfiguratorModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ProductId": "8b2b0396-4454-43ed-95fc-faf3f23fa202",
  "ProductName": "sample string 3",
  "ProductImage": "sample string 4",
  "CategoryName": "sample string 5",
  "CategoryId": 6,
  "MainCategory": "sample string 7",
  "MainCategoryId": 8,
  "IsActive": 9,
  "HasRevitFile": 10,
  "CountryVisibility": "sample string 11",
  "ConfigureBim": "sample string 12",
  "ProductInfo": "sample string 13",
  "ShortInfo": "sample string 14",
  "Overview": "sample string 15",
  "ConfiguratorImage": "sample string 16",
  "BimFileImage": "sample string 17",
  "Configurators": [
    {
      "Title": "sample string 1",
      "Description": "sample string 2",
      "Url": "sample string 3",
      "Position": 4
    },
    {
      "Title": "sample string 1",
      "Description": "sample string 2",
      "Url": "sample string 3",
      "Position": 4
    }
  ],
  "BimFiles": [
    {
      "Title": "sample string 1",
      "Description": "sample string 2",
      "Url": "sample string 3",
      "Position": 4
    },
    {
      "Title": "sample string 1",
      "Description": "sample string 2",
      "Url": "sample string 3",
      "Position": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ProductNewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AbbApi.Models">
  <BimFileImage>sample string 17</BimFileImage>
  <BimFiles>
    <ConfiguratorModel>
      <Description>sample string 2</Description>
      <Position>4</Position>
      <Title>sample string 1</Title>
      <Url>sample string 3</Url>
    </ConfiguratorModel>
    <ConfiguratorModel>
      <Description>sample string 2</Description>
      <Position>4</Position>
      <Title>sample string 1</Title>
      <Url>sample string 3</Url>
    </ConfiguratorModel>
  </BimFiles>
  <CategoryId>6</CategoryId>
  <CategoryName>sample string 5</CategoryName>
  <ConfiguratorImage>sample string 16</ConfiguratorImage>
  <Configurators>
    <ConfiguratorModel>
      <Description>sample string 2</Description>
      <Position>4</Position>
      <Title>sample string 1</Title>
      <Url>sample string 3</Url>
    </ConfiguratorModel>
    <ConfiguratorModel>
      <Description>sample string 2</Description>
      <Position>4</Position>
      <Title>sample string 1</Title>
      <Url>sample string 3</Url>
    </ConfiguratorModel>
  </Configurators>
  <ConfigureBim>sample string 12</ConfigureBim>
  <CountryVisibility>sample string 11</CountryVisibility>
  <HasRevitFile>10</HasRevitFile>
  <Id>1</Id>
  <IsActive>9</IsActive>
  <MainCategory>sample string 7</MainCategory>
  <MainCategoryId>8</MainCategoryId>
  <Overview>sample string 15</Overview>
  <ProductId>8b2b0396-4454-43ed-95fc-faf3f23fa202</ProductId>
  <ProductImage>sample string 4</ProductImage>
  <ProductInfo>sample string 13</ProductInfo>
  <ProductName>sample string 3</ProductName>
  <ShortInfo>sample string 14</ShortInfo>
</ProductNewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductNewModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.