POST api/consignatario/guardar

Request Information

URI Parameters

None.

Body Parameters

Consignatario
NameDescriptionTypeAdditional information
consignatario_Id

integer

None.

nombre

string

None.

direccion

string

None.

tel1

string

None.

tel2

string

None.

activo

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "consignatario_Id": 1,
  "nombre": "sample string 2",
  "direccion": "sample string 3",
  "tel1": "sample string 4",
  "tel2": "sample string 5",
  "activo": true
}

text/html

Sample:
{"consignatario_Id":1,"nombre":"sample string 2","direccion":"sample string 3","tel1":"sample string 4","tel2":"sample string 5","activo":true}

application/xml, text/xml

Sample:
<Consignatario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Models">
  <activo>true</activo>
  <consignatario_Id>1</consignatario_Id>
  <direccion>sample string 3</direccion>
  <nombre>sample string 2</nombre>
  <tel1>sample string 4</tel1>
  <tel2>sample string 5</tel2>
</Consignatario>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.