GET api/manager/phones/services/{personId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
personId

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PhoneServiceViewModel
NameDescriptionTypeAdditional information
ServiceId

integer

None.

ServiceName

string

None.

PersonPhoneId

integer

None.

ActiveDate

date

None.

DeActiveDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ServiceId": 1,
    "ServiceName": "sample string 2",
    "PersonPhoneId": 1,
    "ActiveDate": "2024-11-16T18:49:57.7924677-03:00",
    "DeActiveDate": "2024-11-16T18:49:57.7924677-03:00"
  },
  {
    "ServiceId": 1,
    "ServiceName": "sample string 2",
    "PersonPhoneId": 1,
    "ActiveDate": "2024-11-16T18:49:57.7924677-03:00",
    "DeActiveDate": "2024-11-16T18:49:57.7924677-03:00"
  }
]

text/html

Sample:
[{"ServiceId":1,"ServiceName":"sample string 2","PersonPhoneId":1,"ActiveDate":"2024-11-16T18:49:57.7924677-03:00","DeActiveDate":"2024-11-16T18:49:57.7924677-03:00"},{"ServiceId":1,"ServiceName":"sample string 2","PersonPhoneId":1,"ActiveDate":"2024-11-16T18:49:57.7924677-03:00","DeActiveDate":"2024-11-16T18:49:57.7924677-03:00"}]

application/xml, text/xml

Sample:
<ArrayOfPhoneServiceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube.phone">
  <PhoneServiceViewModel>
    <ActiveDate>2024-11-16T18:49:57.7924677-03:00</ActiveDate>
    <DeActiveDate>2024-11-16T18:49:57.7924677-03:00</DeActiveDate>
    <PersonPhoneId>1</PersonPhoneId>
    <ServiceId>1</ServiceId>
    <ServiceName>sample string 2</ServiceName>
  </PhoneServiceViewModel>
  <PhoneServiceViewModel>
    <ActiveDate>2024-11-16T18:49:57.7924677-03:00</ActiveDate>
    <DeActiveDate>2024-11-16T18:49:57.7924677-03:00</DeActiveDate>
    <PersonPhoneId>1</PersonPhoneId>
    <ServiceId>1</ServiceId>
    <ServiceName>sample string 2</ServiceName>
  </PhoneServiceViewModel>
</ArrayOfPhoneServiceViewModel>