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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
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/csv Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}