POST api/AdmProveedores

Request Information

URI Parameters

None.

Body Parameters

AdmProveedores
NameDescriptionTypeAdditional information
id

integer

None.

codigo

string

None.

razonsocial

string

None.

sittrib

string

None.

cuit

string

None.

direccion

string

None.

telefono

string

None.

idsittrib

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "codigo": "sample string 2",
  "razonsocial": "sample string 3",
  "sittrib": "sample string 4",
  "cuit": "sample string 5",
  "direccion": "sample string 6",
  "telefono": "sample string 7",
  "idsittrib": 1
}

text/html

Sample:
{"id":1,"codigo":"sample string 2","razonsocial":"sample string 3","sittrib":"sample string 4","cuit":"sample string 5","direccion":"sample string 6","telefono":"sample string 7","idsittrib":1}

application/xml, text/xml

Sample:
<AdmProveedores xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1">
  <codigo>sample string 2</codigo>
  <cuit>sample string 5</cuit>
  <direccion>sample string 6</direccion>
  <id>1</id>
  <idsittrib>1</idsittrib>
  <razonsocial>sample string 3</razonsocial>
  <sittrib>sample string 4</sittrib>
  <telefono>sample string 7</telefono>
</AdmProveedores>

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>