POST api/General/GenerarToken
Request Information
URI Parameters
None.
Body Parameters
clsUsuario| Name | Description | Type | Additional information |
|---|---|---|---|
| Ambiente | string |
None. |
|
| User | string |
None. |
|
| Password | string |
None. |
|
| Token | string |
None. |
|
| FechaExpiracion | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Ambiente": "sample string 1",
"User": "sample string 2",
"Password": "sample string 3",
"Token": "sample string 4",
"FechaExpiracion": "2026-05-14T12:23:34.301606-06:00"
}
application/xml, text/xml
Sample:
<clsUsuario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_MUNICIPALIDADES.Beans.CicloDeVidaPatente"> <Ambiente>sample string 1</Ambiente> <FechaExpiracion>2026-05-14T12:23:34.301606-06:00</FechaExpiracion> <Password>sample string 3</Password> <Token>sample string 4</Token> <User>sample string 2</User> </clsUsuario>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| ReturnedCode | integer |
None. |
|
| Message | string |
None. |
|
| Result | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"ReturnedCode": 2,
"Message": "sample string 3",
"Result": {}
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_MUNICIPALIDADES.Beans.CicloDeVidaPatente"> <IsSuccess>true</IsSuccess> <Message>sample string 3</Message> <Result /> <ReturnedCode>2</ReturnedCode> </ApiResponse>