Required role: | REGISUserRole |
POST | /Finance/FinancialAid/Awards/{reporting_term}/Update |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using regis.ClassLibrary.Requests;
namespace regis.ClassLibrary.Requests
{
public partial class FinancialAidBudgetUpdateRequest
{
public FinancialAidBudgetUpdateRequest()
{
award_budgets = new Dictionary<int, decimal>{};
}
public virtual string authorizing_uuid { get; set; }
public virtual string reporting_term { get; set; }
public virtual Dictionary<int, decimal> award_budgets { get; set; }
public virtual bool save_for_all_similar_future_terms { get; set; }
}
}
C# FinancialAidBudgetUpdateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Finance/FinancialAid/Awards/{reporting_term}/Update HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
authorizing_uuid: String,
reporting_term: String,
award_budgets:
{
0: 0
},
save_for_all_similar_future_terms: False
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }