POST api/v3/cliente

Request Information

URI Parameters

None.

Body Parameters

Collection of ClienteInput
NameDescriptionTypeAdditional information
Id

integer

None.

RegistroCliente

string

None.

TenantId

globally unique identifier

None.

Identificador

integer

None.

CdCli

integer

None.

CdFil

integer

None.

TpCli

string

None.

TpSex

string

None.

NrCnpj

string

None.

NomeCli

string

None.

DtNas

date

None.

DtCad

date

None.

Email

string

None.

Enderecos

Collection of EnderecoClienteInput

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "RegistroCliente": "sample string 2",
    "TenantId": "b1c2cc19-f8e9-4389-8fe7-52ccf34b6fd4",
    "Identificador": 4,
    "CdCli": 5,
    "CdFil": 1,
    "TpCli": "sample string 6",
    "TpSex": "sample string 7",
    "NrCnpj": "sample string 8",
    "NomeCli": "sample string 9",
    "DtNas": "2024-11-21T09:40:48.8062119+00:00",
    "DtCad": "2024-11-21T09:40:48.8062119+00:00",
    "Email": "sample string 10",
    "Enderecos": [
      {
        "Id": 1,
        "Identificador": 2,
        "TenantId": "260dcb20-6d19-49f6-8a97-b635f81a01e7",
        "Cliente_Id": 1,
        "Bairr": "sample string 4",
        "DescrEnd": "sample string 5",
        "Ender": "sample string 6",
        "EndNr": "sample string 7",
        "Munic": "sample string 8",
        "NrCep": "sample string 9",
        "NrDDD": "sample string 10",
        "NrDDD2": "sample string 11",
        "NrDDDFax": "sample string 12",
        "NrFax": "sample string 13",
        "NrTel": "sample string 14",
        "NrTel2": "sample string 15",
        "Ocender": "sample string 16",
        "RegistroCliente": "sample string 17",
        "UnFed": "sample string 18",
        "EndCp": "sample string 19",
        "EndRf": "sample string 20"
      },
      {
        "Id": 1,
        "Identificador": 2,
        "TenantId": "260dcb20-6d19-49f6-8a97-b635f81a01e7",
        "Cliente_Id": 1,
        "Bairr": "sample string 4",
        "DescrEnd": "sample string 5",
        "Ender": "sample string 6",
        "EndNr": "sample string 7",
        "Munic": "sample string 8",
        "NrCep": "sample string 9",
        "NrDDD": "sample string 10",
        "NrDDD2": "sample string 11",
        "NrDDDFax": "sample string 12",
        "NrFax": "sample string 13",
        "NrTel": "sample string 14",
        "NrTel2": "sample string 15",
        "Ocender": "sample string 16",
        "RegistroCliente": "sample string 17",
        "UnFed": "sample string 18",
        "EndCp": "sample string 19",
        "EndRf": "sample string 20"
      }
    ]
  },
  {
    "Id": 1,
    "RegistroCliente": "sample string 2",
    "TenantId": "b1c2cc19-f8e9-4389-8fe7-52ccf34b6fd4",
    "Identificador": 4,
    "CdCli": 5,
    "CdFil": 1,
    "TpCli": "sample string 6",
    "TpSex": "sample string 7",
    "NrCnpj": "sample string 8",
    "NomeCli": "sample string 9",
    "DtNas": "2024-11-21T09:40:48.8062119+00:00",
    "DtCad": "2024-11-21T09:40:48.8062119+00:00",
    "Email": "sample string 10",
    "Enderecos": [
      {
        "Id": 1,
        "Identificador": 2,
        "TenantId": "260dcb20-6d19-49f6-8a97-b635f81a01e7",
        "Cliente_Id": 1,
        "Bairr": "sample string 4",
        "DescrEnd": "sample string 5",
        "Ender": "sample string 6",
        "EndNr": "sample string 7",
        "Munic": "sample string 8",
        "NrCep": "sample string 9",
        "NrDDD": "sample string 10",
        "NrDDD2": "sample string 11",
        "NrDDDFax": "sample string 12",
        "NrFax": "sample string 13",
        "NrTel": "sample string 14",
        "NrTel2": "sample string 15",
        "Ocender": "sample string 16",
        "RegistroCliente": "sample string 17",
        "UnFed": "sample string 18",
        "EndCp": "sample string 19",
        "EndRf": "sample string 20"
      },
      {
        "Id": 1,
        "Identificador": 2,
        "TenantId": "260dcb20-6d19-49f6-8a97-b635f81a01e7",
        "Cliente_Id": 1,
        "Bairr": "sample string 4",
        "DescrEnd": "sample string 5",
        "Ender": "sample string 6",
        "EndNr": "sample string 7",
        "Munic": "sample string 8",
        "NrCep": "sample string 9",
        "NrDDD": "sample string 10",
        "NrDDD2": "sample string 11",
        "NrDDDFax": "sample string 12",
        "NrFax": "sample string 13",
        "NrTel": "sample string 14",
        "NrTel2": "sample string 15",
        "Ocender": "sample string 16",
        "RegistroCliente": "sample string 17",
        "UnFed": "sample string 18",
        "EndCp": "sample string 19",
        "EndRf": "sample string 20"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfClienteInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Common.Input.v3">
  <ClienteInput>
    <CdCli>5</CdCli>
    <CdFil>1</CdFil>
    <DtCad>2024-11-21T09:40:48.8062119+00:00</DtCad>
    <DtNas>2024-11-21T09:40:48.8062119+00:00</DtNas>
    <Email>sample string 10</Email>
    <Enderecos>
      <EnderecoClienteInput>
        <Bairr>sample string 4</Bairr>
        <Cliente_Id>1</Cliente_Id>
        <DescrEnd>sample string 5</DescrEnd>
        <EndCp>sample string 19</EndCp>
        <EndNr>sample string 7</EndNr>
        <EndRf>sample string 20</EndRf>
        <Ender>sample string 6</Ender>
        <Id>1</Id>
        <Identificador>2</Identificador>
        <Munic>sample string 8</Munic>
        <NrCep>sample string 9</NrCep>
        <NrDDD>sample string 10</NrDDD>
        <NrDDD2>sample string 11</NrDDD2>
        <NrDDDFax>sample string 12</NrDDDFax>
        <NrFax>sample string 13</NrFax>
        <NrTel>sample string 14</NrTel>
        <NrTel2>sample string 15</NrTel2>
        <Ocender>sample string 16</Ocender>
        <RegistroCliente>sample string 17</RegistroCliente>
        <TenantId>260dcb20-6d19-49f6-8a97-b635f81a01e7</TenantId>
        <UnFed>sample string 18</UnFed>
      </EnderecoClienteInput>
      <EnderecoClienteInput>
        <Bairr>sample string 4</Bairr>
        <Cliente_Id>1</Cliente_Id>
        <DescrEnd>sample string 5</DescrEnd>
        <EndCp>sample string 19</EndCp>
        <EndNr>sample string 7</EndNr>
        <EndRf>sample string 20</EndRf>
        <Ender>sample string 6</Ender>
        <Id>1</Id>
        <Identificador>2</Identificador>
        <Munic>sample string 8</Munic>
        <NrCep>sample string 9</NrCep>
        <NrDDD>sample string 10</NrDDD>
        <NrDDD2>sample string 11</NrDDD2>
        <NrDDDFax>sample string 12</NrDDDFax>
        <NrFax>sample string 13</NrFax>
        <NrTel>sample string 14</NrTel>
        <NrTel2>sample string 15</NrTel2>
        <Ocender>sample string 16</Ocender>
        <RegistroCliente>sample string 17</RegistroCliente>
        <TenantId>260dcb20-6d19-49f6-8a97-b635f81a01e7</TenantId>
        <UnFed>sample string 18</UnFed>
      </EnderecoClienteInput>
    </Enderecos>
    <Id>1</Id>
    <Identificador>4</Identificador>
    <NomeCli>sample string 9</NomeCli>
    <NrCnpj>sample string 8</NrCnpj>
    <RegistroCliente>sample string 2</RegistroCliente>
    <TenantId>b1c2cc19-f8e9-4389-8fe7-52ccf34b6fd4</TenantId>
    <TpCli>sample string 6</TpCli>
    <TpSex>sample string 7</TpSex>
  </ClienteInput>
  <ClienteInput>
    <CdCli>5</CdCli>
    <CdFil>1</CdFil>
    <DtCad>2024-11-21T09:40:48.8062119+00:00</DtCad>
    <DtNas>2024-11-21T09:40:48.8062119+00:00</DtNas>
    <Email>sample string 10</Email>
    <Enderecos>
      <EnderecoClienteInput>
        <Bairr>sample string 4</Bairr>
        <Cliente_Id>1</Cliente_Id>
        <DescrEnd>sample string 5</DescrEnd>
        <EndCp>sample string 19</EndCp>
        <EndNr>sample string 7</EndNr>
        <EndRf>sample string 20</EndRf>
        <Ender>sample string 6</Ender>
        <Id>1</Id>
        <Identificador>2</Identificador>
        <Munic>sample string 8</Munic>
        <NrCep>sample string 9</NrCep>
        <NrDDD>sample string 10</NrDDD>
        <NrDDD2>sample string 11</NrDDD2>
        <NrDDDFax>sample string 12</NrDDDFax>
        <NrFax>sample string 13</NrFax>
        <NrTel>sample string 14</NrTel>
        <NrTel2>sample string 15</NrTel2>
        <Ocender>sample string 16</Ocender>
        <RegistroCliente>sample string 17</RegistroCliente>
        <TenantId>260dcb20-6d19-49f6-8a97-b635f81a01e7</TenantId>
        <UnFed>sample string 18</UnFed>
      </EnderecoClienteInput>
      <EnderecoClienteInput>
        <Bairr>sample string 4</Bairr>
        <Cliente_Id>1</Cliente_Id>
        <DescrEnd>sample string 5</DescrEnd>
        <EndCp>sample string 19</EndCp>
        <EndNr>sample string 7</EndNr>
        <EndRf>sample string 20</EndRf>
        <Ender>sample string 6</Ender>
        <Id>1</Id>
        <Identificador>2</Identificador>
        <Munic>sample string 8</Munic>
        <NrCep>sample string 9</NrCep>
        <NrDDD>sample string 10</NrDDD>
        <NrDDD2>sample string 11</NrDDD2>
        <NrDDDFax>sample string 12</NrDDDFax>
        <NrFax>sample string 13</NrFax>
        <NrTel>sample string 14</NrTel>
        <NrTel2>sample string 15</NrTel2>
        <Ocender>sample string 16</Ocender>
        <RegistroCliente>sample string 17</RegistroCliente>
        <TenantId>260dcb20-6d19-49f6-8a97-b635f81a01e7</TenantId>
        <UnFed>sample string 18</UnFed>
      </EnderecoClienteInput>
    </Enderecos>
    <Id>1</Id>
    <Identificador>4</Identificador>
    <NomeCli>sample string 9</NomeCli>
    <NrCnpj>sample string 8</NrCnpj>
    <RegistroCliente>sample string 2</RegistroCliente>
    <TenantId>b1c2cc19-f8e9-4389-8fe7-52ccf34b6fd4</TenantId>
    <TpCli>sample string 6</TpCli>
    <TpSex>sample string 7</TpSex>
  </ClienteInput>
</ArrayOfClienteInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.