Required role: | REGISUserRole |
POST | /DynamicsCRM/ActivityParties |
---|
import 'package:servicestack/servicestack.dart';
class CRMActivityPartiesRequest implements IConvertible
{
int? start_version_number;
int? end_version_number;
CRMActivityPartiesRequest({this.start_version_number,this.end_version_number});
CRMActivityPartiesRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
start_version_number = json['start_version_number'];
end_version_number = json['end_version_number'];
return this;
}
Map<String, dynamic> toJson() => {
'start_version_number': start_version_number,
'end_version_number': end_version_number
};
getTypeName() => "CRMActivityPartiesRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'data.regent_college.edu', types: <String, TypeInfo> {
'CRMActivityPartiesRequest': TypeInfo(TypeOf.Class, create:() => CRMActivityPartiesRequest()),
});
Dart CRMActivityPartiesRequest 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/ActivityParties HTTP/1.1
Host: data.regent-college.edu
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"start_version_number":0,"end_version_number":0}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"guid":"String","activity_guid":"String","regent_id":0,"party_guid":"String","address_used":"String","party_type":"String","version_number":0}]