GET api/OuterGateRecharges/GetAllRechargesProduct
Ritorna la lista di tutti i gestori e per ogni gestore il suo taglio.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of OuterRechargesProductModelOutName | Description | Type | Additional information |
---|---|---|---|
Supplier |
Denominazione fornitore |
string |
None. |
RechargeTypeValue |
Tipologia della ricarica in formato testo |
string |
None. |
CategoryValue |
Categoria della ricarica in formato di testo |
string |
None. |
RechargesProductFormats |
Lista dei formati di ricarica del fornitore |
Collection of OuterRechargesProductFormatModelOut |
None. |
CancelNotAllowed |
Alcuni prodotti non possono essere annullati dopo il CHECK. (Se true non potrà essere effettuata la cancellazione della verifica) |
boolean |
None. |
Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Supplier": "sample string 1", "RechargeTypeValue": "sample string 2", "CategoryValue": "sample string 3", "RechargesProductFormats": [ { "Name": "sample string 1", "DisplayName": "sample string 2", "Amount": 3.0, "Id": 4 }, { "Name": "sample string 1", "DisplayName": "sample string 2", "Amount": 3.0, "Id": 4 } ], "CancelNotAllowed": true, "Id": 5 }, { "Supplier": "sample string 1", "RechargeTypeValue": "sample string 2", "CategoryValue": "sample string 3", "RechargesProductFormats": [ { "Name": "sample string 1", "DisplayName": "sample string 2", "Amount": 3.0, "Id": 4 }, { "Name": "sample string 1", "DisplayName": "sample string 2", "Amount": 3.0, "Id": 4 } ], "CancelNotAllowed": true, "Id": 5 } ]
application/xml, text/xml
Sample:
<ArrayOfOuterRechargesProductModelOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels"> <OuterRechargesProductModelOut> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">5</Id> <CancelNotAllowed>true</CancelNotAllowed> <Category>PhoneRecharge</Category> <CategoryValue>sample string 3</CategoryValue> <RechargeType>OnlineRecharge</RechargeType> <RechargeTypeValue>sample string 2</RechargeTypeValue> <RechargesProductFormats> <OuterRechargesProductFormatModelOut> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">4</Id> <Amount>3</Amount> <DisplayName>sample string 2</DisplayName> <Name>sample string 1</Name> </OuterRechargesProductFormatModelOut> <OuterRechargesProductFormatModelOut> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">4</Id> <Amount>3</Amount> <DisplayName>sample string 2</DisplayName> <Name>sample string 1</Name> </OuterRechargesProductFormatModelOut> </RechargesProductFormats> <Supplier>sample string 1</Supplier> </OuterRechargesProductModelOut> <OuterRechargesProductModelOut> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">5</Id> <CancelNotAllowed>true</CancelNotAllowed> <Category>PhoneRecharge</Category> <CategoryValue>sample string 3</CategoryValue> <RechargeType>OnlineRecharge</RechargeType> <RechargeTypeValue>sample string 2</RechargeTypeValue> <RechargesProductFormats> <OuterRechargesProductFormatModelOut> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">4</Id> <Amount>3</Amount> <DisplayName>sample string 2</DisplayName> <Name>sample string 1</Name> </OuterRechargesProductFormatModelOut> <OuterRechargesProductFormatModelOut> <Id xmlns="http://schemas.datacontract.org/2004/07/Sv2Code.Services.Model">4</Id> <Amount>3</Amount> <DisplayName>sample string 2</DisplayName> <Name>sample string 1</Name> </OuterRechargesProductFormatModelOut> </RechargesProductFormats> <Supplier>sample string 1</Supplier> </OuterRechargesProductModelOut> </ArrayOfOuterRechargesProductModelOut>