POST ESSA/NotifyPrepago

Request Information

URI Parameters

None.

Body Parameters

RequestNotifyPrepagoMachine
NameDescriptionTypeAdditional information
numeroMedidor

string

None.

nroTransaccion

integer

None.

puntoVenta

string

None.

valorEnergia

decimal number

None.

valorAseo

decimal number

None.

Token

string

None.

Alumbrado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "numeroMedidor": "sample string 1",
  "nroTransaccion": 2,
  "puntoVenta": "sample string 3",
  "valorEnergia": 4.0,
  "valorAseo": 5.0,
  "Token": "sample string 6",
  "Alumbrado": true
}

application/xml, text/xml

Sample:
<RequestNotifyPrepagoMachine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_ESSA.Models">
  <Alumbrado>true</Alumbrado>
  <Token>sample string 6</Token>
  <nroTransaccion>2</nroTransaccion>
  <numeroMedidor>sample string 1</numeroMedidor>
  <puntoVenta>sample string 3</puntoVenta>
  <valorAseo>5</valorAseo>
  <valorEnergia>4</valorEnergia>
</RequestNotifyPrepagoMachine>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseGeneric
NameDescriptionTypeAdditional information
ResponseCode

ResponseCode

None.

ResponseMessage

string

None.

ResponseData

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 200,
  "ResponseMessage": "sample string 1",
  "ResponseData": {}
}

application/xml, text/xml

Sample:
<SavingModels.ResponseGeneric xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_ESSA.Models">
  <ResponseCode>OK</ResponseCode>
  <ResponseData />
  <ResponseMessage>sample string 1</ResponseMessage>
</SavingModels.ResponseGeneric>