GET api/profile/customer/GetParentAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of PersonParent
NameDescriptionTypeAdditional information
DDDParent

integer

None.

PhoneParent

integer

None.

NameParent

string

None.

IdPerson

integer

None.

CPF

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DDDParent": 1,
    "PhoneParent": 1,
    "NameParent": "sample string 1",
    "IdPerson": 1,
    "CPF": "sample string 2"
  },
  {
    "DDDParent": 1,
    "PhoneParent": 1,
    "NameParent": "sample string 1",
    "IdPerson": 1,
    "CPF": "sample string 2"
  }
]

text/html

Sample:
[{"DDDParent":1,"PhoneParent":1,"NameParent":"sample string 1","IdPerson":1,"CPF":"sample string 2"},{"DDDParent":1,"PhoneParent":1,"NameParent":"sample string 1","IdPerson":1,"CPF":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfPersonParent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube">
  <PersonParent>
    <CPF>sample string 2</CPF>
    <DDDParent>1</DDDParent>
    <IdPerson>1</IdPerson>
    <NameParent>sample string 1</NameParent>
    <PhoneParent>1</PhoneParent>
  </PersonParent>
  <PersonParent>
    <CPF>sample string 2</CPF>
    <DDDParent>1</DDDParent>
    <IdPerson>1</IdPerson>
    <NameParent>sample string 1</NameParent>
    <PhoneParent>1</PhoneParent>
  </PersonParent>
</ArrayOfPersonParent>