PUT api/MKTH/SettingPayment/UpdatePayment/{pay_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pay_id

integer

Required

Body Parameters

m_payment
NameDescriptionTypeAdditional information
payment_type

string

None.

on_behalf_of

string

String length: inclusive between 0 and 100

bank_name

string

String length: inclusive between 0 and 100

account_number

string

String length: inclusive between 0 and 20

account_name

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "payment_type": "sample string 1",
  "on_behalf_of": "sample string 2",
  "bank_name": "sample string 3",
  "account_number": "sample string 4",
  "account_name": "sample string 5"
}

application/xml, text/xml

Sample:
<m_payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.MKTH">
  <account_name>sample string 5</account_name>
  <account_number>sample string 4</account_number>
  <bank_name>sample string 3</bank_name>
  <on_behalf_of>sample string 2</on_behalf_of>
  <payment_type>sample string 1</payment_type>
</m_payment>

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 'm_payment'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.