GET api/BudgetTransfer/Create
Request Information
URI Parameters
None.
Body Parameters
BudgetTransferViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Comment | string |
None. |
|
| BudgetDetailList | Collection of BudgetTransaferDetailModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"Name": "sample string 2",
"Comment": "sample string 3",
"BudgetDetailList": [
{
"BudgetFrom": 1,
"BudgetAccountFrom": 2,
"BudgetTo": 3,
"BudgetAccountTo": 4,
"TransferAmount": 5.0
},
{
"BudgetFrom": 1,
"BudgetAccountFrom": 2,
"BudgetTo": 3,
"BudgetAccountTo": 4,
"TransferAmount": 5.0
}
]
}
application/xml, text/xml
Sample:
<BudgetTransferViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizFramework.Web.Services.Areas.Budget.ViewModel">
<BudgetDetailList>
<BudgetTransaferDetailModel>
<BudgetAccountFrom>2</BudgetAccountFrom>
<BudgetAccountTo>4</BudgetAccountTo>
<BudgetFrom>1</BudgetFrom>
<BudgetTo>3</BudgetTo>
<TransferAmount>5</TransferAmount>
</BudgetTransaferDetailModel>
<BudgetTransaferDetailModel>
<BudgetAccountFrom>2</BudgetAccountFrom>
<BudgetAccountTo>4</BudgetAccountTo>
<BudgetFrom>1</BudgetFrom>
<BudgetTo>3</BudgetTo>
<TransferAmount>5</TransferAmount>
</BudgetTransaferDetailModel>
</BudgetDetailList>
<Code>sample string 1</Code>
<Comment>sample string 3</Comment>
<Name>sample string 2</Name>
</BudgetTransferViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>