| DELETE,OPTIONS | /v1/Scheduler/Cancel/{SchedulerUrl}/{TimeslotId}/{Checksum} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class SchedulerCancelRequest implements IConvertible
{
String? SchedulerUrl;
int? TimeslotId;
String? Checksum;
SchedulerCancelRequest({this.SchedulerUrl,this.TimeslotId,this.Checksum});
SchedulerCancelRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
SchedulerUrl = json['SchedulerUrl'];
TimeslotId = json['TimeslotId'];
Checksum = json['Checksum'];
return this;
}
Map<String, dynamic> toJson() => {
'SchedulerUrl': SchedulerUrl,
'TimeslotId': TimeslotId,
'Checksum': Checksum
};
getTypeName() => "SchedulerCancelRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'SchedulerCancelRequest': TypeInfo(TypeOf.Class, create:() => SchedulerCancelRequest()),
});
Dart SchedulerCancelRequest 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.
DELETE /v1/Scheduler/Cancel/{SchedulerUrl}/{TimeslotId}/{Checksum} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">false</boolean>