GET | /v1/backorder/minmaxdays | Get Back Order Minimum Maximum Days |
---|
import 'package:servicestack/servicestack.dart';
class DayRange implements IConvertible
{
int? Min;
int? Max;
DayRange({this.Min,this.Max});
DayRange.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Min = json['Min'];
Max = json['Max'];
return this;
}
Map<String, dynamic> toJson() => {
'Min': Min,
'Max': Max
};
getTypeName() => "DayRange";
TypeContext? context = _ctx;
}
class GetBackOrderMinMaxDaysResponse implements IConvertible
{
DayRange? Created;
DayRange? Updated;
GetBackOrderMinMaxDaysResponse({this.Created,this.Updated});
GetBackOrderMinMaxDaysResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Created = JsonConverters.fromJson(json['Created'],'DayRange',context!);
Updated = JsonConverters.fromJson(json['Updated'],'DayRange',context!);
return this;
}
Map<String, dynamic> toJson() => {
'Created': JsonConverters.toJson(Created,'DayRange',context!),
'Updated': JsonConverters.toJson(Updated,'DayRange',context!)
};
getTypeName() => "GetBackOrderMinMaxDaysResponse";
TypeContext? context = _ctx;
}
class GetBackOrderMinMaxDaysRequest implements IGet, IConvertible
{
GetBackOrderMinMaxDaysRequest();
GetBackOrderMinMaxDaysRequest.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "GetBackOrderMinMaxDaysRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: <String, TypeInfo> {
'DayRange': TypeInfo(TypeOf.Class, create:() => DayRange()),
'GetBackOrderMinMaxDaysResponse': TypeInfo(TypeOf.Class, create:() => GetBackOrderMinMaxDaysResponse()),
'GetBackOrderMinMaxDaysRequest': TypeInfo(TypeOf.Class, create:() => GetBackOrderMinMaxDaysRequest()),
});
Dart GetBackOrderMinMaxDaysRequest 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.
GET /v1/backorder/minmaxdays HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Created":{"Min":0,"Max":0},"Updated":{"Min":0,"Max":0}}