Required role: | REGISUserRole |
POST | /DynamicsCRM/Donations/Info |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CRMDonationsInfoRequest
{
}
public static class CRMDonationsInfoResponse
{
public ResponseStatus responseStatus = null;
public Integer count = null;
public Integer lowest_version_number = null;
public Integer highest_version_number = null;
public ResponseStatus getResponseStatus() { return responseStatus; }
public CRMDonationsInfoResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
public Integer getCount() { return count; }
public CRMDonationsInfoResponse setCount(Integer value) { this.count = value; return this; }
public Integer getLowestVersionNumber() { return lowest_version_number; }
public CRMDonationsInfoResponse setLowestVersionNumber(Integer value) { this.lowest_version_number = value; return this; }
public Integer getHighestVersionNumber() { return highest_version_number; }
public CRMDonationsInfoResponse setHighestVersionNumber(Integer value) { this.highest_version_number = value; return this; }
}
}
Java CRMDonationsInfoRequest 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 /DynamicsCRM/Donations/Info HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"count":0,"lowest_version_number":0,"highest_version_number":0}