PUT api/PortalAdmin/Portal/Update
Request Information
URI Parameters
None.
Body Parameters
PortalAdmin_UpdateBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 150 |
|
| Type | byte |
Required |
|
| ProjectId | integer |
None. |
|
| BranchId | integer |
None. |
|
| Status | byte |
Required |
|
| IsAutoConfirm | boolean |
Required |
|
| Hotline | string |
String length: inclusive between 0 and 50 |
|
| Address | string |
String length: inclusive between 0 and 200 |
|
| Logo | string |
String length: inclusive between 0 and 200 |
|
| Banner | string |
String length: inclusive between 0 and 200 |
|
| CodeSys | string |
String length: inclusive between 0 and 50 |
|
| TechniqueId | string |
None. |
|
| ContentGeneral | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"type": 64,
"projectId": 4,
"branchId": 5,
"status": 64,
"isAutoConfirm": true,
"hotline": "sample string 8",
"address": "sample string 9",
"logo": "sample string 10",
"banner": "sample string 11",
"codeSys": "sample string 12",
"techniqueId": "sample string 13",
"contentGeneral": "sample string 14"
}
application/xml, text/xml
Sample:
<PortalAdmin_UpdateBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.PortalAdmin"> <Address>sample string 9</Address> <Banner>sample string 11</Banner> <BranchId>5</BranchId> <CodeSys>sample string 12</CodeSys> <ContentGeneral>sample string 14</ContentGeneral> <Hotline>sample string 8</Hotline> <Id>1</Id> <IsAutoConfirm>true</IsAutoConfirm> <Logo>sample string 10</Logo> <Name>sample string 2</Name> <ProjectId>4</ProjectId> <Status>64</Status> <TechniqueId>sample string 13</TechniqueId> <Type>64</Type> </PortalAdmin_UpdateBindingModel>
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.