Required role: | REGISUserRole |
POST | /Sections/{reporting_term}/{section_uuid}/Rate/Create |
---|
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 SectionRateCreateRequest
{
public virtual string section_uuid { get; set; }
public virtual string authorizing_uuid { get; set; }
public virtual string rate_code { get; set; }
public virtual bool is_override_credit_rate { get; set; }
public virtual bool is_override_audit_rate { get; set; }
public virtual string reporting_term { get; set; }
}
}
C# SectionRateCreateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Sections/{reporting_term}/{section_uuid}/Rate/Create HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"section_uuid":"String","authorizing_uuid":"String","rate_code":"String","is_override_credit_rate":false,"is_override_audit_rate":false,"reporting_term":"String"}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}