| GET | /v1/qbo/callback |
|---|
import 'package:servicestack/servicestack.dart';
class QboCallbackRequest implements IConvertible
{
String? Code;
String? State;
String? RealmId;
String? Error;
QboCallbackRequest({this.Code,this.State,this.RealmId,this.Error});
QboCallbackRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Code = json['Code'];
State = json['State'];
RealmId = json['RealmId'];
Error = json['Error'];
return this;
}
Map<String, dynamic> toJson() => {
'Code': Code,
'State': State,
'RealmId': RealmId,
'Error': Error
};
getTypeName() => "QboCallbackRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: <String, TypeInfo> {
'QboCallbackRequest': TypeInfo(TypeOf.Class, create:() => QboCallbackRequest()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/qbo/callback HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/json