POST v2/parceiros/criar

Request Information

URI Parameters

None.

Body Parameters

PartnerSiteDTO
NameDescriptionTypeAdditional information
nomeContato

string

None.

slugParceiro

string

None.

totalVisitas

integer

None.

totalPageViews

integer

None.

telefoneContato

string

None.

emailContato

string

None.

nomeSite

string

None.

descricaoSite

string

None.

urlSite

string

None.

logoSite

Collection of byte

None.

nomeArquivo

string

None.

tipoTecnologia

TipoIntegracao

None.

urlNoticia

string

None.

urlListaNoticia

string

None.

variavelIdentificacao

string

None.

uf

string

None.

editorias

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nomeContato": "sample string 1",
  "slugParceiro": "sample string 2",
  "totalVisitas": 3,
  "totalPageViews": 4,
  "telefoneContato": "sample string 5",
  "emailContato": "sample string 6",
  "nomeSite": "sample string 7",
  "descricaoSite": "sample string 8",
  "urlSite": "sample string 9",
  "logoSite": "QEA=",
  "nomeArquivo": "sample string 10",
  "tipoTecnologia": 0,
  "urlNoticia": "sample string 11",
  "urlListaNoticia": "sample string 12",
  "variavelIdentificacao": "sample string 13",
  "uf": "sample string 14",
  "editorias": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<PartnerSiteDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dino.API.DTO">
  <descricaoSite>sample string 8</descricaoSite>
  <editorias xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </editorias>
  <emailContato>sample string 6</emailContato>
  <logoSite>QEA=</logoSite>
  <nomeArquivo>sample string 10</nomeArquivo>
  <nomeContato>sample string 1</nomeContato>
  <nomeSite>sample string 7</nomeSite>
  <slugParceiro>sample string 2</slugParceiro>
  <telefoneContato>sample string 5</telefoneContato>
  <tipoTecnologia>Wordpress</tipoTecnologia>
  <totalPageViews>4</totalPageViews>
  <totalVisitas>3</totalVisitas>
  <uf>sample string 14</uf>
  <urlListaNoticia>sample string 12</urlListaNoticia>
  <urlNoticia>sample string 11</urlNoticia>
  <urlSite>sample string 9</urlSite>
  <variavelIdentificacao>sample string 13</variavelIdentificacao>
</PartnerSiteDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Partner
NameDescriptionTypeAdditional information
Name

string

None.

Nivel

NivelParceiro

None.

CustomUrl

string

None.

NomeContato

string

None.

Telefone

string

None.

PartnerDinoSocialId

globally unique identifier

None.

Uf

string

None.

Email

string

None.

Senha

string

None.

NomeDoSite

string

None.

UrlSite

string

None.

Descricao

string

None.

NewsDetailUrl

string

None.

NewsListUrl

string

None.

QueryStringRelease

string

None.

TipoTecnologia

string

None.

TipoPlataforma

TipoIntegracao

None.

MotivoAlteracao

string

None.

NomeRepresentante

string

None.

EmailRepresentanteParceria

string

None.

RetornaUrlApi

boolean

None.

IsLeniumIntegration

boolean

None.

Tipo

TipoParceiro

None.

DataInicioParceria

date

None.

Status

StatusParceiro

None.

Abrangencia

Abrangencia

None.

Regiao

RegiaoBrasil

None.

Modalidade

ModalidadeDistribuicao

None.

PosicaoLista

PosicaoLista

None.

Audiencia

integer

None.

TemRedeSocialPlugin

boolean

None.

Categorias

Collection of ReleaseCategory

None.

Tokens

Collection of ParceiroToken

None.

Planos

Collection of Plan

None.

Estado

State

None.

Pais

Country

None.

ArquivoDiverso

FreeFile

None.

Ranking

integer

None.

Relevante

boolean

None.

Css

PartnerCss

None.

NumeroItensLista

integer

None.

NumeroItensLista2

integer

None.

AlturaWidgetLista

integer

None.

TotalVisitas

integer

None.

TotalPageViews

integer

None.

ValorEstimado

decimal number

None.

Retorno

string

None.

RetornoId

integer

None.

Configurations

Collection of Configuration

None.

ContentManagementPlugin

