PUT api/admin/sections/UpdateSection
Request Information
URI Parameters
None.
Body Parameters
SectionPostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SectionID | integer |
None. |
|
| SectionName | string |
Required |
|
| TableName | string |
Required |
|
| UserID | string |
Required |
|
| IPAddress | string |
Required |
|
| ActionTakenBy | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"SectionID": 1,
"SectionName": "sample string 2",
"TableName": "sample string 3",
"UserID": "sample string 4",
"IPAddress": "sample string 5",
"ActionTakenBy": "sample string 6"
}
application/xml, text/xml
Sample:
<SectionPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomMasterModels"> <ActionTakenBy>sample string 6</ActionTakenBy> <IPAddress>sample string 5</IPAddress> <SectionID>1</SectionID> <SectionName>sample string 2</SectionName> <TableName>sample string 3</TableName> <UserID>sample string 4</UserID> </SectionPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfInt32| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": 3
}
application/xml, text/xml
Sample:
<ApiResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models"> <Data>3</Data> <Message>sample string 2</Message> <Success>true</Success> </ApiResponseOfint>