POST api/Customer/SaveCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerRequest
NameDescriptionTypeAdditional information
MallId

string

None.

CodeIdentificationType

integer

None.

IdentificationNumber

string

None.

FirstName

string

None.

SecondName

string

None.

LastName

string

None.

SecondLastName

string

None.

GenreId

integer

None.

MaritalStatusId

integer

None.

BornDate

date

None.

HobbyId

Collection of integer

None.

PetId

integer

None.

PetId2

integer

None.

PetId3

integer

None.

HasChildren

boolean

None.

SonName1

string

None.

SonName2

string

None.

SonName3

string

None.

SonAge1

integer

None.

SonAge2

integer

None.

SonAge3

integer

None.

Stratum

integer

None.

PlaySports

boolean

None.

DepartamentId

integer

None.

CityId

integer

None.

NeighborhoodId

integer

None.

Address

string

None.

AdditionalAddressInfo

string

None.

Phone

string

None.

MobilePhone

string

None.

Email

string

None.

Facebook

string

None.

Twitter

string

None.

Instagram

string

None.

AllowSendInfoEmail

boolean

None.

AllowSendInfoAddress

boolean

None.

AllowSendInfoMobile

boolean

None.

AllowTerms

boolean

None.

DateHabeasData

date

None.

IpRegister

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MallId": "sample string 1",
  "CodeIdentificationType": 2,
  "IdentificationNumber": "sample string 3",
  "FirstName": "sample string 4",
  "SecondName": "sample string 5",
  "LastName": "sample string 6",
  "SecondLastName": "sample string 7",
  "GenreId": 1,
  "MaritalStatusId": 1,
  "BornDate": "2026-02-02T23:28:12.5327334-05:00",
  "HobbyId": [
    1,
    2
  ],
  "PetId": 1,
  "PetId2": 1,
  "PetId3": 1,
  "HasChildren": true,
  "SonName1": "sample string 8",
  "SonName2": "sample string 9",
  "SonName3": "sample string 10",
  "SonAge1": 1,
  "SonAge2": 1,
  "SonAge3": 1,
  "Stratum": 1,
  "PlaySports": true,
  "DepartamentId": 1,
  "CityId": 1,
  "NeighborhoodId": 1,
  "Address": "sample string 11",
  "AdditionalAddressInfo": "sample string 12",
  "Phone": "sample string 13",
  "MobilePhone": "sample string 14",
  "Email": "sample string 15",
  "Facebook": "sample string 16",
  "Twitter": "sample string 17",
  "Instagram": "sample string 18",
  "AllowSendInfoEmail": true,
  "AllowSendInfoAddress": true,
  "AllowSendInfoMobile": true,
  "AllowTerms": true,
  "DateHabeasData": "2026-02-02T23:28:12.5327334-05:00",
  "IpRegister": "sample string 19"
}

application/xml, text/xml

Sample:
<CustomerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Big.Viva.Core.Domain.DTO">
  <AdditionalAddressInfo>sample string 12</AdditionalAddressInfo>
  <Address>sample string 11</Address>
  <AllowSendInfoAddress>true</AllowSendInfoAddress>
  <AllowSendInfoEmail>true</AllowSendInfoEmail>
  <AllowSendInfoMobile>true</AllowSendInfoMobile>
  <AllowTerms>true</AllowTerms>
  <BornDate>2026-02-02T23:28:12.5327334-05:00</BornDate>
  <CityId>1</CityId>
  <CodeIdentificationType>2</CodeIdentificationType>
  <DateHabeasData>2026-02-02T23:28:12.5327334-05:00</DateHabeasData>
  <DepartamentId>1</DepartamentId>
  <Email>sample string 15</Email>
  <Facebook>sample string 16</Facebook>
  <FirstName>sample string 4</FirstName>
  <GenreId>1</GenreId>
  <HasChildren>true</HasChildren>
  <HobbyId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </HobbyId>
  <IdentificationNumber>sample string 3</IdentificationNumber>
  <Instagram>sample string 18</Instagram>
  <IpRegister>sample string 19</IpRegister>
  <LastName>sample string 6</LastName>
  <MallId>sample string 1</MallId>
  <MaritalStatusId>1</MaritalStatusId>
  <MobilePhone>sample string 14</MobilePhone>
  <NeighborhoodId>1</NeighborhoodId>
  <PetId>1</PetId>
  <PetId2>1</PetId2>
  <PetId3>1</PetId3>
  <Phone>sample string 13</Phone>
  <PlaySports>true</PlaySports>
  <SecondLastName>sample string 7</SecondLastName>
  <SecondName>sample string 5</SecondName>
  <SonAge1>1</SonAge1>
  <SonAge2>1</SonAge2>
  <SonAge3>1</SonAge3>
  <SonName1>sample string 8</SonName1>
  <SonName2>sample string 9</SonName2>
  <SonName3>sample string 10</SonName3>
  <Stratum>1</Stratum>
  <Twitter>sample string 17</Twitter>
</CustomerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Result

boolean

None.

Code

integer

None.

Message

string

None.

Puntos

string

None.

session_id

string

None.

Data

DataTable

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "Code": 2,
  "Message": "sample string 3",
  "Puntos": "sample string 4",
  "session_id": "sample string 5",
  "Data": null
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Big.Viva.Core.Domain.DTO">
  <Code>2</Code>
  <Data i:nil="true" />
  <Message>sample string 3</Message>
  <Puntos>sample string 4</Puntos>
  <Result>true</Result>
  <session_id>sample string 5</session_id>
</Response>