POST api/mvno/contel/block/customer
Request Information
URI Parameters
None.
Body Parameters
BlockRequestName | Description | Type | Additional 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:
Response Information
Resource Description
Collection of BlockLineResponseUIName | Description | Type | Additional 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>