POST updateProductDetails
Request Information
URI Parameters
None.
Body Parameters
ProductNewModelName | Description | Type | Additional 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": "c5fc74a3-840e-4c56-a987-ce36ab6302ed", "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>c5fc74a3-840e-4c56-a987-ce36ab6302ed</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:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |