POST api/Vendor/UpdateTreatMent
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"ListingId": "sample string 2",
"categoryId": "sample string 3",
"category": {
"id": "sample string 1",
"name": "sample string 2",
"logo": "sample string 3",
"cover": "sample string 4",
"hasQuantity": true,
"hasSize": true
},
"subCategory": {
"id": "sample string 1",
"name": "sample string 2",
"logo": "sample string 3",
"cover": "sample string 4",
"hasQuantity": true,
"hasSize": true
},
"productType": {
"id": "sample string 1",
"name": "sample string 2",
"logo": "sample string 3",
"cover": "sample string 4",
"hasQuantity": true,
"hasSize": true
},
"name": "sample string 4",
"hasVariants": "sample string 5",
"duration": "sample string 6",
"price": "sample string 7",
"tagIds": [
1,
2,
3
],
"details": "sample string 8",
"image": "sample string 9",
"quantitySold": "sample string 10",
"quantity": "sample string 11",
"offpeaklist": {},
"MealType": "sample string 13",
"tagsList": [
{
"id": "sample string 1",
"name": "sample string 2",
"fromAdmin": 3
},
{
"id": "sample string 1",
"name": "sample string 2",
"fromAdmin": 3
},
{
"id": "sample string 1",
"name": "sample string 2",
"fromAdmin": 3
}
],
"variantsList": {},
"priceOptionsList": {},
"isFavorite": true
}
text/xml
Sample:
<ProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models">
<ListingId>sample string 2</ListingId>
<MealType>sample string 13</MealType>
<category>
<cover>sample string 4</cover>
<hasQuantity>true</hasQuantity>
<hasSize>true</hasSize>
<id>sample string 1</id>
<logo>sample string 3</logo>
<name>sample string 2</name>
</category>
<categoryId>sample string 3</categoryId>
<details>sample string 8</details>
<duration>sample string 6</duration>
<hasVariants>sample string 5</hasVariants>
<id>sample string 1</id>
<image>sample string 9</image>
<isFavorite>true</isFavorite>
<name>sample string 4</name>
<offpeaklist />
<price>sample string 7</price>
<priceOptionsList />
<productType>
<cover>sample string 4</cover>
<hasQuantity>true</hasQuantity>
<hasSize>true</hasSize>
<id>sample string 1</id>
<logo>sample string 3</logo>
<name>sample string 2</name>
</productType>
<quantity>sample string 11</quantity>
<quantitySold>sample string 10</quantitySold>
<subCategory>
<cover>sample string 4</cover>
<hasQuantity>true</hasQuantity>
<hasSize>true</hasSize>
<id>sample string 1</id>
<logo>sample string 3</logo>
<name>sample string 2</name>
</subCategory>
<tagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
<d2p1:int>3</d2p1:int>
</tagIds>
<tagsList>
<TagModel>
<fromAdmin>3</fromAdmin>
<id>sample string 1</id>
<name>sample string 2</name>
</TagModel>
<TagModel>
<fromAdmin>3</fromAdmin>
<id>sample string 1</id>
<name>sample string 2</name>
</TagModel>
<TagModel>
<fromAdmin>3</fromAdmin>
<id>sample string 1</id>
<name>sample string 2</name>
</TagModel>
</tagsList>
<variantsList />
</ProductModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{
"response": "sample string 1",
"message": "sample string 2",
"addedId": "sample string 3"
}
text/xml
Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapishopinbelgium.Models"> <addedId>sample string 3</addedId> <message>sample string 2</message> <response>sample string 1</response> </CommonResponse>