PUT api/Payment/SaveNewPayment

Request Information

URI Parameters

None.

Body Parameters

SaveNewPaymentRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

ParentAccountId

string

Required

PaymentType

PaymentType

Required

PaymentMethodId

string

None.

Subscription

string

None.

OpenInvoiceId

string

None.

Description

string

None.

Amount

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "AdminUserId": "sample string 1",
  "ParentAccountId": "sample string 2",
  "PaymentType": "Sale",
  "PaymentMethodId": "sample string 3",
  "Subscription": "sample string 4",
  "OpenInvoiceId": "sample string 5",
  "Description": "sample string 6",
  "Amount": 7.0
}

application/xml, text/xml

Sample:
<SaveNewPaymentRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.BillingAndPaymentRequestViewModels">
  <AdminUserId>sample string 1</AdminUserId>
  <Amount>7</Amount>
  <Description>sample string 6</Description>
  <OpenInvoiceId>sample string 5</OpenInvoiceId>
  <ParentAccountId>sample string 2</ParentAccountId>
  <PaymentMethodId>sample string 3</PaymentMethodId>
  <PaymentType>Sale</PaymentType>
  <Subscription>sample string 4</Subscription>
</SaveNewPaymentRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.