POST api/user/saveUserDetails

Request Information

URI Parameters

None.

Body Parameters

UserAccountViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

Detail

ContactDetail

None.

IsDeleted

boolean

None.

Role

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "id": "sample string 1",
  "email": "sample string 2",
  "detail": {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "fullName": "sample string 1 sample string 2",
    "title": "sample string 3",
    "phone1": "sample string 4",
    "phone2": "sample string 5",
    "officeAddress": {
      "addressLine1": "sample string 1",
      "addressLine2": "sample string 2",
      "city": "sample string 3",
      "zip": "sample string 4",
      "state": "sample string 5",
      "country": "sample string 6",
      "addressString": "sample string 1, sample string 2, sample string 3, sample string 5, sample string 6"
    }
  },
  "isDeleted": true,
  "role": "sample string 4"
}

application/xml, text/xml

Sample:
<UserAccountViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TAM.Security.Identity.Model">
  <Detail xmlns:d2p1="http://schemas.datacontract.org/2004/07/TAM.Data.Model.Shared">
    <d2p1:FirstName>sample string 1</d2p1:FirstName>
    <d2p1:LastName>sample string 2</d2p1:LastName>
    <d2p1:OfficeAddress>
      <d2p1:AddressLine1>sample string 1</d2p1:AddressLine1>
      <d2p1:AddressLine2>sample string 2</d2p1:AddressLine2>
      <d2p1:City>sample string 3</d2p1:City>
      <d2p1:Country>sample string 6</d2p1:Country>
      <d2p1:State>sample string 5</d2p1:State>
      <d2p1:Zip>sample string 4</d2p1:Zip>
    </d2p1:OfficeAddress>
    <d2p1:Phone1>sample string 4</d2p1:Phone1>
    <d2p1:Phone2>sample string 5</d2p1:Phone2>
    <d2p1:Title>sample string 3</d2p1:Title>
  </Detail>
  <Email>sample string 2</Email>
  <Id>sample string 1</Id>
  <IsDeleted>true</IsDeleted>
  <Role>sample string 4</Role>
</UserAccountViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.