POST Cavy/ModuleInformation

Request Information

URI Parameters

None.

Body Parameters

ModuleInformationCavy
NameDescriptionTypeAdditional information
personID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "personID": 1
}

application/xml, text/xml

Sample:
<ModuleInformationCavy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
  <personID>1</personID>
</ModuleInformationCavy>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ModuleInformationCavy'.

Response Information

Resource Description

ModuleInformationCavyResponse
NameDescriptionTypeAdditional information
YVR

YVRCavy

None.

RocketPOS

RocketPOSCavy

None.

PIDO

PIDOCavy

None.

RocketCard

RocketCardCavy

None.

CardOnFile

CardOnFileCavy

None.

PagoDeServicios

PagoDeServiciosCavy

None.

Response Formats

application/json, text/json

Sample:
{
  "YVR": {
    "IsPurchaseYVR": true,
    "BalanceYVR": 2.0
  },
  "RocketPOS": {
    "IsRocketPos": true,
    "LastTransactionDatePOS": "sample string 2"
  },
  "PIDO": {
    "IsPurchasePIDO": true,
    "LastPurchaseDatePIDO": "sample string 2",
    "IsActiveCart": true
  },
  "RocketCard": {
    "IsRocketCard": true,
    "Balance": 2.0
  },
  "CardOnFile": {
    "IsCardOnFile": true,
    "Quantity": 2
  },
  "PagoDeServicios": {
    "IsPaymentService": true,
    "LastPaymentServiceDate": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<ModuleInformationCavyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.WebAPI.Models">
  <CardOnFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
    <d2p1:IsCardOnFile>true</d2p1:IsCardOnFile>
    <d2p1:Quantity>2</d2p1:Quantity>
  </CardOnFile>
  <PIDO xmlns:d2p1="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
    <d2p1:IsActiveCart>true</d2p1:IsActiveCart>
    <d2p1:IsPurchasePIDO>true</d2p1:IsPurchasePIDO>
    <d2p1:LastPurchaseDatePIDO>sample string 2</d2p1:LastPurchaseDatePIDO>
  </PIDO>
  <PagoDeServicios xmlns:d2p1="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
    <d2p1:IsPaymentService>true</d2p1:IsPaymentService>
    <d2p1:LastPaymentServiceDate>sample string 2</d2p1:LastPaymentServiceDate>
  </PagoDeServicios>
  <RocketCard xmlns:d2p1="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
    <d2p1:Balance>2</d2p1:Balance>
    <d2p1:IsRocketCard>true</d2p1:IsRocketCard>
  </RocketCard>
  <RocketPOS xmlns:d2p1="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
    <d2p1:IsRocketPos>true</d2p1:IsRocketPos>
    <d2p1:LastTransactionDatePOS>sample string 2</d2p1:LastTransactionDatePOS>
  </RocketPOS>
  <YVR xmlns:d2p1="http://schemas.datacontract.org/2004/07/YoVendoRecargaAPI.Entities">
    <d2p1:BalanceYVR>2</d2p1:BalanceYVR>
    <d2p1:IsPurchaseYVR>true</d2p1:IsPurchaseYVR>
  </YVR>
</ModuleInformationCavyResponse>