POST api/Account/UpdateUserDetails

Request Information

URI Parameters

None.

Body Parameters

UpdateSiteUserDetailsInputModel
NameDescriptionTypeAdditional information
SessionID

string

None.

SiteUserID

integer

None.

FirstName

string

None.

LastName

string

None.

AddressLine1

string

None.

AddressLine2

string

None.

City

string

None.

State

string

None.

Zip

string

None.

Country

string

None.

Dob

string

None.

PhoneNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SessionID": "sample string 1",
  "SiteUserID": 2,
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "AddressLine1": "sample string 5",
  "AddressLine2": "sample string 6",
  "City": "sample string 7",
  "State": "sample string 8",
  "Zip": "sample string 9",
  "Country": "sample string 10",
  "Dob": "sample string 11",
  "PhoneNumber": "sample string 12"
}

text/html

Sample:
{"SessionID":"sample string 1","SiteUserID":2,"FirstName":"sample string 3","LastName":"sample string 4","AddressLine1":"sample string 5","AddressLine2":"sample string 6","City":"sample string 7","State":"sample string 8","Zip":"sample string 9","Country":"sample string 10","Dob":"sample string 11","PhoneNumber":"sample string 12"}

application/xml, text/xml

Sample:
<UpdateSiteUserDetailsInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <AddressLine1>sample string 5</AddressLine1>
  <AddressLine2>sample string 6</AddressLine2>
  <City>sample string 7</City>
  <Country>sample string 10</Country>
  <Dob>sample string 11</Dob>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 4</LastName>
  <PhoneNumber>sample string 12</PhoneNumber>
  <SessionID>sample string 1</SessionID>
  <SiteUserID>2</SiteUserID>
  <State>sample string 8</State>
  <Zip>sample string 9</Zip>
</UpdateSiteUserDetailsInputModel>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Data

Object

None.

ResultCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Data": {},
  "ResultCode": 4
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Data":{},"ResultCode":4}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <Data />
  <Message>sample string 1</Message>
  <ResultCode>4</ResultCode>
  <Status>true</Status>
</ResponseModel>