Required permission: | FinancialAidPermission |
POST | /Finance/FinancialAid/Application/{application_uuid}/{file_uuid} |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using regis.ClassLibrary.Requests;
using regis.ClassLibrary.Responses;
namespace regis.ClassLibrary.Requests
{
public partial class FinancialAidApplicationFileRequest
{
public virtual string application_uuid { get; set; }
public virtual string file_uuid { get; set; }
}
}
namespace regis.ClassLibrary.Responses
{
public partial class FileResponse
: FileSimpleResponse
{
public FileResponse()
{
content = new byte[]{};
}
public virtual string type { get; set; }
public virtual byte[] content { get; set; }
}
public partial class FileSimpleResponse
{
public virtual ResponseStatus ResponseStatus { get; set; }
public virtual string uuid { get; set; }
public virtual string name { get; set; }
public virtual string extension { get; set; }
public virtual long size { get; set; }
}
}
C# FinancialAidApplicationFileRequest 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/Application/{application_uuid}/{file_uuid} HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
application_uuid: String,
file_uuid: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { type: String, content: AA==, responseStatus: { errorCode: String, message: String, stackTrace: String, errors: [ { errorCode: String, fieldName: String, message: String, meta: { String: String } } ], meta: { String: String } }, uuid: String, name: String, extension: String, size: 0 }