POST api/manager/phones/transferline

Request Information

URI Parameters

None.

Body Parameters

TransferLineInputModel
NameDescriptionTypeAdditional information
prevPPhoneId

integer

None.

newPersonId

integer

None.

phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "prevPPhoneId": 1,
  "newPersonId": 2,
  "phone": "sample string 3"
}

text/html

Sample:
{"prevPPhoneId":1,"newPersonId":2,"phone":"sample string 3"}

application/xml, text/xml

Sample:
<TransferLineInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.linhas">
  <newPersonId>2</newPersonId>
  <phone>sample string 3</phone>
  <prevPPhoneId>1</prevPPhoneId>
</TransferLineInputModel>

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

Response Information

Resource Description

ResponseModelOfString
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

string

None.

StatusCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": "sample string 3",
  "StatusCode": 4
}

text/html

Sample:
{"Success":true,"Message":"sample string 2","Data":"sample string 3","StatusCode":4}

application/xml, text/xml

Sample:
<ResponseModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.Generic">
  <Data>sample string 3</Data>
  <Message>sample string 2</Message>
  <StatusCode>4</StatusCode>
  <Success>true</Success>
</ResponseModelOfstring>