PUT api/Products/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
ProductName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
NumId | integer |
None. |
|
Name | string |
None. |
|
ActualPrice | string |
None. |
|
BookCode | string |
None. |
|
ISBN | string |
None. |
|
SalePrice | string |
None. |
|
ShortDescription | string |
None. |
|
LongDescription | string |
None. |
|
FeaturedImage | string |
None. |
|
Gallery1 | string |
None. |
|
Gallery2 | string |
None. |
|
Gallery3 | string |
None. |
|
Gallery4 | string |
None. |
|
Visibility | integer |
None. |
|
Ebook_file | string |
None. |
|
Sample_Ebook_file | string |
None. |
|
Rent_price | string |
None. |
|
Ebook_price | string |
None. |
|
Physical_Ebook_price | string |
None. |
|
Ebook_link | string |
None. |
|
Feature | integer |
None. |
|
AttributeGroup | string |
None. |
|
AttributeGroupNav | AttributeGroup |
None. |
|
CategoryName1 | string |
None. |
|
CategoryNav1 | Category |
None. |
|
CategoryName2 | string |
None. |
|
CategoryNav2 | Category |
None. |
|
CategoryName3 | string |
None. |
|
CategoryNav3 | Category |
None. |
|
CategoryName4 | string |
None. |
|
CategoryNav4 | Category |
None. |
|
CategoryName5 | string |
None. |
|
CategoryNav5 | Category |
None. |
|
CategoryName6 | string |
None. |
|
CategoryNav6 | Category |
None. |
|
AuthorName1 | string |
None. |
|
AuthorNav1 | Author |
None. |
|
AuthorName2 | string |
None. |
|
AuthorNav2 | Author |
None. |
|
AuthorName3 | string |
None. |
|
AuthorNav3 | Author |
None. |
|
AuthorName4 | string |
None. |
|
AuthorNav4 | Author |
None. |
|
AuthorName5 | string |
None. |
|
AuthorNav5 | Author |
None. |
|
Semester | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "NumId": 2, "Name": "sample string 3", "ActualPrice": "sample string 4", "BookCode": "sample string 5", "ISBN": "sample string 6", "SalePrice": "sample string 7", "ShortDescription": "sample string 8", "LongDescription": "sample string 9", "FeaturedImage": "sample string 10", "Gallery1": "sample string 11", "Gallery2": "sample string 12", "Gallery3": "sample string 13", "Gallery4": "sample string 14", "Visibility": 15, "Ebook_file": "sample string 16", "Sample_Ebook_file": "sample string 17", "Rent_price": "sample string 18", "Ebook_price": "sample string 19", "Physical_Ebook_price": "sample string 20", "Ebook_link": "sample string 21", "Feature": 22, "AttributeGroup": "sample string 23", "AttributeGroupNav": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "CategoryName1": "sample string 24", "CategoryNav1": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "CategoryName2": "sample string 25", "CategoryNav2": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "CategoryName3": "sample string 26", "CategoryNav3": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "CategoryName4": "sample string 27", "CategoryNav4": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "CategoryName5": "sample string 28", "CategoryNav5": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "CategoryName6": "sample string 29", "CategoryNav6": { "Id": "sample string 1", "NumId": 2, "Name": "sample string 3" }, "AuthorName1": "sample string 30", "AuthorNav1": { "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }, "AuthorName2": "sample string 31", "AuthorNav2": { "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }, "AuthorName3": "sample string 32", "AuthorNav3": { "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }, "AuthorName4": "sample string 33", "AuthorNav4": { "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }, "AuthorName5": "sample string 34", "AuthorNav5": { "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }, "Semester": "sample string 35" }
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models"> <ActualPrice>sample string 4</ActualPrice> <AttributeGroup>sample string 23</AttributeGroup> <AttributeGroupNav> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </AttributeGroupNav> <AuthorName1>sample string 30</AuthorName1> <AuthorName2>sample string 31</AuthorName2> <AuthorName3>sample string 32</AuthorName3> <AuthorName4>sample string 33</AuthorName4> <AuthorName5>sample string 34</AuthorName5> <AuthorNav1> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </AuthorNav1> <AuthorNav2> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </AuthorNav2> <AuthorNav3> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </AuthorNav3> <AuthorNav4> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </AuthorNav4> <AuthorNav5> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </AuthorNav5> <BookCode>sample string 5</BookCode> <CategoryName1>sample string 24</CategoryName1> <CategoryName2>sample string 25</CategoryName2> <CategoryName3>sample string 26</CategoryName3> <CategoryName4>sample string 27</CategoryName4> <CategoryName5>sample string 28</CategoryName5> <CategoryName6>sample string 29</CategoryName6> <CategoryNav1> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </CategoryNav1> <CategoryNav2> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </CategoryNav2> <CategoryNav3> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </CategoryNav3> <CategoryNav4> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </CategoryNav4> <CategoryNav5> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </CategoryNav5> <CategoryNav6> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> </CategoryNav6> <Ebook_file>sample string 16</Ebook_file> <Ebook_link>sample string 21</Ebook_link> <Ebook_price>sample string 19</Ebook_price> <Feature>22</Feature> <FeaturedImage>sample string 10</FeaturedImage> <Gallery1>sample string 11</Gallery1> <Gallery2>sample string 12</Gallery2> <Gallery3>sample string 13</Gallery3> <Gallery4>sample string 14</Gallery4> <ISBN>sample string 6</ISBN> <Id>sample string 1</Id> <LongDescription>sample string 9</LongDescription> <Name>sample string 3</Name> <NumId>2</NumId> <Physical_Ebook_price>sample string 20</Physical_Ebook_price> <Rent_price>sample string 18</Rent_price> <SalePrice>sample string 7</SalePrice> <Sample_Ebook_file>sample string 17</Sample_Ebook_file> <Semester>sample string 35</Semester> <ShortDescription>sample string 8</ShortDescription> <Visibility>15</Visibility> </Product>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.