POST v2/parceiros/criar

Request Information

URI Parameters

None.

Body Parameters

PartnerSiteDTO
NameDescriptionTypeAdditional information
nomeContato

string

None.

slugParceiro

string

None.

telefoneContato

string

None.

emailContato

string

None.

nomeSite

string

None.

descricaoSite

string

None.

urlSite

string

None.

logoSite

string

None.

nomeArquivo

string

None.

tipoTecnologia

string

None.

urlNoticia

string

None.

urlListaNoticia

string

None.

variavelIdentificacao

string

None.

editorias

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "nomeContato": "sample string 1",
  "slugParceiro": "sample string 2",
  "telefoneContato": "sample string 3",
  "emailContato": "sample string 4",
  "nomeSite": "sample string 5",
  "descricaoSite": "sample string 6",
  "urlSite": "sample string 7",
  "logoSite": "sample string 8",
  "nomeArquivo": "sample string 9",
  "tipoTecnologia": "sample string 10",
  "urlNoticia": "sample string 11",
  "urlListaNoticia": "sample string 12",
  "variavelIdentificacao": "sample string 13",
  "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 6</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 4</emailContato>
  <logoSite>sample string 8</logoSite>
  <nomeArquivo>sample string 9</nomeArquivo>
  <nomeContato>sample string 1</nomeContato>
  <nomeSite>sample string 5</nomeSite>
  <slugParceiro>sample string 2</slugParceiro>
  <telefoneContato>sample string 3</telefoneContato>
  <tipoTecnologia>sample string 10</tipoTecnologia>
  <urlListaNoticia>sample string 12</urlListaNoticia>
  <urlNoticia>sample string 11</urlNoticia>
  <urlSite>sample string 7</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.

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.

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.

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.

Configurations

Collection of Configuration

None.

ContentManagementPlugin

ContentManagementPlugin

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Nivel": 0,
  "CustomUrl": "sample string 2",
  "NomeContato": "sample string 3",
  "Telefone": "sample string 4",
  "Email": "sample string 5",
  "Senha": "sample string 6",
  "NomeDoSite": "sample string 7",
  "UrlSite": "sample string 8",
  "Descricao": "sample string 9",
  "NewsDetailUrl": "sample string 10",
  "NewsListUrl": "sample string 11",
  "QueryStringRelease": "sample string 12",
  "TipoTecnologia": "sample string 13",
  "Tipo": 0,
  "DataInicioParceria": "2018-12-14T19:31:39.2713151-02:00",
  "Status": 0,
  "Abrangencia": 0,
  "Regiao": 0,
  "Modalidade": 0,
  "PosicaoLista": 0,
  "Audiencia": 15,
  "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"
    }
  ],
  "Planos": [
    {
      "$id": "3",
      "IsVisible": true,
      "ServiceIds": [
        1,
        2
      ],
      "EditorialCount": 2,
      "ReleaseCount": 1,
      "UnitPrice": 6.0,
      "User": {
        "$id": "4",
        "Id": 1,
        "Name": "sample string 2",
        "Email": "sample string 3",
        "Account": {
          "$id": "5",
          "DataCriacao": "2018-12-14T19:31:39.286915-02:00",
          "DataUltimaAtualizacao": "2018-12-14T19:31:39.286915-02: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
    },
    {
      "$ref": "3"
    }
  ],
  "Estado": {
    "$id": "6",
    "Id": 1,
    "Nome": "sample string 2",
    "Sigla": "sample string 3",
    "Cidades": [
      {
        "$id": "7",
        "Id": 1,
        "Nome": "sample string 2",
        "Sigla": "sample string 3",
        "Estado": {
          "$ref": "6"
        }
      },
      {
        "$ref": "7"
      }
    ],
    "Pais": {
      "$id": "8",
      "Id": 1,
      "Cod": "sample string 2",
      "Nome": "sample string 3"
    }
  },
  "Pais": {
    "$ref": "8"
  },
  "ArquivoDiverso": {
    "$id": "9",
    "Id": 1,
    "Nome": "sample string 2",
    "Dados": "QEA=",
    "MimeType": "sample string 3",
    "Extensao": 0
  },
  "Ranking": 17,
  "Relevante": true,
  "Css": {
    "$id": "10",
    "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": 19,
  "NumeroItensLista2": 20,
  "AlturaWidgetLista": 21,
  "TotalVisitas": 22,
  "TotalPageViews": 23,
  "ValorEstimado": 24.1,
  "Configurations": [
    {
      "$id": "11",
      "Key": "sample string 1",
      "Value": "QEA=",
      "Description": "sample string 2",
      "TypeCode": 0
    },
    {
      "$ref": "11"
    }
  ],
  "ContentManagementPlugin": {
    "$id": "12",
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "RelativeItemUrl": "sample string 4",
    "RelativeListUrl": "sample string 5"
  },
  "Id": 25
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.