POST api/UserInfo/SaveOrUpdateUserInfoFromPortal

Request Information

URI Parameters

None.

Body Parameters

CreateUserInfoAdmin
NameDescriptionTypeAdditional information
Id

integer

None.

CenterId

integer

None.

UserName

string

None.

ApiAdress

string

None.

Password

string

None.

Email

string

None.

UserId

integer

None.

IsActive

boolean

None.

IsSystem

boolean

None.

IsAdmin

boolean

None.

FullName

string

None.

lstPermissionGroupId

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CenterId": 2,
  "UserName": "sample string 3",
  "ApiAdress": "sample string 4",
  "Password": "sample string 5",
  "Email": "sample string 6",
  "UserId": 7,
  "IsActive": true,
  "IsSystem": true,
  "IsAdmin": true,
  "FullName": "sample string 8",
  "lstPermissionGroupId": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CreateUserInfoAdmin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
  <ApiAdress>sample string 4</ApiAdress>
  <CenterId>2</CenterId>
  <Email>sample string 6</Email>
  <FullName>sample string 8</FullName>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <IsAdmin>true</IsAdmin>
  <IsSystem>true</IsSystem>
  <Password>sample string 5</Password>
  <UserId>7</UserId>
  <UserName>sample string 3</UserName>
  <lstPermissionGroupId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </lstPermissionGroupId>
</CreateUserInfoAdmin>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateUserInfoAdmin'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />