PUT api/AIBudgetPhase1
Update GLLedgerBudget record from Phase 1 data
Request Information
URI Parameters
None.
Body Parameters
Phase1BudgetDetailPushRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyKey | integer |
None. |
|
| GLLedgerBudgetKey | integer |
None. |
|
| forecast_year | integer |
None. |
|
| fiscal_start_month | integer |
None. |
|
| gl_accounts | Collection of GlAccountBudgetLine |
None. |
|
| balance_summaries | Collection of DepartmentBalanceSummary |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyKey": 1,
"GLLedgerBudgetKey": 2,
"forecast_year": 3,
"fiscal_start_month": 4,
"gl_accounts": [
{
"GLAccountKey": 1,
"GLCompanyDepartmentKey": 2,
"DepartmentName": "sample string 3",
"GLName": "sample string 4",
"GLAccountType": "sample string 5",
"basis": "sample string 6",
"confidence": 1.0,
"is_dues_gl": true,
"required_dues_annual": 1.0,
"billing_fractions": {
"sample string 1": 2.0,
"sample string 3": 4.0
},
"monthly_breakdown": {
"sample string 1": [
1.0,
"sample string 2"
],
"sample string 2": [
1.0,
"sample string 2"
]
},
"annual_total": 8.0,
"summary": "sample string 9"
},
{
"GLAccountKey": 1,
"GLCompanyDepartmentKey": 2,
"DepartmentName": "sample string 3",
"GLName": "sample string 4",
"GLAccountType": "sample string 5",
"basis": "sample string 6",
"confidence": 1.0,
"is_dues_gl": true,
"required_dues_annual": 1.0,
"billing_fractions": {
"sample string 1": 2.0,
"sample string 3": 4.0
},
"monthly_breakdown": {
"sample string 1": [
1.0,
"sample string 2"
],
"sample string 2": [
1.0,
"sample string 2"
]
},
"annual_total": 8.0,
"summary": "sample string 9"
}
],
"balance_summaries": [
{
"GLCompanyDepartmentKey": 1,
"DepartmentName": "sample string 2",
"total_expenses_annual": 3.0,
"total_other_income_annual": 4.0,
"required_dues_annual": 5.0,
"total_income_after_balance": 6.0,
"net_balance": 7.0,
"dues_gl_allocation": [
{
"GLAccountKey": 1,
"GLName": "sample string 2",
"ratio": 3.0,
"annual_total": 4.0,
"monthly_budget": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"GLAccountKey": 1,
"GLName": "sample string 2",
"ratio": 3.0,
"annual_total": 4.0,
"monthly_budget": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
]
},
{
"GLCompanyDepartmentKey": 1,
"DepartmentName": "sample string 2",
"total_expenses_annual": 3.0,
"total_other_income_annual": 4.0,
"required_dues_annual": 5.0,
"total_income_after_balance": 6.0,
"net_balance": 7.0,
"dues_gl_allocation": [
{
"GLAccountKey": 1,
"GLName": "sample string 2",
"ratio": 3.0,
"annual_total": 4.0,
"monthly_budget": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
},
{
"GLAccountKey": 1,
"GLName": "sample string 2",
"ratio": 3.0,
"annual_total": 4.0,
"monthly_budget": {
"sample string 1": 2.0,
"sample string 3": 4.0
}
}
]
}
]
}
application/xml, text/xml
Sample:
<Phase1BudgetDetailPushRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMSRXChange.DataClassesBudget">
<BalanceSummaries>
<DepartmentBalanceSummary>
<DepartmentName>sample string 2</DepartmentName>
<DuesGlAllocation>
<DuesGlAllocation>
<AnnualTotal>4</AnnualTotal>
<GLAccountKey>1</GLAccountKey>
<GLName>sample string 2</GLName>
<MonthlyBudget xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 1</d6p1:Key>
<d6p1:Value>2</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 3</d6p1:Key>
<d6p1:Value>4</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
</MonthlyBudget>
<Ratio>3</Ratio>
</DuesGlAllocation>
<DuesGlAllocation>
<AnnualTotal>4</AnnualTotal>
<GLAccountKey>1</GLAccountKey>
<GLName>sample string 2</GLName>
<MonthlyBudget xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 1</d6p1:Key>
<d6p1:Value>2</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 3</d6p1:Key>
<d6p1:Value>4</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
</MonthlyBudget>
<Ratio>3</Ratio>
</DuesGlAllocation>
</DuesGlAllocation>
<GLCompanyDepartmentKey>1</GLCompanyDepartmentKey>
<NetBalance>7</NetBalance>
<RequiredDuesAnnual>5</RequiredDuesAnnual>
<TotalExpensesAnnual>3</TotalExpensesAnnual>
<TotalIncomeAfterBalance>6</TotalIncomeAfterBalance>
<TotalOtherIncomeAnnual>4</TotalOtherIncomeAnnual>
</DepartmentBalanceSummary>
<DepartmentBalanceSummary>
<DepartmentName>sample string 2</DepartmentName>
<DuesGlAllocation>
<DuesGlAllocation>
<AnnualTotal>4</AnnualTotal>
<GLAccountKey>1</GLAccountKey>
<GLName>sample string 2</GLName>
<MonthlyBudget xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 1</d6p1:Key>
<d6p1:Value>2</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 3</d6p1:Key>
<d6p1:Value>4</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
</MonthlyBudget>
<Ratio>3</Ratio>
</DuesGlAllocation>
<DuesGlAllocation>
<AnnualTotal>4</AnnualTotal>
<GLAccountKey>1</GLAccountKey>
<GLName>sample string 2</GLName>
<MonthlyBudget xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 1</d6p1:Key>
<d6p1:Value>2</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
<d6p1:KeyValueOfstringdecimal>
<d6p1:Key>sample string 3</d6p1:Key>
<d6p1:Value>4</d6p1:Value>
</d6p1:KeyValueOfstringdecimal>
</MonthlyBudget>
<Ratio>3</Ratio>
</DuesGlAllocation>
</DuesGlAllocation>
<GLCompanyDepartmentKey>1</GLCompanyDepartmentKey>
<NetBalance>7</NetBalance>
<RequiredDuesAnnual>5</RequiredDuesAnnual>
<TotalExpensesAnnual>3</TotalExpensesAnnual>
<TotalIncomeAfterBalance>6</TotalIncomeAfterBalance>
<TotalOtherIncomeAnnual>4</TotalOtherIncomeAnnual>
</DepartmentBalanceSummary>
</BalanceSummaries>
<CompanyKey>1</CompanyKey>
<FiscalStartMonth>4</FiscalStartMonth>
<ForecastYear>3</ForecastYear>
<GLLedgerBudgetKey>2</GLLedgerBudgetKey>
<GlAccounts>
<GlAccountBudgetLine>
<AnnualTotal>8</AnnualTotal>
<Basis>sample string 6</Basis>
<BillingFractions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringdecimal>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>2</d4p1:Value>
</d4p1:KeyValueOfstringdecimal>
<d4p1:KeyValueOfstringdecimal>
<d4p1:Key>sample string 3</d4p1:Key>
<d4p1:Value>4</d4p1:Value>
</d4p1:KeyValueOfstringdecimal>
</BillingFractions>
<Confidence>1</Confidence>
<DepartmentName>sample string 3</DepartmentName>
<GLAccountKey>1</GLAccountKey>
<GLAccountType>sample string 5</GLAccountType>
<GLCompanyDepartmentKey>2</GLCompanyDepartmentKey>
<GLName>sample string 4</GLName>
<IsDuesGl>true</IsDuesGl>
<MonthlyBreakdown xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<Explanation>sample string 2</Explanation>
<Value>1</Value>
</d4p1:Value>
</d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
<d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<Explanation>sample string 2</Explanation>
<Value>1</Value>
</d4p1:Value>
</d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
</MonthlyBreakdown>
<RequiredDuesAnnual>1</RequiredDuesAnnual>
<Summary>sample string 9</Summary>
</GlAccountBudgetLine>
<GlAccountBudgetLine>
<AnnualTotal>8</AnnualTotal>
<Basis>sample string 6</Basis>
<BillingFractions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringdecimal>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>2</d4p1:Value>
</d4p1:KeyValueOfstringdecimal>
<d4p1:KeyValueOfstringdecimal>
<d4p1:Key>sample string 3</d4p1:Key>
<d4p1:Value>4</d4p1:Value>
</d4p1:KeyValueOfstringdecimal>
</BillingFractions>
<Confidence>1</Confidence>
<DepartmentName>sample string 3</DepartmentName>
<GLAccountKey>1</GLAccountKey>
<GLAccountType>sample string 5</GLAccountType>
<GLCompanyDepartmentKey>2</GLCompanyDepartmentKey>
<GLName>sample string 4</GLName>
<IsDuesGl>true</IsDuesGl>
<MonthlyBreakdown xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
<d4p1:Key>sample string 1</d4p1:Key>
<d4p1:Value>
<Explanation>sample string 2</Explanation>
<Value>1</Value>
</d4p1:Value>
</d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
<d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
<d4p1:Key>sample string 2</d4p1:Key>
<d4p1:Value>
<Explanation>sample string 2</Explanation>
<Value>1</Value>
</d4p1:Value>
</d4p1:KeyValueOfstringMonthValueExplanation8R7_Pmtq0>
</MonthlyBreakdown>
<RequiredDuesAnnual>1</RequiredDuesAnnual>
<Summary>sample string 9</Summary>
</GlAccountBudgetLine>
</GlAccounts>
</Phase1BudgetDetailPushRequest>
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. |