POST api/subCategorias

Request Information

URI Parameters

None.

Body Parameters

subCategoria
NameDescriptionTypeAdditional information
idSubCategoria

integer

None.

Descricao

string

None.

idCategoria

integer

None.

Categoria

Categoria

None.

Request Formats

application/json, text/json

Sample:
{
  "idSubCategoria": 1,
  "Descricao": "sample string 2",
  "idCategoria": 3,
  "Categoria": {
    "idCategoria": 1,
    "descricao": "sample string 2",
    "status": 3
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

subCategoria
NameDescriptionTypeAdditional information
idSubCategoria

integer

None.

Descricao

string

None.

idCategoria

integer

None.

Categoria

Categoria

None.

Response Formats

application/json, text/json

Sample:
{
  "idSubCategoria": 1,
  "Descricao": "sample string 2",
  "idCategoria": 3,
  "Categoria": {
    "idCategoria": 1,
    "descricao": "sample string 2",
    "status": 3
  }
}