GET api/manager/phones/customer/{personId}/property/history

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PropertyHistoryViewModel
NameDescriptionTypeAdditional information
IdHistory

integer

None.

IdPerson

integer

None.

IdOperator

integer

None.

IdPlan

integer

None.

PlanPrice

decimal number

None.

IdPhone

integer

None.

PhoneNumber

integer

None.

PhoneDDD

integer

None.

EventType

integer

None.

IdStatus

integer

None.

Change

date

None.

Entrada

date

None.

Saida

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IdHistory": 1,
    "IdPerson": 1,
    "IdOperator": 1,
    "IdPlan": 1,
    "PlanPrice": 1.1,
    "IdPhone": 1,
    "PhoneNumber": 1,
    "PhoneDDD": 1,
    "EventType": 1,
    "IdStatus": 1,
    "Change": "2024-11-16T18:32:57.5838748-03:00",
    "Entrada": "2024-11-16T18:32:57.5838748-03:00",
    "Saida": "2024-11-16T18:32:57.5838748-03:00"
  },
  {
    "IdHistory": 1,
    "IdPerson": 1,
    "IdOperator": 1,
    "IdPlan": 1,
    "PlanPrice": 1.1,
    "IdPhone": 1,
    "PhoneNumber": 1,
    "PhoneDDD": 1,
    "EventType": 1,
    "IdStatus": 1,
    "Change": "2024-11-16T18:32:57.5838748-03:00",
    "Entrada": "2024-11-16T18:32:57.5838748-03:00",
    "Saida": "2024-11-16T18:32:57.5838748-03:00"
  }
]

text/html

Sample:
[{"IdHistory":1,"IdPerson":1,"IdOperator":1,"IdPlan":1,"PlanPrice":1.1,"IdPhone":1,"PhoneNumber":1,"PhoneDDD":1,"EventType":1,"IdStatus":1,"Change":"2024-11-16T18:32:57.5838748-03:00","Entrada":"2024-11-16T18:32:57.5838748-03:00","Saida":"2024-11-16T18:32:57.5838748-03:00"},{"IdHistory":1,"IdPerson":1,"IdOperator":1,"IdPlan":1,"PlanPrice":1.1,"IdPhone":1,"PhoneNumber":1,"PhoneDDD":1,"EventType":1,"IdStatus":1,"Change":"2024-11-16T18:32:57.5838748-03:00","Entrada":"2024-11-16T18:32:57.5838748-03:00","Saida":"2024-11-16T18:32:57.5838748-03:00"}]

application/xml, text/xml

Sample:
<ArrayOfPropertyHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.phone">
  <PropertyHistoryViewModel>
    <Change>2024-11-16T18:32:57.5838748-03:00</Change>
    <Entrada>2024-11-16T18:32:57.5838748-03:00</Entrada>
    <EventType>1</EventType>
    <IdHistory>1</IdHistory>
    <IdOperator>1</IdOperator>
    <IdPerson>1</IdPerson>
    <IdPhone>1</IdPhone>
    <IdPlan>1</IdPlan>
    <IdStatus>1</IdStatus>
    <PhoneDDD>1</PhoneDDD>
    <PhoneNumber>1</PhoneNumber>
    <PlanPrice>1.1</PlanPrice>
    <Saida>2024-11-16T18:32:57.5838748-03:00</Saida>
  </PropertyHistoryViewModel>
  <PropertyHistoryViewModel>
    <Change>2024-11-16T18:32:57.5838748-03:00</Change>
    <Entrada>2024-11-16T18:32:57.5838748-03:00</Entrada>
    <EventType>1</EventType>
    <IdHistory>1</IdHistory>
    <IdOperator>1</IdOperator>
    <IdPerson>1</IdPerson>
    <IdPhone>1</IdPhone>
    <IdPlan>1</IdPlan>
    <IdStatus>1</IdStatus>
    <PhoneDDD>1</PhoneDDD>
    <PhoneNumber>1</PhoneNumber>
    <PlanPrice>1.1</PlanPrice>
    <Saida>2024-11-16T18:32:57.5838748-03:00</Saida>
  </PropertyHistoryViewModel>
</ArrayOfPropertyHistoryViewModel>