POST api/Agreement/Authentication

Request Information

URI Parameters

None.

Body Parameters

ObtenerUsuarioProductoRequest
NameDescriptionTypeAdditional information
Usuario

string

Max length: 50

Contrasena

string

Max length: 500

Request Formats

application/json, text/json

Sample:
{
  "Usuario": "sample string 1",
  "Contrasena": "sample string 2"
}

application/xml, text/xml

Sample:
<ObtenerUsuarioProductoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.Entidades.Repositorios.PortalPublico.Convenio">
  <Contrasena>sample string 2</Contrasena>
  <Usuario>sample string 1</Usuario>
</ObtenerUsuarioProductoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECD.Entidades.Base">
  <Data />
  <Message>sample string 2</Message>
  <Success>true</Success>
</BaseResponse>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.