POST api/mvno/contel/unblock/customer

Request Information

URI Parameters

None.

Body Parameters

BlockRequest
NameDescriptionTypeAdditional information
PersonId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1
}

text/html

Sample:
{"PersonId":1}

application/xml, text/xml

Sample:
<BlockRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <PersonId>1</PersonId>
</BlockRequest>

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

Response Information

Resource Description

Collection of BlockLineResponseUI
NameDescriptionTypeAdditional information
BlockLineResponse

BlockLineResponse

None.

Linha

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "BlockLineResponse": {
      "status": true,
      "mensagem": "sample string 2",
      "data": "sample string 3"
    },
    "Linha": "sample string 1"
  },
  {
    "BlockLineResponse": {
      "status": true,
      "mensagem": "sample string 2",
      "data": "sample string 3"
    },
    "Linha": "sample string 1"
  }
]

text/html

Sample:
[{"BlockLineResponse":{"status":true,"mensagem":"sample string 2","data":"sample string 3"},"Linha":"sample string 1"},{"BlockLineResponse":{"status":true,"mensagem":"sample string 2","data":"sample string 3"},"Linha":"sample string 1"}]

application/xml, text/xml

Sample:
<ArrayOfBlockLineResponseUI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <BlockLineResponseUI>
    <BlockLineResponse>
      <data>sample string 3</data>
      <mensagem>sample string 2</mensagem>
      <status>true</status>
    </BlockLineResponse>
    <Linha>sample string 1</Linha>
  </BlockLineResponseUI>
  <BlockLineResponseUI>
    <BlockLineResponse>
      <data>sample string 3</data>
      <mensagem>sample string 2</mensagem>
      <status>true</status>
    </BlockLineResponse>
    <Linha>sample string 1</Linha>
  </BlockLineResponseUI>
</ArrayOfBlockLineResponseUI>