POST api/ZedPlus/SaveTrans_Sales_Purchase_Return_Memo
Request Information
URI Parameters
None.
Body Parameters
ZedPlusSale| Name | Description | Type | Additional information |
|---|---|---|---|
| BILLNO | string |
None. |
|
| PartyCode | string |
None. |
|
| Amount | decimal number |
None. |
|
| Dis_Amt | decimal number |
None. |
|
| VAT_Amount | decimal number |
None. |
|
| Freight_Charges | decimal number |
None. |
|
| Remarks | string |
None. |
|
| GTotal | decimal number |
None. |
|
| PaymentMode | string |
None. |
|
| compcode | string |
None. |
|
| TransType | string |
None. |
|
| ItemsDataRow | Collection of TransactionItemData |
None. |
Request Formats
application/json, text/json
Sample:
{
"BILLNO": "sample string 1",
"PartyCode": "sample string 2",
"Amount": 3.1,
"Dis_Amt": 4.1,
"VAT_Amount": 5.1,
"Freight_Charges": 6.1,
"Remarks": "sample string 7",
"GTotal": 8.1,
"PaymentMode": "sample string 9",
"compcode": "sample string 10",
"TransType": "sample string 11",
"ItemsDataRow": [
{
"ItemCode": "sample string 1",
"I_cOLOR": "sample string 2",
"I_Size": "sample string 3",
"s_price": 4.1,
"qty": 5.1,
"unit": "sample string 6",
"Amount": 7.1,
"Dis_Percent": 8.1,
"Dis_Amt": 9.1,
"Vat_Percent": 10.1,
"Vat_Amt": 11.1,
"Total": 12.1
},
{
"ItemCode": "sample string 1",
"I_cOLOR": "sample string 2",
"I_Size": "sample string 3",
"s_price": 4.1,
"qty": 5.1,
"unit": "sample string 6",
"Amount": 7.1,
"Dis_Percent": 8.1,
"Dis_Amt": 9.1,
"Vat_Percent": 10.1,
"Vat_Amt": 11.1,
"Total": 12.1
}
]
}
application/octet-stream
Sample:
{"BILLNO":"sample string 1","PartyCode":"sample string 2","Amount":3.1,"Dis_Amt":4.1,"VAT_Amount":5.1,"Freight_Charges":6.1,"Remarks":"sample string 7","GTotal":8.1,"PaymentMode":"sample string 9","compcode":"sample string 10","TransType":"sample string 11","ItemsDataRow":[{"ItemCode":"sample string 1","I_cOLOR":"sample string 2","I_Size":"sample string 3","s_price":4.1,"qty":5.1,"unit":"sample string 6","Amount":7.1,"Dis_Percent":8.1,"Dis_Amt":9.1,"Vat_Percent":10.1,"Vat_Amt":11.1,"Total":12.1},{"ItemCode":"sample string 1","I_cOLOR":"sample string 2","I_Size":"sample string 3","s_price":4.1,"qty":5.1,"unit":"sample string 6","Amount":7.1,"Dis_Percent":8.1,"Dis_Amt":9.1,"Vat_Percent":10.1,"Vat_Amt":11.1,"Total":12.1}]}
application/xml, text/xml
Sample:
<ZedPlusSale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BudgetApiServices.Models">
<Amount>3.1</Amount>
<BILLNO>sample string 1</BILLNO>
<Dis_Amt>4.1</Dis_Amt>
<Freight_Charges>6.1</Freight_Charges>
<GTotal>8.1</GTotal>
<ItemsDataRow>
<TransactionItemData>
<Amount>7.1</Amount>
<Dis_Amt>9.1</Dis_Amt>
<Dis_Percent>8.1</Dis_Percent>
<I_Size>sample string 3</I_Size>
<I_cOLOR>sample string 2</I_cOLOR>
<ItemCode>sample string 1</ItemCode>
<Total>12.1</Total>
<Vat_Amt>11.1</Vat_Amt>
<Vat_Percent>10.1</Vat_Percent>
<qty>5.1</qty>
<s_price>4.1</s_price>
<unit>sample string 6</unit>
</TransactionItemData>
<TransactionItemData>
<Amount>7.1</Amount>
<Dis_Amt>9.1</Dis_Amt>
<Dis_Percent>8.1</Dis_Percent>
<I_Size>sample string 3</I_Size>
<I_cOLOR>sample string 2</I_cOLOR>
<ItemCode>sample string 1</ItemCode>
<Total>12.1</Total>
<Vat_Amt>11.1</Vat_Amt>
<Vat_Percent>10.1</Vat_Percent>
<qty>5.1</qty>
<s_price>4.1</s_price>
<unit>sample string 6</unit>
</TransactionItemData>
</ItemsDataRow>
<PartyCode>sample string 2</PartyCode>
<PaymentMode>sample string 9</PaymentMode>
<Remarks>sample string 7</Remarks>
<TransType>sample string 11</TransType>
<VAT_Amount>5.1</VAT_Amount>
<compcode>sample string 10</compcode>
</ZedPlusSale>
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. |