POST api/Payment

Request Information

URI Parameters

None.

Body Parameters

Payment
NameDescriptionTypeAdditional information
Reference_No

string

None.

Customer_No

string

None.

Customer_Name

string

None.

Description

string

None.

amount

decimal number

None.

currency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Reference_No": "sample string 1",
  "Customer_No": "sample string 2",
  "Customer_Name": "sample string 3",
  "Description": "sample string 4",
  "amount": 5.1,
  "currency": "sample string 6"
}

application/xml, text/xml

Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UoK_API.Models">
  <Customer_Name>sample string 3</Customer_Name>
  <Customer_No>sample string 2</Customer_No>
  <Description>sample string 4</Description>
  <Reference_No>sample string 1</Reference_No>
  <amount>5.1</amount>
  <currency>sample string 6</currency>
</Payment>

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.