POST api/profile/customer/soft/delete/line

Request Information

URI Parameters

None.

Body Parameters

Phone
NameDescriptionTypeAdditional information
Id

integer

None.

DDD

string

None.

Number

string

None.

IsFoneclube

boolean

None.

IdOperator

integer

None.

Portability

boolean

None.

NickName

string

None.

IdPlanOption

integer

None.

Inative

boolean

None.

Delete

boolean

None.

LinhaAtiva

boolean

None.

PreviousStatusLinhaAtiva

boolean

None.

Ammount

string

None.

OperatorBlockedLineStatus

boolean

None.

OperatorStatusDescription

string

None.

PlanDescription

Object

None.

ResultValue

string

None.

EventTypeId

integer

None.

Status

integer

None.

PrecoVipStatus

boolean

None.

AmmountPrecoVip

integer

None.

StatusClaro

ClaroLineInfo

None.

StatusVivo

VivoLineInfo

None.

ChargeAmount

integer

None.

ResultAmount

integer

None.

Servicos

Collection of PhoneService

None.

OperatorDescription

string

None.

OperatorChargedPrice

integer

None.

Owner

integer

None.

OwnerName

string

None.

OwnerDocument

string

None.

Flags

Collection of Flag

None.

DataEntrada

date

None.

CountryCode

string

None.

PluginDR

string

None.

PlanoDR

string

None.

PlanoDivergente

boolean

None.

UsoLinha

string

None.

ICCID

string

None.

PortNumber

string

None.

PortDDD

string

None.

IsContelLine

boolean

None.

PlanoContel

string

None.

ESim

boolean

None.

FimPlano

string

None.

AutoContel

string

None.

AutoRecFC

string

None.

ContelStatus

string

None.

Cancela

string

None.

Activate

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DDD": "sample string 2",
  "Number": "sample string 3",
  "IsFoneclube": true,
  "IdOperator": 4,
  "Portability": true,
  "NickName": "sample string 5",
  "IdPlanOption": 1,
  "Inative": true,
  "Delete": true,
  "LinhaAtiva": true,
  "PreviousStatusLinhaAtiva": true,
  "Ammount": "sample string 6",
  "OperatorBlockedLineStatus": true,
  "OperatorStatusDescription": "sample string 8",
  "PlanDescription": {},
  "ResultValue": "sample string 10",
  "EventTypeId": 11,
  "Status": 1,
  "PrecoVipStatus": true,
  "AmmountPrecoVip": 1,
  "StatusClaro": {
    "Line": "sample string 1",
    "Subscriber": "sample string 2",
    "Profile": "sample string 3",
    "Voice": "sample string 4",
    "SMS": "sample string 5",
    "Data": "sample string 6",
    "Ativa": true,
    "Bloqueada": true
  },
  "StatusVivo": {
    "Ativa": true,
    "Status": "sample string 2"
  },
  "ChargeAmount": 1,
  "ResultAmount": 1,
  "Servicos": [
    {
      "Id": 1,
      "AmountOperadora": 1,
      "AmountFoneclube": 1,
      "Descricao": "sample string 2",
      "ExtraOption": true,
      "Assinatura": true,
      "Editavel": true
    },
    {
      "Id": 1,
      "AmountOperadora": 1,
      "AmountFoneclube": 1,
      "Descricao": "sample string 2",
      "ExtraOption": true,
      "Assinatura": true,
      "Editavel": true
    }
  ],
  "OperatorDescription": "sample string 12",
  "OperatorChargedPrice": 13,
  "Owner": 1,
  "OwnerName": "sample string 14",
  "OwnerDocument": "sample string 15",
  "Flags": [
    {
      "Id": 1,
      "RegisterDate": "2024-11-16T18:37:23.0725053-03:00",
      "PendingInteraction": true,
      "InteractionDescription": "sample string 4",
      "PhoneFlag": true,
      "IdType": 6,
      "TypeDescription": "sample string 7",
      "FullEmail": {
        "To": "sample string 1",
        "Title": "sample string 2",
        "Body": "sample string 3",
        "Cc": "sample string 4",
        "Bcc": "sample string 5",
        "BodyHtml": "sample string 6"
      }
    },
    {
      "Id": 1,
      "RegisterDate": "2024-11-16T18:37:23.0725053-03:00",
      "PendingInteraction": true,
      "InteractionDescription": "sample string 4",
      "PhoneFlag": true,
      "IdType": 6,
      "TypeDescription": "sample string 7",
      "FullEmail": {
        "To": "sample string 1",
        "Title": "sample string 2",
        "Body": "sample string 3",
        "Cc": "sample string 4",
        "Bcc": "sample string 5",
        "BodyHtml": "sample string 6"
      }
    }
  ],
  "DataEntrada": "2024-11-16T18:37:23.0725053-03:00",
  "CountryCode": "sample string 16",
  "PluginDR": "sample string 17",
  "PlanoDR": "sample string 18",
  "PlanoDivergente": true,
  "UsoLinha": "sample string 20",
  "ICCID": "sample string 21",
  "PortNumber": "sample string 22",
  "PortDDD": "sample string 23",
  "IsContelLine": true,
  "PlanoContel": "sample string 25",
  "ESim": true,
  "FimPlano": "sample string 27",
  "AutoContel": "sample string 28",
  "AutoRecFC": "sample string 29",
  "ContelStatus": "sample string 30",
  "Cancela": "sample string 31",
  "Activate": true
}

