POST api/PortalAdmin/Portal/Insert
Request Information
URI Parameters
None.
Body Parameters
PortalAdmin_BinddingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"name": "sample string 1",
"type": 64,
"projectId": 3,
"branchId": 4,
"status": 64,
"isAutoConfirm": true,
"hotline": "sample string 7",
"address": "sample string 8",
"logo": "sample string 9",
"banner": "sample string 10",
"codeSys": "sample string 11",
"techniqueId": "sample string 12",
"contentGeneral": "sample string 13"
}
application/xml, text/xml
Sample:
<PortalAdmin_BinddingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.PortalAdmin"> <Address>sample string 8</Address> <Banner>sample string 10</Banner> <BranchId>4</BranchId> <CodeSys>sample string 11</CodeSys> <ContentGeneral>sample string 13</ContentGeneral> <Hotline>sample string 7</Hotline> <IsAutoConfirm>true</IsAutoConfirm> <Logo>sample string 9</Logo> <Name>sample string 1</Name> <ProjectId>3</ProjectId> <Status>64</Status> <TechniqueId>sample string 12</TechniqueId> <Type>64</Type> </PortalAdmin_BinddingModel>
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.