POST api/Parabrelamarca/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of pv_relamarca
NameDescriptionTypeAdditional information
id

integer

None.

idmarca

integer

None.

idmodelo

integer

None.

Request Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

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

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>