POST api/Parabrelaproducto/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of pv_relaproducto
NameDescriptionTypeAdditional information
id

integer

None.

idproducto

integer

None.

idmarca

integer

None.

idmodelo

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "idproducto": 1,
    "idmarca": 1,
    "idmodelo": 1
  },
  {
    "id": 1,
    "idproducto": 1,
    "idmarca": 1,
    "idmodelo": 1
  }
]

text/html

Sample:
[{"id":1,"idproducto":1,"idmarca":1,"idmodelo":1},{"id":1,"idproducto":1,"idmarca":1,"idmodelo":1}]

application/xml, text/xml

Sample:
<ArrayOfpv_relaproducto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <pv_relaproducto>
    <id>1</id>
    <idmarca>1</idmarca>
    <idmodelo>1</idmodelo>
    <idproducto>1</idproducto>
  </pv_relaproducto>
  <pv_relaproducto>
    <id>1</id>
    <idmarca>1</idmarca>
    <idmodelo>1</idmodelo>
    <idproducto>1</idproducto>
  </pv_relaproducto>
</ArrayOfpv_relaproducto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reply
NameDescriptionTypeAdditional information
message

string

None.

result

integer

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "result": 2,
  "data": {}
}

text/html

Sample:
{"message":"sample string 1","result":2,"data":{}}

application/xml, text/xml

Sample:
<Reply xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.webapplications1.Models.WS">
  <data />
  <message>sample string 1</message>
  <result>2</result>
</Reply>