POST api/ManageUser/ChangeEmailUser

Request Information

URI Parameters

None.

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
id

string

None.

displayName

string

None.

token

string

None.

username

string

None.

image

string

None.

success

boolean

None.

rememberMe

boolean

None.

expireDate

string

None.

email

string

None.

phoneNumber

string

None.

businessCount

string

None.

vehicleCount

string

None.

errorMessage

string

None.

roles

Collection of RoleDTO

None.

isGoogleLogin

boolean

None.

profileIcon

string

None.

isTruckIcon

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "displayName": "sample string 2",
  "token": "sample string 3",
  "username": "sample string 4",
  "image": "sample string 5",
  "success": true,
  "rememberMe": true,
  "expireDate": "sample string 8",
  "email": "sample string 9",
  "phoneNumber": "sample string 10",
  "businessCount": "sample string 11",
  "vehicleCount": "sample string 12",
  "errorMessage": "sample string 13",
  "roles": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2"
    }
  ],
  "isGoogleLogin": true,
  "profileIcon": "sample string 15",
  "isTruckIcon": true
}

application/xml, text/xml

Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
  <businessCount>sample string 11</businessCount>
  <displayName>sample string 2</displayName>
  <email>sample string 9</email>
  <errorMessage>sample string 13</errorMessage>
  <expireDate>sample string 8</expireDate>
  <id>sample string 1</id>
  <image>sample string 5</image>
  <isGoogleLogin>true</isGoogleLogin>
  <isTruckIcon>true</isTruckIcon>
  <phoneNumber>sample string 10</phoneNumber>
  <profileIcon>sample string 15</profileIcon>
  <rememberMe>true</rememberMe>
  <roles>
    <RoleDTO>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </RoleDTO>
    <RoleDTO>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </RoleDTO>
  </roles>
  <success>true</success>
  <token>sample string 3</token>
  <username>sample string 4</username>
  <vehicleCount>sample string 12</vehicleCount>
</UserDTO>

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 'UserDTO'.

Response Information

Resource Description

IdentityResultDTO
NameDescriptionTypeAdditional information
success

boolean

None.

errorMessage

string

None.

error

Collection of string

None.

result

string

None.

resultObject

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errorMessage": "sample string 2",
  "error": [
    "sample string 1",
    "sample string 2"
  ],
  "result": "sample string 3",
  "resultObject": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<IdentityResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Application.DTOs">
  <error xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </error>
  <errorMessage>sample string 2</errorMessage>
  <result>sample string 3</result>
  <resultObject xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </resultObject>
  <success>true</success>
</IdentityResultDTO>