POST v2/superlogica/cancelar

Request Information

URI Parameters

None.

Body Parameters

ReceiveContratoCanceladoSuperLogica
NameDescriptionTypeAdditional information
validationtoken

string

None.

data

ClienteContratoCanceladoData

None.

Request Formats

application/json, text/json

Sample:
{
  "validationtoken": "sample string 1",
  "data": {
    "$id": "2",
    "id_sacado_sac": 1,
    "id_plano_pla": 2,
    "st_identificador_plc": "sample string 3",
    "dt_contrato_plc": "2024-10-04T18:46:20.2955066-03:00",
    "dt_cancelamento_plc": "2024-10-04T18:46:20.2955066-03:00",
    "id_planocliente_plc": 6,
    "fl_trial_plc": 7.1,
    "dt_trialfim_plc": "2024-10-04T18:46:20.2955066-03:00",
    "dt_trialinicio_plc": "2024-10-04T18:46:20.2955066-03:00",
    "fl_autocontratar_plc": 10.1,
    "id_vendedor_for": "sample string 11",
    "st_emailindicacao_plc": "sample string 12",
    "st_nome_cup": "sample string 13",
    "st_identificadorextra_plc": "sample string 14",
    "fl_autorecontratar_plc": 15.1,
    "nm_parcelasadesao_plc": 16,
    "vl_aproxrenovacao_plc": 17.1,
    "vl_descontorenovacao_plc": 18.1,
    "id_proximarenovacao_recb": 19,
    "dt_ultimarenovacao_recb": "2024-10-04T18:46:20.2955066-03:00",
    "nm_diasgratis_plc": 21,
    "id_endereco_sen": 22,
    "fl_novocontrato_plc": 23.1
  }
}

application/xml, text/xml

Sample:
<ReceiveContratoCanceladoSuperLogica xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.API.Models.Superlogica.Clientes">
  <data>
    <dt_cancelamento_plc>2024-10-04T18:46:20.2955066-03:00</dt_cancelamento_plc>
    <dt_contrato_plc>2024-10-04T18:46:20.2955066-03:00</dt_contrato_plc>
    <dt_trialfim_plc>2024-10-04T18:46:20.2955066-03:00</dt_trialfim_plc>
    <dt_trialinicio_plc>2024-10-04T18:46:20.2955066-03:00</dt_trialinicio_plc>
    <dt_ultimarenovacao_recb>2024-10-04T18:46:20.2955066-03:00</dt_ultimarenovacao_recb>
    <fl_autocontratar_plc>10.1</fl_autocontratar_plc>
    <fl_autorecontratar_plc>15.1</fl_autorecontratar_plc>
    <fl_novocontrato_plc>23.1</fl_novocontrato_plc>
    <fl_trial_plc>7.1</fl_trial_plc>
    <id_endereco_sen>22</id_endereco_sen>
    <id_plano_pla>2</id_plano_pla>
    <id_planocliente_plc>6</id_planocliente_plc>
    <id_proximarenovacao_recb>19</id_proximarenovacao_recb>
    <id_sacado_sac>1</id_sacado_sac>
    <id_vendedor_for>sample string 11</id_vendedor_for>
    <nm_diasgratis_plc>21</nm_diasgratis_plc>
    <nm_parcelasadesao_plc>16</nm_parcelasadesao_plc>
    <st_emailindicacao_plc>sample string 12</st_emailindicacao_plc>
    <st_identificador_plc>sample string 3</st_identificador_plc>
    <st_identificadorextra_plc>sample string 14</st_identificadorextra_plc>
    <st_nome_cup>sample string 13</st_nome_cup>
    <vl_aproxrenovacao_plc>17.1</vl_aproxrenovacao_plc>
    <vl_descontorenovacao_plc>18.1</vl_descontorenovacao_plc>
  </data>
  <validationtoken>sample string 1</validationtoken>
</ReceiveContratoCanceladoSuperLogica>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RetornoPadrao
NameDescriptionTypeAdditional information
status

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<RetornoPadrao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.API.Models.Superlogica.Retorno">
  <message>sample string 2</message>
  <status>1</status>
</RetornoPadrao>