text/html

Sample:
{"Id":1,"DDD":"sample string 2","Number":"sample string 3","IsFoneclube":true,"IdOperator":4,"Portability":true,"NickName":"sample string 5","IdPlanOption":1,"Inative":true,"Delete":true,"LinhaAtiva":true,"PreviousStatusLinhaAtiva":true,"Ammount":"sample string 6","OperatorBlockedLineStatus":true,"OperatorStatusDescription":"sample string 8","PlanDescription":{},"ResultValue":"sample string 10","EventTypeId":11,"Status":1,"PrecoVipStatus":true,"AmmountPrecoVip":1,"StatusClaro":{"Line":"sample string 1","Subscriber":"sample string 2","Profile":"sample string 3","Voice":"sample string 4","SMS":"sample string 5","Data":"sample string 6","Ativa":true,"Bloqueada":true},"StatusVivo":{"Ativa":true,"Status":"sample string 2"},"ChargeAmount":1,"ResultAmount":1,"Servicos":[{"Id":1,"AmountOperadora":1,"AmountFoneclube":1,"Descricao":"sample string 2","ExtraOption":true,"Assinatura":true,"Editavel":true},{"Id":1,"AmountOperadora":1,"AmountFoneclube":1,"Descricao":"sample string 2","ExtraOption":true,"Assinatura":true,"Editavel":true}],"OperatorDescription":"sample string 12","OperatorChargedPrice":13,"Owner":1,"OwnerName":"sample string 14","OwnerDocument":"sample string 15","Flags":[{"Id":1,"RegisterDate":"2024-11-16T18:37:23.0725053-03:00","PendingInteraction":true,"InteractionDescription":"sample string 4","PhoneFlag":true,"IdType":6,"TypeDescription":"sample string 7","FullEmail":{"To":"sample string 1","Title":"sample string 2","Body":"sample string 3","Cc":"sample string 4","Bcc":"sample string 5","BodyHtml":"sample string 6"}},{"Id":1,"RegisterDate":"2024-11-16T18:37:23.0725053-03:00","PendingInteraction":true,"InteractionDescription":"sample string 4","PhoneFlag":true,"IdType":6,"TypeDescription":"sample string 7","FullEmail":{"To":"sample string 1","Title":"sample string 2","Body":"sample string 3","Cc":"sample string 4","Bcc":"sample string 5","BodyHtml":"sample string 6"}}],"DataEntrada":"2024-11-16T18:37:23.0725053-03:00","CountryCode":"sample string 16","PluginDR":"sample string 17","PlanoDR":"sample string 18","PlanoDivergente":true,"UsoLinha":"sample string 20","ICCID":"sample string 21","PortNumber":"sample string 22","PortDDD":"sample string 23","IsContelLine":true,"PlanoContel":"sample string 25","ESim":true,"FimPlano":"sample string 27","AutoContel":"sample string 28","AutoRecFC":"sample string 29","ContelStatus":"sample string 30","Cancela":"sample string 31","Activate":true}

application/xml, text/xml

