GET api/manager/phones/customer/{personId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
personId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of PhoneViewModelName | Description | Type | Additional information |
---|---|---|---|
PersonPhoneId | integer |
None. |
|
PersonId | integer |
None. |
|
OperatorId | integer |
None. |
|
PlanId | integer |
None. |
|
StatusId | integer |
None. |
|
PhoneNumber | integer |
None. |
|
DDNumber | integer |
None. |
|
UsoLinha | integer |
None. |
|
PersonName | string |
None. |
|
NickName | string |
None. |
|
string |
None. |
||
DocumentNumber | string |
None. |
|
Register | string |
None. |
|
Born | string |
None. |
|
Gender | string |
None. |
|
Phone | string |
None. |
|
CompletePhone | string |
None. |
|
DisplayPhone | string |
None. |
|
OperatorName | string |
None. |
|
MasterOperatorName | string |
None. |
|
PlanDescription | string |
None. |
|
EntradaLinha | string |
None. |
|
SaidaLinha | string |
None. |
|
StatusName | string |
None. |
|
PlanCost | decimal number |
None. |
|
AmoutPrecoVip | integer |
None. |
|
AdditionServiceCost | decimal number |
None. |
|
CodigoCliente | string |
None. |
|
RazaoSocial | string |
None. |
|
CCID | string |
None. |
|
IsPortability | boolean |
None. |
|
IsActive | boolean |
None. |
|
IsPhoneClube | boolean |
None. |
|
Dono | boolean |
None. |
|
IsPrecoVip | boolean |
None. |
|
IsDelete | boolean |
None. |
|
BonusConceded | boolean |
None. |
|
PlanOptionId | integer |
None. |
|
PhoneServices | Collection of PhoneServiceViewModel |
None. |
|
DisplayPlanoOperador | string |
None. |
|
DisplayOperator | string |
None. |
|
DisplayOperatorCss | string |
None. |
|
CalculatePlanCost | decimal number |
None. |
|
DisplayPlanCost | string |
None. |
|
CalculateAmoutPrecoVip | decimal number |
None. |
|
DisplayAmoutPrecoVip | string |
None. |
|
DisplayUsoLinha | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "PersonPhoneId": 1, "PersonId": 2, "OperatorId": 3, "PlanId": 4, "StatusId": 1, "PhoneNumber": 5, "DDNumber": 6, "UsoLinha": 7, "PersonName": "sample string 8", "NickName": "sample string 9", "Email": "sample string 10", "DocumentNumber": "sample string 11", "Register": "sample string 12", "Born": "sample string 13", "Gender": "sample string 14", "Phone": "sample string 15", "CompletePhone": "sample string 16", "DisplayPhone": "sample string 17", "OperatorName": "sample string 18", "MasterOperatorName": "sample string 19", "PlanDescription": "sample string 20", "EntradaLinha": "sample string 21", "SaidaLinha": "sample string 22", "StatusName": "sample string 23", "PlanCost": 24.0, "AmoutPrecoVip": 25, "AdditionServiceCost": 26.0, "CodigoCliente": "sample string 27", "RazaoSocial": "sample string 28", "CCID": "sample string 29", "IsPortability": true, "IsActive": true, "IsPhoneClube": true, "Dono": true, "IsPrecoVip": true, "IsDelete": true, "BonusConceded": true, "PlanOptionId": 36, "PhoneServices": [ { "ServiceId": 1, "ServiceName": "sample string 2", "PersonPhoneId": 1, "ActiveDate": "2024-11-16T19:00:45.7842623-03:00", "DeActiveDate": "2024-11-16T19:00:45.7842623-03:00" }, { "ServiceId": 1, "ServiceName": "sample string 2", "PersonPhoneId": 1, "ActiveDate": "2024-11-16T19:00:45.7842623-03:00", "DeActiveDate": "2024-11-16T19:00:45.7842623-03:00" } ], "DisplayPlanoOperador": "sample string 18 sample string 19", "DisplayOperator": "E", "DisplayOperatorCss": "row-red", "CalculatePlanCost": 0.5, "DisplayPlanCost": "R$ 0.50", "CalculateAmoutPrecoVip": 0.51, "DisplayAmoutPrecoVip": "R$ 0.51", "DisplayUsoLinha": "não" }, { "PersonPhoneId": 1, "PersonId": 2, "OperatorId": 3, "PlanId": 4, "StatusId": 1, "PhoneNumber": 5, "DDNumber": 6, "UsoLinha": 7, "PersonName": "sample string 8", "NickName": "sample string 9", "Email": "sample string 10", "DocumentNumber": "sample string 11", "Register": "sample string 12", "Born": "sample string 13", "Gender": "sample string 14", "Phone": "sample string 15", "CompletePhone": "sample string 16", "DisplayPhone": "sample string 17", "OperatorName": "sample string 18", "MasterOperatorName": "sample string 19", "PlanDescription": "sample string 20", "EntradaLinha": "sample string 21", "SaidaLinha": "sample string 22", "StatusName": "sample string 23", "PlanCost": 24.0, "AmoutPrecoVip": 25, "AdditionServiceCost": 26.0, "CodigoCliente": "sample string 27", "RazaoSocial": "sample string 28", "CCID": "sample string 29", "IsPortability": true, "IsActive": true, "IsPhoneClube": true, "Dono": true, "IsPrecoVip": true, "IsDelete": true, "BonusConceded": true, "PlanOptionId": 36, "PhoneServices": [ { "ServiceId": 1, "ServiceName": "sample string 2", "PersonPhoneId": 1, "ActiveDate": "2024-11-16T19:00:45.7842623-03:00", "DeActiveDate": "2024-11-16T19:00:45.7842623-03:00" }, { "ServiceId": 1, "ServiceName": "sample string 2", "PersonPhoneId": 1, "ActiveDate": "2024-11-16T19:00:45.7842623-03:00", "DeActiveDate": "2024-11-16T19:00:45.7842623-03:00" } ], "DisplayPlanoOperador": "sample string 18 sample string 19", "DisplayOperator": "E", "DisplayOperatorCss": "row-red", "CalculatePlanCost": 0.5, "DisplayPlanCost": "R$ 0.50", "CalculateAmoutPrecoVip": 0.51, "DisplayAmoutPrecoVip": "R$ 0.51", "DisplayUsoLinha": "não" } ]
text/html
Sample:
[{"PersonPhoneId":1,"PersonId":2,"OperatorId":3,"PlanId":4,"StatusId":1,"PhoneNumber":5,"DDNumber":6,"UsoLinha":7,"PersonName":"sample string 8","NickName":"sample string 9","Email":"sample string 10","DocumentNumber":"sample string 11","Register":"sample string 12","Born":"sample string 13","Gender":"sample string 14","Phone":"sample string 15","CompletePhone":"sample string 16","DisplayPhone":"sample string 17","OperatorName":"sample string 18","MasterOperatorName":"sample string 19","PlanDescription":"sample string 20","EntradaLinha":"sample string 21","SaidaLinha":"sample string 22","StatusName":"sample string 23","PlanCost":24.0,"AmoutPrecoVip":25,"AdditionServiceCost":26.0,"CodigoCliente":"sample string 27","RazaoSocial":"sample string 28","CCID":"sample string 29","IsPortability":true,"IsActive":true,"IsPhoneClube":true,"Dono":true,"IsPrecoVip":true,"IsDelete":true,"BonusConceded":true,"PlanOptionId":36,"PhoneServices":[{"ServiceId":1,"ServiceName":"sample string 2","PersonPhoneId":1,"ActiveDate":"2024-11-16T19:00:45.7842623-03:00","DeActiveDate":"2024-11-16T19:00:45.7842623-03:00"},{"ServiceId":1,"ServiceName":"sample string 2","PersonPhoneId":1,"ActiveDate":"2024-11-16T19:00:45.7842623-03:00","DeActiveDate":"2024-11-16T19:00:45.7842623-03:00"}],"DisplayPlanoOperador":"sample string 18 sample string 19","DisplayOperator":"E","DisplayOperatorCss":"row-red","CalculatePlanCost":0.5,"DisplayPlanCost":"R$ 0.50","CalculateAmoutPrecoVip":0.51,"DisplayAmoutPrecoVip":"R$ 0.51","DisplayUsoLinha":"não"},{"PersonPhoneId":1,"PersonId":2,"OperatorId":3,"PlanId":4,"StatusId":1,"PhoneNumber":5,"DDNumber":6,"UsoLinha":7,"PersonName":"sample string 8","NickName":"sample string 9","Email":"sample string 10","DocumentNumber":"sample string 11","Register":"sample string 12","Born":"sample string 13","Gender":"sample string 14","Phone":"sample string 15","CompletePhone":"sample string 16","DisplayPhone":"sample string 17","OperatorName":"sample string 18","MasterOperatorName":"sample string 19","PlanDescription":"sample string 20","EntradaLinha":"sample string 21","SaidaLinha":"sample string 22","StatusName":"sample string 23","PlanCost":24.0,"AmoutPrecoVip":25,"AdditionServiceCost":26.0,"CodigoCliente":"sample string 27","RazaoSocial":"sample string 28","CCID":"sample string 29","IsPortability":true,"IsActive":true,"IsPhoneClube":true,"Dono":true,"IsPrecoVip":true,"IsDelete":true,"BonusConceded":true,"PlanOptionId":36,"PhoneServices":[{"ServiceId":1,"ServiceName":"sample string 2","PersonPhoneId":1,"ActiveDate":"2024-11-16T19:00:45.7842623-03:00","DeActiveDate":"2024-11-16T19:00:45.7842623-03:00"},{"ServiceId":1,"ServiceName":"sample string 2","PersonPhoneId":1,"ActiveDate":"2024-11-16T19:00:45.7842623-03:00","DeActiveDate":"2024-11-16T19:00:45.7842623-03:00"}],"DisplayPlanoOperador":"sample string 18 sample string 19","DisplayOperator":"E","DisplayOperatorCss":"row-red","CalculatePlanCost":0.5,"DisplayPlanCost":"R$ 0.50","CalculateAmoutPrecoVip":0.51,"DisplayAmoutPrecoVip":"R$ 0.51","DisplayUsoLinha":"não"}]
application/xml, text/xml
Sample:
<ArrayOfPhoneViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.phone"> <PhoneViewModel> <AdditionServiceCost>26</AdditionServiceCost> <AmoutPrecoVip>25</AmoutPrecoVip> <BonusConceded>true</BonusConceded> <Born>sample string 13</Born> <CCID>sample string 29</CCID> <CodigoCliente>sample string 27</CodigoCliente> <CompletePhone>sample string 16</CompletePhone> <DDNumber>6</DDNumber> <DisplayPhone>sample string 17</DisplayPhone> <DocumentNumber>sample string 11</DocumentNumber> <Dono>true</Dono> <Email>sample string 10</Email> <EntradaLinha>sample string 21</EntradaLinha> <Gender>sample string 14</Gender> <IsActive>true</IsActive> <IsDelete>true</IsDelete> <IsPhoneClube>true</IsPhoneClube> <IsPortability>true</IsPortability> <IsPrecoVip>true</IsPrecoVip> <MasterOperatorName>sample string 19</MasterOperatorName> <NickName>sample string 9</NickName> <OperatorId>3</OperatorId> <OperatorName>sample string 18</OperatorName> <PersonId>2</PersonId> <PersonName>sample string 8</PersonName> <PersonPhoneId>1</PersonPhoneId> <Phone>sample string 15</Phone> <PhoneNumber>5</PhoneNumber> <PhoneServices> <PhoneServiceViewModel> <ActiveDate>2024-11-16T19:00:45.7842623-03:00</ActiveDate> <DeActiveDate>2024-11-16T19:00:45.7842623-03:00</DeActiveDate> <PersonPhoneId>1</PersonPhoneId> <ServiceId>1</ServiceId> <ServiceName>sample string 2</ServiceName> </PhoneServiceViewModel> <PhoneServiceViewModel> <ActiveDate>2024-11-16T19:00:45.7842623-03:00</ActiveDate> <DeActiveDate>2024-11-16T19:00:45.7842623-03:00</DeActiveDate> <PersonPhoneId>1</PersonPhoneId> <ServiceId>1</ServiceId> <ServiceName>sample string 2</ServiceName> </PhoneServiceViewModel> </PhoneServices> <PlanCost>24</PlanCost> <PlanDescription>sample string 20</PlanDescription> <PlanId>4</PlanId> <PlanOptionId>36</PlanOptionId> <RazaoSocial>sample string 28</RazaoSocial> <Register>sample string 12</Register> <SaidaLinha>sample string 22</SaidaLinha> <StatusId>1</StatusId> <StatusName>sample string 23</StatusName> <UsoLinha>7</UsoLinha> </PhoneViewModel> <PhoneViewModel> <AdditionServiceCost>26</AdditionServiceCost> <AmoutPrecoVip>25</AmoutPrecoVip> <BonusConceded>true</BonusConceded> <Born>sample string 13</Born> <CCID>sample string 29</CCID> <CodigoCliente>sample string 27</CodigoCliente> <CompletePhone>sample string 16</CompletePhone> <DDNumber>6</DDNumber> <DisplayPhone>sample string 17</DisplayPhone> <DocumentNumber>sample string 11</DocumentNumber> <Dono>true</Dono> <Email>sample string 10</Email> <EntradaLinha>sample string 21</EntradaLinha> <Gender>sample string 14</Gender> <IsActive>true</IsActive> <IsDelete>true</IsDelete> <IsPhoneClube>true</IsPhoneClube> <IsPortability>true</IsPortability> <IsPrecoVip>true</IsPrecoVip> <MasterOperatorName>sample string 19</MasterOperatorName> <NickName>sample string 9</NickName> <OperatorId>3</OperatorId> <OperatorName>sample string 18</OperatorName> <PersonId>2</PersonId> <PersonName>sample string 8</PersonName> <PersonPhoneId>1</PersonPhoneId> <Phone>sample string 15</Phone> <PhoneNumber>5</PhoneNumber> <PhoneServices> <PhoneServiceViewModel> <ActiveDate>2024-11-16T19:00:45.7842623-03:00</ActiveDate> <DeActiveDate>2024-11-16T19:00:45.7842623-03:00</DeActiveDate> <PersonPhoneId>1</PersonPhoneId> <ServiceId>1</ServiceId> <ServiceName>sample string 2</ServiceName> </PhoneServiceViewModel> <PhoneServiceViewModel> <ActiveDate>2024-11-16T19:00:45.7842623-03:00</ActiveDate> <DeActiveDate>2024-11-16T19:00:45.7842623-03:00</DeActiveDate> <PersonPhoneId>1</PersonPhoneId> <ServiceId>1</ServiceId> <ServiceName>sample string 2</ServiceName> </PhoneServiceViewModel> </PhoneServices> <PlanCost>24</PlanCost> <PlanDescription>sample string 20</PlanDescription> <PlanId>4</PlanId> <PlanOptionId>36</PlanOptionId> <RazaoSocial>sample string 28</RazaoSocial> <Register>sample string 12</Register> <SaidaLinha>sample string 22</SaidaLinha> <StatusId>1</StatusId> <StatusName>sample string 23</StatusName> <UsoLinha>7</UsoLinha> </PhoneViewModel> </ArrayOfPhoneViewModel>