POST api/Account/UpdateMyAccount
Request Information
URI Parameters
None.
Body Parameters
RegisterUserInputModelName | Description | Type | Additional information |
---|---|---|---|
SessionID | string |
None. |
|
string |
None. |
||
FirstName | string |
None. |
|
LastName | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
City | string |
None. |
|
StateCode | string |
None. |
|
ZipCode | string |
None. |
|
PhoneNumber | string |
None. |
|
Username | string |
None. |
|
CountryCode | string |
None. |
|
Password | string |
None. |
|
WhereDidYouHearAboutUs | string |
None. |
|
RegistrationPromoCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SessionID": "sample string 1", "Email": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "City": "sample string 7", "StateCode": "sample string 8", "ZipCode": "sample string 9", "PhoneNumber": "sample string 10", "Username": "sample string 11", "CountryCode": "sample string 12", "Password": "sample string 13", "WhereDidYouHearAboutUs": "sample string 14", "RegistrationPromoCode": "sample string 15" }
text/html
Sample:
{"SessionID":"sample string 1","Email":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4","Address1":"sample string 5","Address2":"sample string 6","City":"sample string 7","StateCode":"sample string 8","ZipCode":"sample string 9","PhoneNumber":"sample string 10","Username":"sample string 11","CountryCode":"sample string 12","Password":"sample string 13","WhereDidYouHearAboutUs":"sample string 14","RegistrationPromoCode":"sample string 15"}
application/xml, text/xml
Sample:
<RegisterUserInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects"> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <City>sample string 7</City> <CountryCode>sample string 12</CountryCode> <Email>sample string 2</Email> <FirstName>sample string 3</FirstName> <LastName>sample string 4</LastName> <Password>sample string 13</Password> <PhoneNumber>sample string 10</PhoneNumber> <RegistrationPromoCode>sample string 15</RegistrationPromoCode> <SessionID>sample string 1</SessionID> <StateCode>sample string 8</StateCode> <Username>sample string 11</Username> <WhereDidYouHearAboutUs>sample string 14</WhereDidYouHearAboutUs> <ZipCode>sample string 9</ZipCode> </RegisterUserInputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseModelName | Description | Type | Additional 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>