PUT api/GasExpedicions?empresa={empresa}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
empresa

string

Required

Body Parameters

Collection of CajaPut
NameDescriptionTypeAdditional information
caja

decimal number

None.

id

integer

None.

cheques

decimal number

None.

mercadop

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "caja": 1.0,
    "id": 1,
    "cheques": 1.0,
    "mercadop": 1.0
  },
  {
    "caja": 1.0,
    "id": 1,
    "cheques": 1.0,
    "mercadop": 1.0
  }
]

text/html

Sample:
[{"caja":1.0,"id":1,"cheques":1.0,"mercadop":1.0},{"caja":1.0,"id":1,"cheques":1.0,"mercadop":1.0}]

application/xml, text/xml

Sample:
<ArrayOfGasExpedicion.CajaPut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <GasExpedicion.CajaPut>
    <caja>1</caja>
    <cheques>1</cheques>
    <id>1</id>
    <mercadop>1</mercadop>
  </GasExpedicion.CajaPut>
  <GasExpedicion.CajaPut>
    <caja>1</caja>
    <cheques>1</cheques>
    <id>1</id>
    <mercadop>1</mercadop>
  </GasExpedicion.CajaPut>
</ArrayOfGasExpedicion.CajaPut>

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>