Required role: | REGISUserRole |
POST | /Finance/RegistrationDepositPayment/{uuid}/{reporting_term} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class FinanceRegistrationDepositPaymentRequest
{
public String uuid = null;
public String reporting_term = null;
public String transaction_uuid = null;
public BigDecimal amount = null;
public Boolean is_audio = null;
public String getUuid() { return uuid; }
public FinanceRegistrationDepositPaymentRequest setUuid(String value) { this.uuid = value; return this; }
public String getReportingTerm() { return reporting_term; }
public FinanceRegistrationDepositPaymentRequest setReportingTerm(String value) { this.reporting_term = value; return this; }
public String getTransactionUuid() { return transaction_uuid; }
public FinanceRegistrationDepositPaymentRequest setTransactionUuid(String value) { this.transaction_uuid = value; return this; }
public BigDecimal getAmount() { return amount; }
public FinanceRegistrationDepositPaymentRequest setAmount(BigDecimal value) { this.amount = value; return this; }
public Boolean getIsAudio() { return is_audio; }
public FinanceRegistrationDepositPaymentRequest setIsAudio(Boolean value) { this.is_audio = value; return this; }
}
}
Java FinanceRegistrationDepositPaymentRequest 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 /Finance/RegistrationDepositPayment/{uuid}/{reporting_term} HTTP/1.1
Host: data.regent-college.edu
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"uuid":"String","reporting_term":"String","transaction_uuid":"String","amount":0,"is_audio":false}
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length (string)