ContentManagementPlugin

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Nivel": 1,
  "CustomUrl": "sample string 2",
  "NomeContato": "sample string 3",
  "Telefone": "sample string 4",
  "PartnerDinoSocialId": "6d03e7f3-7ce0-4209-b713-19a265018c1c",
  "Uf": "sample string 5",
  "Email": "sample string 6",
  "Senha": "sample string 7",
  "NomeDoSite": "sample string 8",
  "UrlSite": "sample string 9",
  "Descricao": "sample string 10",
  "NewsDetailUrl": "sample string 11",
  "NewsListUrl": "sample string 12",
  "QueryStringRelease": "sample string 13",
  "TipoTecnologia": "sample string 14",
  "TipoPlataforma": 0,
  "MotivoAlteracao": "sample string 15",
  "NomeRepresentante": "sample string 16",
  "EmailRepresentanteParceria": "sample string 17",
  "RetornaUrlApi": true,
  "IsLeniumIntegration": true,
  "Tipo": 0,
  "DataInicioParceria": "2024-11-21T07:17:24.7050815-03:00",
  "Status": 0,
  "Abrangencia": 0,
  "Regiao": 0,
  "Modalidade": 0,
  "PosicaoLista": 0,
  "Audiencia": 21,
  "TemRedeSocialPlugin": true,
  "Categorias": [
    {
      "$id": "2",
      "Id": 1,
      "Nome": "sample string 2",
      "NomePadraoUrl": "sample string 3",
      "CategoriaPai": {
        "$ref": "2"
      },
      "Ordem": 4,
      "Ativo": true,
      "TotalParceiros": 5
    },
    {
      "$ref": "2"
    }
  ],
  "Tokens": [
    {
      "$id": "3",
      "Id": 1,
      "EmailRepresentanteParceria": "sample string 2",
      "NomeRepresentante": "sample string 3",
      "Token": "sample string 4"
    },
    {
      "$ref": "3"
    }
  ],
  "Planos": [
    {
      "$id": "4",
      "IsVisible": true,
      "ServiceIds": [
        1,
        2
      ],
      "EditorialCount": 2,
      "ReleaseCount": 1,
      "UnitPrice": 6.0,
      "User": {
        "$id": "5",
        "Id": 1,
        "Name": "sample string 2",
        "Email": "sample string 3",
        "Account": {
          "$id": "6",
          "DataCriacao": "2024-11-21T07:17:24.7050815-03:00",
          "DataUltimaAtualizacao": "2024-11-21T07:17:24.7050815-03:00",
          "Id": 3
        }
      },
      "IdSuperlogica": 1,
      "Id": 3,
      "Name": "sample string 4",
      "Price": 5.0,
      "FullPrice": 6.0,
      "DiscountPercent": 1,
      "Description": "sample string 7",
      "Recurrency": 0,
      "NivelDeProduto": 1,
      "IdProdutoSL": 1,
      "IdPlano": 1
    },
    {
      "$ref": "4"
    }
  ],
  "Estado": {
    "$id": "7",
    "Id": 1,
    "Nome": "sample string 2",
    "Sigla": "sample string 3",
    "Cidades": [
      {
        "$id": "8",
        "Id": 1,
        "Nome": "sample string 2",
        "Sigla": "sample string 3",
        "Estado": {
          "$ref": "7"
        }
      },
      {
        "$ref": "8"
      }
    ],
    "Pais": {
      "$id": "9",
      "Id": 1,
      "Cod": "sample string 2",
      "Nome": "sample string 3"
    }
  },
  "Pais": {
    "$ref": "9"
  },
  "ArquivoDiverso": {
    "$id": "10",
    "Id": 1,
    "Nome": "sample string 2",
    "Dados": "QEA=",
    "MimeType": "sample string 3",
    "Extensao": 0
  },
  "Ranking": 23,
  "Relevante": true,
  "Css": {
    "$id": "11",
    "Title": "sample string 1",
    "Body": "sample string 2",
    "Summary": "sample string 3",
    "AdicionalLista": "sample string 4",
    "AdicionalRelease": "sample string 5",
    "AdicionalListaGrande": "sample string 6"
  },
  "NumeroItensLista": 25,
  "NumeroItensLista2": 26,
  "AlturaWidgetLista": 27,
  "TotalVisitas": 28,
  "TotalPageViews": 29,
  "ValorEstimado": 30.1,
  "Retorno": "sample string 31",
  "RetornoId": 1,
  "Configurations": [
    {
      "$id": "12",
      "Key": "sample string 1",
      "Value": "QEA=",
      "Description": "sample string 2",
      "TypeCode": 0
    },
    {
      "$ref": "12"
    }
  ],
  "ContentManagementPlugin": {
    "$id": "13",
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "RelativeItemUrl": "sample string 4",
    "RelativeListUrl": "sample string 5"
  },
  "Id": 32
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.