POST api/Accounting/EditRecieptMobile
Request Information
URI Parameters
None.
Body Parameters
Edit_Reciept| Name | Description | Type | Additional information |
|---|---|---|---|
| DailyTransId | integer |
None. |
|
| RecieptId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| CurrencyId | integer |
None. |
|
| CurrencyRate | decimal number |
None. |
|
| RecieptDate | string |
None. |
|
| Details | string |
None. |
|
| VoucherType | string |
None. |
|
| ChequeBankNo | string |
None. |
|
| ChequeNo | string |
None. |
|
| ChequeDueDate | string |
None. |
|
| ChequeID | integer |
None. |
|
| FronImage | string |
None. |
|
| BackImage | string |
None. |
|
| User_Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DailyTransId": 1,
"RecieptId": 2,
"CustomerId": 3,
"Amount": 4.1,
"DiscountAmount": 5.1,
"CurrencyId": 6,
"CurrencyRate": 7.1,
"RecieptDate": "sample string 8",
"Details": "sample string 9",
"VoucherType": "sample string 10",
"ChequeBankNo": "sample string 11",
"ChequeNo": "sample string 12",
"ChequeDueDate": "sample string 13",
"ChequeID": 14,
"FronImage": "sample string 15",
"BackImage": "sample string 16",
"User_Name": "sample string 17"
}
application/xml, text/xml
Sample:
<Edit_Reciept xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.ViewModels"> <Amount>4.1</Amount> <BackImage>sample string 16</BackImage> <ChequeBankNo>sample string 11</ChequeBankNo> <ChequeDueDate>sample string 13</ChequeDueDate> <ChequeID>14</ChequeID> <ChequeNo>sample string 12</ChequeNo> <CurrencyId>6</CurrencyId> <CurrencyRate>7.1</CurrencyRate> <CustomerId>3</CustomerId> <DailyTransId>1</DailyTransId> <Details>sample string 9</Details> <DiscountAmount>5.1</DiscountAmount> <FronImage>sample string 15</FronImage> <RecieptDate>sample string 8</RecieptDate> <RecieptId>2</RecieptId> <User_Name>sample string 17</User_Name> <VoucherType>sample string 10</VoucherType> </Edit_Reciept>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | string |
None. |
|
| ErrorText | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": "sample string 1",
"ErrorText": "sample string 2",
"Data": {}
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models"> <Data /> <ErrorText>sample string 2</ErrorText> <Success>sample string 1</Success> </ResultModel>