POST api/PaymentsReceived
Request Information
URI Parameters
None.
Body Parameters
PaymentsReceivedModels| Name | Description | Type | Additional information |
|---|---|---|---|
| PR_Id | integer |
None. |
|
| OrderFrom | string |
None. |
|
| PR_Order_Id_FK | integer |
None. |
|
| PR_Order_Id_FK_Encyt | string |
None. |
|
| PR_OrderType | character |
None. |
|
| PR_OrderNumber | string |
None. |
|
| PR_InvoiceNumber | string |
None. |
|
| CustomerPurchaseOrderList | CustomerPurchaseOrderSpeedSearchModels |
None. |
|
| StockistPurchaseOrderList | StockistPurchaseOrderSpeedSearchModels |
None. |
|
| BulkSalesOrderList | BulkSalesOrderSpeedSearchModels |
None. |
|
| CPD_Id | integer |
None. |
|
| PR_Date | date |
Required |
|
| PR_ModeOfPayment | string |
Required Max length: 30 |
|
| PR_PaymentNumber | string |
Required Max length: 30 |
|
| PR_Amount | decimal number |
Required |
|
| PR_Name | string |
Required Max length: 100 |
|
| PR_Bank | string |
Max length: 30 |
|
| PR_Branch | string |
Max length: 30 |
|
| PR_Proof | string |
Max length: 500 |
|
| PR_Others | string |
Max length: 100 |
|
| PR_UserId_FK | integer |
None. |
|
| PR_TS | date |
None. |
|
| PR_Inactive | character |
None. |
|
| PR_TS_LastEdited | date |
None. |
|
| PR_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PR_Id": 1,
"OrderFrom": "sample string 2",
"PR_Order_Id_FK": 3,
"PR_Order_Id_FK_Encyt": "sample string 4",
"PR_OrderType": "A",
"PR_OrderNumber": "sample string 6",
"PR_InvoiceNumber": "sample string 7",
"CustomerPurchaseOrderList": {
"COR_Id": 1,
"COR_OrderNo": "sample string 2",
"COR_Date": "2025-10-28T11:36:20.1652598+05:30",
"COR_CustomerName": "sample string 4",
"TotalAmount": 5.0,
"TotalCollectedAmount": 6.0,
"CIV_Invoice_No": "sample string 7",
"IsCreditPayment": "sample string 8"
},
"StockistPurchaseOrderList": {
"POR_Id": 1,
"POR_OrderNo": "sample string 2",
"POR_Date": "2025-10-28T11:36:20.1672598+05:30",
"SK_Name": "sample string 4",
"TotalAmount": 5.0,
"TotalCollectedAmount": 6.0,
"SIV_Invoice_No": "sample string 7",
"IsCreditPayment": "sample string 8"
},
"BulkSalesOrderList": {
"BS_Id": 1,
"BS_OrderNo": "sample string 2",
"BS_DateTime": "2025-10-28T11:36:20.1682571+05:30",
"BS_Name": "sample string 4",
"TotalAmount": 5.0,
"TotalCollectedAmount": 6.0,
"BS_InvoiceNo": "sample string 7",
"IsCreditPayment": "sample string 8"
},
"CPD_Id": 1,
"PR_Date": "2025-10-28T11:36:20.1722474+05:30",
"PR_ModeOfPayment": "sample string 9",
"PR_PaymentNumber": "sample string 10",
"PR_Amount": 11.0,
"PR_Name": "sample string 12",
"PR_Bank": "sample string 13",
"PR_Branch": "sample string 14",
"PR_Proof": "sample string 15",
"PR_Others": "sample string 16",
"PR_UserId_FK": 17,
"PR_TS": "2025-10-28T11:36:20.1732453+05:30",
"PR_Inactive": "A",
"PR_TS_LastEdited": "2025-10-28T11:36:20.1732453+05:30",
"PR_TS_Edited_Uid_FK": 21
}
application/xml, text/xml
Sample:
<PaymentsReceivedModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
<BulkSalesOrderList xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
<d2p1:BS_DateTime>2025-10-28T11:36:20.1682571+05:30</d2p1:BS_DateTime>
<d2p1:BS_Id>1</d2p1:BS_Id>
<d2p1:BS_InvoiceNo>sample string 7</d2p1:BS_InvoiceNo>
<d2p1:BS_Name>sample string 4</d2p1:BS_Name>
<d2p1:BS_OrderNo>sample string 2</d2p1:BS_OrderNo>
<d2p1:IsCreditPayment>sample string 8</d2p1:IsCreditPayment>
<d2p1:TotalAmount>5</d2p1:TotalAmount>
<d2p1:TotalCollectedAmount>6</d2p1:TotalCollectedAmount>
</BulkSalesOrderList>
<CPD_Id>1</CPD_Id>
<CustomerPurchaseOrderList xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
<d2p1:CIV_Invoice_No>sample string 7</d2p1:CIV_Invoice_No>
<d2p1:COR_CustomerName>sample string 4</d2p1:COR_CustomerName>
<d2p1:COR_Date>2025-10-28T11:36:20.1652598+05:30</d2p1:COR_Date>
<d2p1:COR_Id>1</d2p1:COR_Id>
<d2p1:COR_OrderNo>sample string 2</d2p1:COR_OrderNo>
<d2p1:IsCreditPayment>sample string 8</d2p1:IsCreditPayment>
<d2p1:TotalAmount>5</d2p1:TotalAmount>
<d2p1:TotalCollectedAmount>6</d2p1:TotalCollectedAmount>
</CustomerPurchaseOrderList>
<OrderFrom>sample string 2</OrderFrom>
<PR_Amount>11</PR_Amount>
<PR_Bank>sample string 13</PR_Bank>
<PR_Branch>sample string 14</PR_Branch>
<PR_Date>2025-10-28T11:36:20.1722474+05:30</PR_Date>
<PR_Id>1</PR_Id>
<PR_Inactive>65</PR_Inactive>
<PR_InvoiceNumber>sample string 7</PR_InvoiceNumber>
<PR_ModeOfPayment>sample string 9</PR_ModeOfPayment>
<PR_Name>sample string 12</PR_Name>
<PR_OrderNumber>sample string 6</PR_OrderNumber>
<PR_OrderType>65</PR_OrderType>
<PR_Order_Id_FK>3</PR_Order_Id_FK>
<PR_Order_Id_FK_Encyt>sample string 4</PR_Order_Id_FK_Encyt>
<PR_Others>sample string 16</PR_Others>
<PR_PaymentNumber>sample string 10</PR_PaymentNumber>
<PR_Proof>sample string 15</PR_Proof>
<PR_TS>2025-10-28T11:36:20.1732453+05:30</PR_TS>
<PR_TS_Edited_Uid_FK>21</PR_TS_Edited_Uid_FK>
<PR_TS_LastEdited>2025-10-28T11:36:20.1732453+05:30</PR_TS_LastEdited>
<PR_UserId_FK>17</PR_UserId_FK>
<StockistPurchaseOrderList xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
<d2p1:IsCreditPayment>sample string 8</d2p1:IsCreditPayment>
<d2p1:POR_Date>2025-10-28T11:36:20.1672598+05:30</d2p1:POR_Date>
<d2p1:POR_Id>1</d2p1:POR_Id>
<d2p1:POR_OrderNo>sample string 2</d2p1:POR_OrderNo>
<d2p1:SIV_Invoice_No>sample string 7</d2p1:SIV_Invoice_No>
<d2p1:SK_Name>sample string 4</d2p1:SK_Name>
<d2p1:TotalAmount>5</d2p1:TotalAmount>
<d2p1:TotalCollectedAmount>6</d2p1:TotalCollectedAmount>
</StockistPurchaseOrderList>
</PaymentsReceivedModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.