POST product/GetProductById
Request Information
URI Parameters
None.
Body Parameters
ProductModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
CategoryId | globally unique identifier |
None. |
|
MainCategoryId | globally unique identifier |
None. |
|
Title | string |
None. |
|
Price | string |
None. |
|
Description | string |
None. |
|
Name | string |
None. |
|
Breed | string |
None. |
|
Type | string |
None. |
|
SubCat | string |
None. |
|
Age | string |
None. |
|
Color | string |
None. |
|
Quality | string |
None. |
|
Quantity | string |
None. |
|
DeliveryCharge | string |
None. |
|
Weight | string |
None. |
|
Height | string |
None. |
|
Teeth | string |
None. |
|
Pregnancy | string |
None. |
|
ProductPic1 | string |
None. |
|
ProductPic2 | string |
None. |
|
ProductPic3 | string |
None. |
|
ProductPic4 | string |
None. |
|
ProductPic5 | string |
None. |
|
FileName | string |
None. |
|
UserId | globally unique identifier |
None. |
|
ProductUploader_MobileNo | string |
None. |
|
ProductUploader_Image | string |
None. |
|
ProductUploader_Name | string |
None. |
|
ProductUploader_Id | globally unique identifier |
None. |
|
Follower_Id | globally unique identifier |
None. |
|
FollowerCount | integer |
None. |
|
AdminApprovalStatus | boolean |
None. |
|
VideoUrl | string |
None. |
|
OrderId | globally unique identifier |
None. |
|
OrderStatus | integer |
None. |
|
ProductData | Collection of productDetails |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "8fe2d795-cbd7-4dde-a9ca-9eabfd0760d8", "CategoryId": "49512abf-a815-402c-9c65-6c8638cf9138", "MainCategoryId": "2185c24c-91e0-44f6-90ff-ded71153c8b5", "Title": "sample string 4", "Price": "sample string 5", "Description": "sample string 6", "Name": "sample string 7", "Breed": "sample string 8", "Type": "sample string 9", "SubCat": "sample string 10", "Age": "sample string 11", "Color": "sample string 12", "Quality": "sample string 13", "Quantity": "sample string 14", "DeliveryCharge": "sample string 15", "Weight": "sample string 16", "Height": "sample string 17", "Teeth": "sample string 18", "Pregnancy": "sample string 19", "ProductPic1": "sample string 20", "ProductPic2": "sample string 21", "ProductPic3": "sample string 22", "ProductPic4": "sample string 23", "ProductPic5": "sample string 24", "FileName": "sample string 25", "UserId": "2db1dbb5-828a-4fe1-bd53-2f473ea20afb", "ProductUploader_MobileNo": "sample string 27", "ProductUploader_Image": "sample string 28", "ProductUploader_Name": "sample string 29", "ProductUploader_Id": "da9e5aaa-a176-4ecb-8dc0-52c3f1604c85", "Follower_Id": "2d51e8e5-a138-460e-a0c5-a5ebe9f060d5", "FollowerCount": 32, "AdminApprovalStatus": true, "VideoUrl": "sample string 33", "OrderId": "68adc48e-5758-4a02-b3cd-2f7ccbaaee92", "OrderStatus": 1, "ProductData": [ { "Id": "f103c9c1-9952-4c64-bc49-ee1e533b4fee", "CategoryId": "7e98f0b4-14a9-4150-bc0f-7eef7161786f", "Title": "sample string 3", "Price": "sample string 4", "Description": "sample string 5", "FileName": "sample string 6", "ProductPic1": "sample string 7", "VideoUrl": "sample string 8", "SaleStatus": 9, "Main_CategoryId": "01a79c28-ec5a-47c7-9548-0bee95cedf49" }, { "Id": "f103c9c1-9952-4c64-bc49-ee1e533b4fee", "CategoryId": "7e98f0b4-14a9-4150-bc0f-7eef7161786f", "Title": "sample string 3", "Price": "sample string 4", "Description": "sample string 5", "FileName": "sample string 6", "ProductPic1": "sample string 7", "VideoUrl": "sample string 8", "SaleStatus": 9, "Main_CategoryId": "01a79c28-ec5a-47c7-9548-0bee95cedf49" } ] }
application/xml, text/xml
Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models"> <AdminApprovalStatus>true</AdminApprovalStatus> <Age>sample string 11</Age> <Breed>sample string 8</Breed> <CategoryId>49512abf-a815-402c-9c65-6c8638cf9138</CategoryId> <Color>sample string 12</Color> <DeliveryCharge>sample string 15</DeliveryCharge> <Description>sample string 6</Description> <FileName>sample string 25</FileName> <FollowerCount>32</FollowerCount> <Follower_Id>2d51e8e5-a138-460e-a0c5-a5ebe9f060d5</Follower_Id> <Height>sample string 17</Height> <Id>8fe2d795-cbd7-4dde-a9ca-9eabfd0760d8</Id> <MainCategoryId>2185c24c-91e0-44f6-90ff-ded71153c8b5</MainCategoryId> <Name>sample string 7</Name> <OrderId>68adc48e-5758-4a02-b3cd-2f7ccbaaee92</OrderId> <OrderStatus>1</OrderStatus> <Pregnancy>sample string 19</Pregnancy> <Price>sample string 5</Price> <ProductData> <ProductModel.productDetails> <CategoryId>7e98f0b4-14a9-4150-bc0f-7eef7161786f</CategoryId> <Description>sample string 5</Description> <FileName>sample string 6</FileName> <Id>f103c9c1-9952-4c64-bc49-ee1e533b4fee</Id> <Main_CategoryId>01a79c28-ec5a-47c7-9548-0bee95cedf49</Main_CategoryId> <Price>sample string 4</Price> <ProductPic1>sample string 7</ProductPic1> <SaleStatus>9</SaleStatus> <Title>sample string 3</Title> <VideoUrl>sample string 8</VideoUrl> </ProductModel.productDetails> <ProductModel.productDetails> <CategoryId>7e98f0b4-14a9-4150-bc0f-7eef7161786f</CategoryId> <Description>sample string 5</Description> <FileName>sample string 6</FileName> <Id>f103c9c1-9952-4c64-bc49-ee1e533b4fee</Id> <Main_CategoryId>01a79c28-ec5a-47c7-9548-0bee95cedf49</Main_CategoryId> <Price>sample string 4</Price> <ProductPic1>sample string 7</ProductPic1> <SaleStatus>9</SaleStatus> <Title>sample string 3</Title> <VideoUrl>sample string 8</VideoUrl> </ProductModel.productDetails> </ProductData> <ProductPic1>sample string 20</ProductPic1> <ProductPic2>sample string 21</ProductPic2> <ProductPic3>sample string 22</ProductPic3> <ProductPic4>sample string 23</ProductPic4> <ProductPic5>sample string 24</ProductPic5> <ProductUploader_Id>da9e5aaa-a176-4ecb-8dc0-52c3f1604c85</ProductUploader_Id> <ProductUploader_Image>sample string 28</ProductUploader_Image> <ProductUploader_MobileNo>sample string 27</ProductUploader_MobileNo> <ProductUploader_Name>sample string 29</ProductUploader_Name> <Quality>sample string 13</Quality> <Quantity>sample string 14</Quantity> <SubCat>sample string 10</SubCat> <Teeth>sample string 18</Teeth> <Title>sample string 4</Title> <Type>sample string 9</Type> <UserId>2db1dbb5-828a-4fe1-bd53-2f473ea20afb</UserId> <VideoUrl>sample string 33</VideoUrl> <Weight>sample string 16</Weight> </ProductModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.