POST api/Services/AddUpdatePayment
Request Information
URI Parameters
None.
Body Parameters
tbl_paymentName | Description | Type | Additional information |
---|---|---|---|
Payment_Id | integer |
None. |
|
StoreId | integer |
None. |
|
RouteId | integer |
None. |
|
Member_Id | integer |
None. |
|
Type | string |
None. |
|
Debit | decimal number |
None. |
|
Credit | decimal number |
None. |
|
Date | date |
None. |
|
Remark | string |
None. |
|
PaymentMode | integer |
None. |
|
CreatedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
UpdatedBy | integer |
None. |
|
UpdatedDate | date |
None. |
|
RefNo | integer |
None. |
|
IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "Payment_Id": 1, "StoreId": 1, "RouteId": 1, "Member_Id": 1, "Type": "sample string 2", "Debit": 1.1, "Credit": 1.1, "Date": "2024-12-23T04:22:30.8148488+05:30", "Remark": "sample string 3", "PaymentMode": 1, "CreatedDate": "2024-12-23T04:22:30.8148488+05:30", "CreatedBy": 1, "UpdatedBy": 1, "UpdatedDate": "2024-12-23T04:22:30.8148488+05:30", "RefNo": 1, "IsDelete": true }
text/html, multipart/form-data
Sample:
{"Payment_Id":1,"StoreId":1,"RouteId":1,"Member_Id":1,"Type":"sample string 2","Debit":1.1,"Credit":1.1,"Date":"2024-12-23T04:22:30.8148488+05:30","Remark":"sample string 3","PaymentMode":1,"CreatedDate":"2024-12-23T04:22:30.8148488+05:30","CreatedBy":1,"UpdatedBy":1,"UpdatedDate":"2024-12-23T04:22:30.8148488+05:30","RefNo":1,"IsDelete":true}
application/xml, text/xml
Sample:
<tbl_payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataBase"> <CreatedBy>1</CreatedBy> <CreatedDate>2024-12-23T04:22:30.8148488+05:30</CreatedDate> <Credit>1.1</Credit> <Date>2024-12-23T04:22:30.8148488+05:30</Date> <Debit>1.1</Debit> <IsDelete>true</IsDelete> <Member_Id>1</Member_Id> <PaymentMode>1</PaymentMode> <Payment_Id>1</Payment_Id> <RefNo>1</RefNo> <Remark>sample string 3</Remark> <RouteId>1</RouteId> <StoreId>1</StoreId> <Type>sample string 2</Type> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2024-12-23T04:22:30.8148488+05:30</UpdatedDate> </tbl_payment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponceName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Data": {} }
text/html, multipart/form-data
Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}
application/xml, text/xml
Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers"> <Data /> <Message>sample string 2</Message> <Status>sample string 1</Status> </APIResponce>