POST api/v1/pui/{rfc}/login

Request Information

URI Parameters

NameDescriptionTypeAdditional information
rfc

string

Required

Body Parameters

LoginDto
NameDescriptionTypeAdditional information
usuario

string

Required

String length: inclusive between 3 and 3

clave

string

Required

Matching regular expression pattern: ^(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*\(\)\-_\.\+])[A-Za-z\d!@#$%^&*\(\)\-_\.\+]{16,20}$

String length: inclusive between 16 and 20

Request Formats

application/json, text/json

Sample:
{
  "usuario": "sample string 1",
  "clave": "sample string 2"
}

application/xml, text/xml

Sample:
<LoginDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.PUI.Models">
  <Clave>sample string 2</Clave>
  <Usuario>sample string 1</Usuario>
</LoginDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.