POST api/profile/cross/update/phone/port

Request Information

URI Parameters

None.

Body Parameters

PhonesPendingToPortViewModel
NameDescriptionTypeAdditional information
userId

integer

None.

numPorts

integer

None.

phones

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "numPorts": 2,
  "phones": "sample string 3"
}

text/html

Sample:
{"userId":1,"numPorts":2,"phones":"sample string 3"}

application/xml, text/xml

Sample:
<PhonesPendingToPortViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.ViewModel">
  <numPorts>2</numPorts>
  <phones>sample string 3</phones>
  <userId>1</userId>
</PhonesPendingToPortViewModel>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>