GET api/profile/customer/GetParentbyPhone?phoneparent={phoneparent}&personid={personid}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
phoneparent | integer |
Required |
|
personid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PersonParentName | Description | Type | Additional 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" }
text/html
Sample:
{"DDDParent":1,"PhoneParent":1,"NameParent":"sample string 1","IdPerson":1,"CPF":"sample string 2"}
application/xml, text/xml
Sample:
<PersonParent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.FoneClube"> <CPF>sample string 2</CPF> <DDDParent>1</DDDParent> <IdPerson>1</IdPerson> <NameParent>sample string 1</NameParent> <PhoneParent>1</PhoneParent> </PersonParent>