POST api/PaymentCollection
Request Information
URI Parameters
None.
Body Parameters
PaymentCollection| Name | Description | Type | Additional information |
|---|---|---|---|
| EMPLOYEE_ID | string |
None. |
|
| DISTRIBUTOR_ID | string |
None. |
|
| PAYMENT_MODE | string |
None. |
|
| PAYMENT_NUMBER | string |
None. |
|
| BANK_NAME | string |
None. |
|
| DEPOSITE_DATE | string |
None. |
|
| REMARK | string |
None. |
|
| PAYMENT_PHOTO | Collection of byte |
None. |
|
| PAYMENT_AMOUNT | string |
None. |
|
| EXTRA1 | string |
None. |
|
| EXTRA2 | string |
None. |
|
| EXTRA3 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EMPLOYEE_ID": "sample string 1",
"DISTRIBUTOR_ID": "sample string 2",
"PAYMENT_MODE": "sample string 3",
"PAYMENT_NUMBER": "sample string 4",
"BANK_NAME": "sample string 5",
"DEPOSITE_DATE": "sample string 6",
"REMARK": "sample string 7",
"PAYMENT_PHOTO": "QEA=",
"PAYMENT_AMOUNT": "sample string 8",
"EXTRA1": "sample string 9",
"EXTRA2": "sample string 10",
"EXTRA3": "sample string 11"
}
application/xml, text/xml
Sample:
<PaymentCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiEllora.Controllers"> <BANK_NAME>sample string 5</BANK_NAME> <DEPOSITE_DATE>sample string 6</DEPOSITE_DATE> <DISTRIBUTOR_ID>sample string 2</DISTRIBUTOR_ID> <EMPLOYEE_ID>sample string 1</EMPLOYEE_ID> <EXTRA1>sample string 9</EXTRA1> <EXTRA2>sample string 10</EXTRA2> <EXTRA3>sample string 11</EXTRA3> <PAYMENT_AMOUNT>sample string 8</PAYMENT_AMOUNT> <PAYMENT_MODE>sample string 3</PAYMENT_MODE> <PAYMENT_NUMBER>sample string 4</PAYMENT_NUMBER> <PAYMENT_PHOTO>QEA=</PAYMENT_PHOTO> <REMARK>sample string 7</REMARK> </PaymentCollection>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |