POST api/Masters/SaveCategory
Request Information
URI Parameters
None.
Body Parameters
CategoryMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"CategoryName": "sample string 2",
"Description": "sample string 3"
}
application/xml, text/xml
Sample:
<CategoryMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Models"> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> <Description>sample string 3</Description> </CategoryMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| status | integer |
None. |
|
| Isupoad | boolean |
None. |
|
| imageurl | string |
None. |
|
| Data | Object |
None. |
|
| IsSuccess | boolean |
None. |
|
| StatusCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"status": 2,
"Isupoad": true,
"imageurl": "sample string 4",
"Data": {},
"IsSuccess": true,
"StatusCode": 7
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/akwiecommApi.Models"> <Data /> <IsSuccess>true</IsSuccess> <Isupoad>true</Isupoad> <Message>sample string 1</Message> <StatusCode>7</StatusCode> <imageurl>sample string 4</imageurl> <status>2</status> </Response>