PUT api/User/UpdatePhone

Request Information

URI Parameters

None.

Body Parameters

EditPhoneProfile
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "phoneNumber": "sample string 1"
}

text/html

Sample:
{"phoneNumber":"sample string 1"}

application/xml, text/xml

Sample:
<UserController.EditPhoneProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers">
  <PhoneNumber>sample string 1</PhoneNumber>
</UserController.EditPhoneProfile>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Result

ApiResult

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {
    "resultCode": 1,
    "resultMessage": "sample string 2"
  }
}

text/html

Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"}}

application/xml, text/xml

Sample:
<CommonModels.APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Models">
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
    <d2p1:ResultCode>1</d2p1:ResultCode>
    <d2p1:ResultMessage>sample string 2</d2p1:ResultMessage>
  </Result>
</CommonModels.APIResponse>