GET api/di/recept/list/PaymentMethods/{paymentMethod}
Get list for Payment Methods by payment Method type
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| paymentMethod |
payment Method type : NoPayments , Payments , Credit |
PaymentMethodEnum |
Required |
Body Parameters
None.
Response Information
Resource Description
Result key , name of Payment Methods
Collection of KeyName| Name | Description | Type | Additional information |
|---|---|---|---|
| Key |
קוד |
string |
None. |
| Name |
שם |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Key": "sample string 1",
"Name": "sample string 2"
},
{
"Key": "sample string 1",
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfKeyName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.OtherData">
<KeyName>
<Key>sample string 1</Key>
<Name>sample string 2</Name>
</KeyName>
<KeyName>
<Key>sample string 1</Key>
<Name>sample string 2</Name>
</KeyName>
</ArrayOfKeyName>
multipart/form-data
Sample:
<ArrayOfKeyName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IND_DI_WebApi._BL.OtherData"><KeyName><Key>sample string 1</Key><Name>sample string 2</Name></KeyName><KeyName><Key>sample string 1</Key><Name>sample string 2</Name></KeyName></ArrayOfKeyName>