POST api/unitedweb/getProductDetails
Request Information
URI Parameters
None.
Body Parameters
Product| Name | Description | Type | Additional information |
|---|---|---|---|
| productId | integer |
None. |
|
| productName | string |
None. |
|
| productImage | string |
None. |
|
| categoryId | integer |
None. |
|
| sellingPrice | decimal number |
None. |
|
| costPrice | decimal number |
None. |
|
| price | decimal number |
None. |
|
| discount | decimal number |
None. |
|
| quantity | integer |
None. |
|
| gst | integer |
None. |
|
| status | integer |
None. |
|
| createdAt | date |
None. |
|
| modifiedAt | date |
None. |
|
| unit | string |
None. |
|
| description | string |
None. |
|
| features | string |
None. |
|
| isNewlyAdded | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"productId": 1,
"productName": "sample string 2",
"productImage": "sample string 3",
"categoryId": 1,
"sellingPrice": 1.0,
"costPrice": 1.0,
"price": 1.0,
"discount": 1.0,
"quantity": 1,
"gst": 1,
"status": 1,
"createdAt": "2026-07-03T09:11:27.4119274+00:00",
"modifiedAt": "2026-07-03T09:11:27.4119274+00:00",
"unit": "sample string 6",
"description": "sample string 7",
"features": "sample string 8",
"isNewlyAdded": 9
}
application/xml, text/xml
Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Entity"> <categoryId>1</categoryId> <costPrice>1</costPrice> <createdAt>2026-07-03T09:11:27.4119274+00:00</createdAt> <description>sample string 7</description> <discount>1</discount> <features>sample string 8</features> <gst>1</gst> <isNewlyAdded>9</isNewlyAdded> <modifiedAt>2026-07-03T09:11:27.4119274+00:00</modifiedAt> <price>1</price> <productId>1</productId> <productImage>sample string 3</productImage> <productName>sample string 2</productName> <quantity>1</quantity> <sellingPrice>1</sellingPrice> <status>1</status> <unit>sample string 6</unit> </Product>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
APIDataResponseOfProduct| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| status | string |
None. |
|
| data | Product |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"status": "sample string 3",
"data": {
"productId": 1,
"productName": "sample string 2",
"productImage": "sample string 3",
"categoryId": 1,
"sellingPrice": 1.0,
"costPrice": 1.0,
"price": 1.0,
"discount": 1.0,
"quantity": 1,
"gst": 1,
"status": 1,
"createdAt": "2026-07-03T09:11:27.4119274+00:00",
"modifiedAt": "2026-07-03T09:11:27.4119274+00:00",
"unit": "sample string 6",
"description": "sample string 7",
"features": "sample string 8",
"isNewlyAdded": 9
}
}
application/xml, text/xml
Sample:
<APIDataResponseOfProductAmpdAh_Se xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<code>1</code>
<data xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Entity">
<d2p1:categoryId>1</d2p1:categoryId>
<d2p1:costPrice>1</d2p1:costPrice>
<d2p1:createdAt>2026-07-03T09:11:27.4119274+00:00</d2p1:createdAt>
<d2p1:description>sample string 7</d2p1:description>
<d2p1:discount>1</d2p1:discount>
<d2p1:features>sample string 8</d2p1:features>
<d2p1:gst>1</d2p1:gst>
<d2p1:isNewlyAdded>9</d2p1:isNewlyAdded>
<d2p1:modifiedAt>2026-07-03T09:11:27.4119274+00:00</d2p1:modifiedAt>
<d2p1:price>1</d2p1:price>
<d2p1:productId>1</d2p1:productId>
<d2p1:productImage>sample string 3</d2p1:productImage>
<d2p1:productName>sample string 2</d2p1:productName>
<d2p1:quantity>1</d2p1:quantity>
<d2p1:sellingPrice>1</d2p1:sellingPrice>
<d2p1:status>1</d2p1:status>
<d2p1:unit>sample string 6</d2p1:unit>
</data>
<message>sample string 2</message>
<status>sample string 3</status>
</APIDataResponseOfProductAmpdAh_Se>