POST api/profile/cross/insert
Request Information
URI Parameters
None.
Body Parameters
CustomerCrossRegisterViewModelName | Description | Type | Additional information |
---|---|---|---|
name | string |
None. |
|
phone | string |
None. |
|
country | string |
None. |
|
string |
None. |
||
documento | string |
None. |
|
password | string |
None. |
|
confirmPassword | string |
None. |
|
documentType | string |
None. |
|
idPai | integer |
None. |
|
refCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "name": "sample string 1", "phone": "sample string 2", "country": "sample string 3", "email": "sample string 4", "documento": "sample string 5", "password": "sample string 6", "confirmPassword": "sample string 7", "documentType": "sample string 8", "idPai": 1, "refCode": "sample string 9" }
text/html
Sample:
{"name":"sample string 1","phone":"sample string 2","country":"sample string 3","email":"sample string 4","documento":"sample string 5","password":"sample string 6","confirmPassword":"sample string 7","documentType":"sample string 8","idPai":1,"refCode":"sample string 9"}
application/xml, text/xml
Sample:
<CustomerCrossRegisterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.Business.Commons.Entities.ViewModel"> <confirmPassword>sample string 7</confirmPassword> <country>sample string 3</country> <documentType>sample string 8</documentType> <documento>sample string 5</documento> <email>sample string 4</email> <idPai>1</idPai> <name>sample string 1</name> <password>sample string 6</password> <phone>sample string 2</phone> <refCode>sample string 9</refCode> </CustomerCrossRegisterViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
RegisterResponseName | Description | Type | Additional information |
---|---|---|---|
Status | HttpStatusCode |
None. |
|
IdCliente | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 100, "IdCliente": 1, "Message": "sample string 2" }
text/html
Sample:
{"Status":100,"IdCliente":1,"Message":"sample string 2"}
application/xml, text/xml
Sample:
<ProfileAccess.RegisterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FoneClube.DataAccess"> <IdCliente>1</IdCliente> <Message>sample string 2</Message> <Status>Continue</Status> </ProfileAccess.RegisterResponse>