POST Portifolio/Alterar

Request Information

URI Parameters

None.

Body Parameters

Portifolio
NameDescriptionTypeAdditional information
id

integer

None.

titulo

string

None.

descricaoSimples

string

None.

descricaoCompleta

string

None.

imagem

string

None.

linkSite

string

None.

linkPlayStore

string

None.

linkAppStore

string

None.

slug

string

None.

situacao

string

None.

cor

string

None.

ordem

integer

None.

categorias

Collection of PortifolioCategoria

None.

estatisticas

Collection of Estatistica

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "titulo": "sample string 2",
  "descricaoSimples": "sample string 3",
  "descricaoCompleta": "sample string 4",
  "imagem": "sample string 5",
  "linkSite": "sample string 6",
  "linkPlayStore": "sample string 7",
  "linkAppStore": "sample string 8",
  "slug": "sample string 9",
  "situacao": "sample string 10",
  "cor": "sample string 11",
  "ordem": 12,
  "categorias": [
    {
      "id": 1,
      "categoria": {
        "id": 1,
        "descricao": "sample string 2",
        "situacao": "sample string 3"
      }
    },
    {
      "id": 1,
      "categoria": {
        "id": 1,
        "descricao": "sample string 2",
        "situacao": "sample string 3"
      }
    }
  ],
  "estatisticas": [
    {
      "id": 1,
      "descricao": "sample string 2",
      "valor": "sample string 3"
    },
    {
      "id": 1,
      "descricao": "sample string 2",
      "valor": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<Portifolio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YourWaySiteModel.Classes">
  <categorias>
    <PortifolioCategoria>
      <categoria>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <situacao>sample string 3</situacao>
      </categoria>
      <id>1</id>
    </PortifolioCategoria>
    <PortifolioCategoria>
      <categoria>
        <descricao>sample string 2</descricao>
        <id>1</id>
        <situacao>sample string 3</situacao>
      </categoria>
      <id>1</id>
    </PortifolioCategoria>
  </categorias>
  <cor>sample string 11</cor>
  <descricaoCompleta>sample string 4</descricaoCompleta>
  <descricaoSimples>sample string 3</descricaoSimples>
  <estatisticas>
    <Estatistica>
      <descricao>sample string 2</descricao>
      <id>1</id>
      <valor>sample string 3</valor>
    </Estatistica>
    <Estatistica>
      <descricao>sample string 2</descricao>
      <id>1</id>
      <valor>sample string 3</valor>
    </Estatistica>
  </estatisticas>
  <id>1</id>
  <imagem>sample string 5</imagem>
  <linkAppStore>sample string 8</linkAppStore>
  <linkPlayStore>sample string 7</linkPlayStore>
  <linkSite>sample string 6</linkSite>
  <ordem>12</ordem>
  <situacao>sample string 10</situacao>
  <slug>sample string 9</slug>
  <titulo>sample string 2</titulo>
</Portifolio>

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.