POST api/Cargo/EditTempPayment
Request Information
URI Parameters
None.
Body Parameters
TempPaymentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Temp_Payment_ID | integer |
None. |
|
| Payment_Date | string |
None. |
|
| Payment_Value | decimal number |
None. |
|
| Discount_Amount | decimal number |
None. |
|
| Currency_ID | integer |
None. |
|
| Currency_Name | string |
None. |
|
| Currency_Rate | decimal number |
None. |
|
| Customer_Code | string |
None. |
|
| Customer_Name | string |
None. |
|
| Temp_Payment_Status_ID | integer |
None. |
|
| Container_Layan | string |
None. |
|
| Temp_Payment_Notes | string |
None. |
|
| Package_Count | integer |
None. |
|
| User_Name | string |
None. |
|
| ShippedQNT | Collection of ShippedQNT |
None. |
Request Formats
application/json, text/json
Sample:
{
"Temp_Payment_ID": 1,
"Payment_Date": "sample string 2",
"Payment_Value": 3.1,
"Discount_Amount": 4.1,
"Currency_ID": 5,
"Currency_Name": "sample string 6",
"Currency_Rate": 7.1,
"Customer_Code": "sample string 8",
"Customer_Name": "sample string 9",
"Temp_Payment_Status_ID": 10,
"Container_Layan": "sample string 11",
"Temp_Payment_Notes": "sample string 12",
"Package_Count": 13,
"User_Name": "sample string 14",
"ShippedQNT": [
{
"Transaction_ID": 1,
"QNT": 2,
"Notes": "sample string 3"
},
{
"Transaction_ID": 1,
"QNT": 2,
"Notes": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<TempPaymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Layan_Cargo_API.Models">
<Container_Layan>sample string 11</Container_Layan>
<Currency_ID>5</Currency_ID>
<Currency_Name>sample string 6</Currency_Name>
<Currency_Rate>7.1</Currency_Rate>
<Customer_Code>sample string 8</Customer_Code>
<Customer_Name>sample string 9</Customer_Name>
<Discount_Amount>4.1</Discount_Amount>
<Package_Count>13</Package_Count>
<Payment_Date>sample string 2</Payment_Date>
<Payment_Value>3.1</Payment_Value>
<ShippedQNT>
<ShippedQNT>
<Notes>sample string 3</Notes>
<QNT>2</QNT>
<Transaction_ID>1</Transaction_ID>
</ShippedQNT>
<ShippedQNT>
<Notes>sample string 3</Notes>
<QNT>2</QNT>
<Transaction_ID>1</Transaction_ID>
</ShippedQNT>
</ShippedQNT>
<Temp_Payment_ID>1</Temp_Payment_ID>
<Temp_Payment_Notes>sample string 12</Temp_Payment_Notes>
<Temp_Payment_Status_ID>10</Temp_Payment_Status_ID>
<User_Name>sample string 14</User_Name>
</TempPaymentModel>
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>