POST api/WebProductos

Request Information

URI Parameters

None.

Body Parameters

Collection of WebProductos
NameDescriptionTypeAdditional information
autob

integer

None.

autob1

integer

None.

ARTCODIGO

string

None.

ARTDESCRI

string

None.

ARTRUBRO

string

None.

ARTLISTAI

decimal number

None.

ARTLISTAII

decimal number

None.

imgruta

string

None.

img

boolean

None.

marcadesc

string

None.

fecha

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "autob": 1,
    "autob1": 1,
    "ARTCODIGO": "sample string 2",
    "ARTDESCRI": "sample string 3",
    "ARTRUBRO": "sample string 4",
    "ARTLISTAI": 1.0,
    "ARTLISTAII": 1.0,
    "imgruta": "sample string 5",
    "img": true,
    "marcadesc": "sample string 6",
    "fecha": "2024-05-19T13:43:20.3286169-03:00"
  },
  {
    "autob": 1,
    "autob1": 1,
    "ARTCODIGO": "sample string 2",
    "ARTDESCRI": "sample string 3",
    "ARTRUBRO": "sample string 4",
    "ARTLISTAI": 1.0,
    "ARTLISTAII": 1.0,
    "imgruta": "sample string 5",
    "img": true,
    "marcadesc": "sample string 6",
    "fecha": "2024-05-19T13:43:20.3286169-03:00"
  }
]

text/html

Sample:
[{"autob":1,"autob1":1,"ARTCODIGO":"sample string 2","ARTDESCRI":"sample string 3","ARTRUBRO":"sample string 4","ARTLISTAI":1.0,"ARTLISTAII":1.0,"imgruta":"sample string 5","img":true,"marcadesc":"sample string 6","fecha":"2024-05-19T13:43:20.3286169-03:00"},{"autob":1,"autob1":1,"ARTCODIGO":"sample string 2","ARTDESCRI":"sample string 3","ARTRUBRO":"sample string 4","ARTLISTAI":1.0,"ARTLISTAII":1.0,"imgruta":"sample string 5","img":true,"marcadesc":"sample string 6","fecha":"2024-05-19T13:43:20.3286169-03:00"}]

application/xml, text/xml

Sample:
<ArrayOfWebProductos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <WebProductos>
    <ARTCODIGO>sample string 2</ARTCODIGO>
    <ARTDESCRI>sample string 3</ARTDESCRI>
    <ARTLISTAI>1</ARTLISTAI>
    <ARTLISTAII>1</ARTLISTAII>
    <ARTRUBRO>sample string 4</ARTRUBRO>
    <autob>1</autob>
    <autob1>1</autob1>
    <fecha>2024-05-19T13:43:20.3286169-03:00</fecha>
    <img>true</img>
    <imgruta>sample string 5</imgruta>
    <marcadesc>sample string 6</marcadesc>
  </WebProductos>
  <WebProductos>
    <ARTCODIGO>sample string 2</ARTCODIGO>
    <ARTDESCRI>sample string 3</ARTDESCRI>
    <ARTLISTAI>1</ARTLISTAI>
    <ARTLISTAII>1</ARTLISTAII>
    <ARTRUBRO>sample string 4</ARTRUBRO>
    <autob>1</autob>
    <autob1>1</autob1>
    <fecha>2024-05-19T13:43:20.3286169-03:00</fecha>
    <img>true</img>
    <imgruta>sample string 5</imgruta>
    <marcadesc>sample string 6</marcadesc>
  </WebProductos>
</ArrayOfWebProductos>

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>