POST api/profile/customer/parent/insta/insert

Request Information

URI Parameters

None.

Body Parameters

PersonParentModel
NameDescriptionTypeAdditional information
ParentId

integer

None.

Name

string

None.

WhatsAppNumber

string

None.

CPF

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentId": 1,
  "Name": "sample string 2",
  "WhatsAppNumber": "sample string 3",
  "CPF": "sample string 4"
}

text/html

Sample:
{"ParentId":1,"Name":"sample string 2","WhatsAppNumber":"sample string 3","CPF":"sample string 4"}

application/xml, text/xml

Sample:
<PersonParentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities">
  <CPF>sample string 4</CPF>
  <Name>sample string 2</Name>
  <ParentId>1</ParentId>
  <WhatsAppNumber>sample string 3</WhatsAppNumber>
</PersonParentModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PersonParentModel'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>