POST api/Cloth/Update
Request Information
URI Parameters
None.
Body Parameters
ClothModel| Name | Description | Type | Additional information |
|---|---|---|---|
| name | string |
None. |
|
| spanish_name | string |
None. |
|
| code | string |
None. |
|
| image_path | Object |
None. |
|
| branch_id | integer |
None. |
|
| id | integer |
None. |
|
| text | string |
None. |
|
| is_active | boolean |
None. |
|
| created_by | integer |
None. |
|
| created_date | date |
None. |
|
| updated_by | integer |
None. |
|
| updated_date | date |
None. |
|
| TotalRows | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"name": "sample string 1",
"spanish_name": "sample string 2",
"code": "sample string 3",
"image_path": {},
"branch_id": 5,
"id": 6,
"text": "sample string 7",
"is_active": true,
"created_by": 9,
"created_date": "2025-12-18T16:09:47.3739137+05:00",
"updated_by": 11,
"updated_date": "2025-12-18T16:09:47.3739137+05:00",
"TotalRows": 13
}
application/xml, text/xml
Sample:
<ClothModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpoonRocket.Models"> <TotalRows>13</TotalRows> <created_by>9</created_by> <created_date>2025-12-18T16:09:47.3739137+05:00</created_date> <id>6</id> <is_active>true</is_active> <text>sample string 7</text> <updated_by>11</updated_by> <updated_date>2025-12-18T16:09:47.3739137+05:00</updated_date> <branch_id>5</branch_id> <code>sample string 3</code> <image_path /> <name>sample string 1</name> <spanish_name>sample string 2</spanish_name> </ClothModel>
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.