Trendsic Platform Service

<back to all web services

DropboxEditorRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
PUT,OPTIONS/v1/Dropbox
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class DropboxEditorRequest implements IConvertible
{
    Map<String,String?>? Fields = {};
    int? RecordId;
    bool? Locked;

    DropboxEditorRequest({this.Fields,this.RecordId,this.Locked});
    DropboxEditorRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Fields = JsonConverters.toStringMap(json['Fields']);
        RecordId = json['RecordId'];
        Locked = json['Locked'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Fields': Fields,
        'RecordId': RecordId,
        'Locked': Locked
    };

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

TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
    'DropboxEditorRequest': TypeInfo(TypeOf.Class, create:() => DropboxEditorRequest()),
});

Dart DropboxEditorRequest 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.

PUT /v1/Dropbox HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Fields":{"String":"String"},"RecordId":0,"Locked":false}