POST Cavy/ModuleInformation
Request Information
URI Parameters
None.
Body Parameters
ModuleInformationCavy| Name | Description | Type | Additional 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:
Response Information
Resource Description
ModuleInformationCavyResponse| Name | Description | Type | Additional 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,
"RocketCardType": 2,
"Balance": 3.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>3</d2p1:Balance>
<d2p1:IsRocketCard>true</d2p1:IsRocketCard>
<d2p1:RocketCardType>2</d2p1:RocketCardType>
</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>