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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<FinanceRegistrationDepositPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/regis.ClassLibrary.Requests">
<amount>0</amount>
<is_audio>false</is_audio>
<reporting_term>String</reporting_term>
<transaction_uuid>String</transaction_uuid>
<uuid>String</uuid>
</FinanceRegistrationDepositPaymentRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length (string)