<back to all web services

FindRecycleBinItems

The following routes are available for this service:
GET/RestApi/recycle-bin/items
import 'package:servicestack/servicestack.dart';

class FindRecycleBinItems implements IRecycleBinItemFilter, IConvertible
{
    int? Skip;
    int? Take;
    String? OrderExpression;
    String? TypeName;
    String? SearchText;

    FindRecycleBinItems({this.Skip,this.Take,this.OrderExpression,this.TypeName,this.SearchText});
    FindRecycleBinItems.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Skip = json['Skip'];
        Take = json['Take'];
        OrderExpression = json['OrderExpression'];
        TypeName = json['TypeName'];
        SearchText = json['SearchText'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Skip': Skip,
        'Take': Take,
        'OrderExpression': OrderExpression,
        'TypeName': TypeName,
        'SearchText': SearchText
    };

    getTypeName() => "FindRecycleBinItems";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
    'FindRecycleBinItems': TypeInfo(TypeOf.Class, create:() => FindRecycleBinItems()),
});

Dart FindRecycleBinItems DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RestApi/recycle-bin/items HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[{"providerName":"String","itemTypeName":"String","displayTypeName":"String","itemTitle":"String","status":"String","statusText":"String","itemLanguage":"String","ownerName":"String","dateCreated":"\/Date(-62135596800000-0000)\/","parentTypeName":"String","parentTitlesPath":"String"}]