Sample:
<Phone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <Activate>true</Activate>
  <Ammount>sample string 6</Ammount>
  <AmmountPrecoVip>1</AmmountPrecoVip>
  <AutoContel>sample string 28</AutoContel>
  <AutoRecFC>sample string 29</AutoRecFC>
  <Cancela>sample string 31</Cancela>
  <ChargeAmount>1</ChargeAmount>
  <ContelStatus>sample string 30</ContelStatus>
  <CountryCode>sample string 16</CountryCode>
  <DDD>sample string 2</DDD>
  <DataEntrada>2024-11-16T18:37:23.0725053-03:00</DataEntrada>
  <Delete>true</Delete>
  <ESim>true</ESim>
  <EventTypeId>11</EventTypeId>
  <FimPlano>sample string 27</FimPlano>
  <Flags>
    <Flag>
      <FullEmail xmlns:d4p1="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.email">
        <d4p1:Bcc>sample string 5</d4p1:Bcc>
        <d4p1:Body>sample string 3</d4p1:Body>
        <d4p1:BodyHtml>sample string 6</d4p1:BodyHtml>
        <d4p1:Cc>sample string 4</d4p1:Cc>
        <d4p1:Title>sample string 2</d4p1:Title>
        <d4p1:To>sample string 1</d4p1:To>
      </FullEmail>
      <Id>1</Id>
      <IdType>6</IdType>
      <InteractionDescription>sample string 4</InteractionDescription>
      <PendingInteraction>true</PendingInteraction>
      <PhoneFlag>true</PhoneFlag>
      <RegisterDate>2024-11-16T18:37:23.0725053-03:00</RegisterDate>
      <TypeDescription>sample string 7</TypeDescription>
    </Flag>
    <Flag>
      <FullEmail xmlns:d4p1="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.email">
        <d4p1:Bcc>sample string 5</d4p1:Bcc>
        <d4p1:Body>sample string 3</d4p1:Body>
        <d4p1:BodyHtml>sample string 6</d4p1:BodyHtml>
        <d4p1:Cc>sample string 4</d4p1:Cc>
        <d4p1:Title>sample string 2</d4p1:Title>
        <d4p1:To>sample string 1</d4p1:To>
      </FullEmail>
      <Id>1</Id>
      <IdType>6</IdType>
      <InteractionDescription>sample string 4</InteractionDescription>
      <PendingInteraction>true</PendingInteraction>
      <PhoneFlag>true</PhoneFlag>
      <RegisterDate>2024-11-16T18:37:23.0725053-03:00</RegisterDate>
      <TypeDescription>sample string 7</TypeDescription>
    </Flag>
  </Flags>
  <ICCID>sample string 21</ICCID>
  <Id>1</Id>
  <IdOperator>4</IdOperator>
  <IdPlanOption>1</IdPlanOption>
  <Inative>true</Inative>
  <IsContelLine>true</IsContelLine>
  <IsFoneclube>true</IsFoneclube>
  <LinhaAtiva>true</LinhaAtiva>
  <NickName>sample string 5</NickName>
  <Number>sample string 3</Number>
  <OperatorBlockedLineStatus>true</OperatorBlockedLineStatus>
  <OperatorChargedPrice>13</OperatorChargedPrice>
  <OperatorDescription>sample string 12</OperatorDescription>
  <OperatorStatusDescription>sample string 8</OperatorStatusDescription>
  <Owner>1</Owner>
  <OwnerDocument>sample string 15</OwnerDocument>
  <OwnerName>sample string 14</OwnerName>
  <PlanDescription />
  <PlanoContel>sample string 25</PlanoContel>
  <PlanoDR>sample string 18</PlanoDR>
  <PlanoDivergente>true</PlanoDivergente>
  <PluginDR>sample string 17</PluginDR>
  <PortDDD>sample string 23</PortDDD>
  <PortNumber>sample string 22</PortNumber>
  <Portability>true</Portability>
  <PrecoVipStatus>true</PrecoVipStatus>
  <PreviousStatusLinhaAtiva>true</PreviousStatusLinhaAtiva>
  <ResultAmount>1</ResultAmount>
  <ResultValue>sample string 10</ResultValue>
  <Servicos>
    <PhoneService>
      <AmountFoneclube>1</AmountFoneclube>
      <AmountOperadora>1</AmountOperadora>
      <Assinatura>true</Assinatura>
      <Descricao>sample string 2</Descricao>
      <Editavel>true</Editavel>
      <ExtraOption>true</ExtraOption>
      <Id>1</Id>
    </PhoneService>
    <PhoneService>
      <AmountFoneclube>1</AmountFoneclube>
      <AmountOperadora>1</AmountOperadora>
      <Assinatura>true</Assinatura>
      <Descricao>sample string 2</Descricao>
      <Editavel>true</Editavel>
      <ExtraOption>true</ExtraOption>
      <Id>1</Id>
    </PhoneService>
  </Servicos>
  <Status>1</Status>
  <StatusClaro xmlns:d2p1="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.Claro">
    <d2p1:Ativa>true</d2p1:Ativa>
    <d2p1:Bloqueada>true</d2p1:Bloqueada>
    <d2p1:Data>sample string 6</d2p1:Data>
    <d2p1:Line>sample string 1</d2p1:Line>
    <d2p1:Profile>sample string 3</d2p1:Profile>
    <d2p1:SMS>sample string 5</d2p1:SMS>
    <d2p1:Subscriber>sample string 2</d2p1:Subscriber>
    <d2p1:Voice>sample string 4</d2p1:Voice>
  </StatusClaro>
  <StatusVivo xmlns:d2p1="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.Vivo">
    <d2p1:Ativa>true</d2p1:Ativa>
    <d2p1:Status>sample string 2</d2p1:Status>
  </StatusVivo>
  <UsoLinha>sample string 20</UsoLinha>
</Phone>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

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