sfgboxapi

<back to all web services

GrowplansOutcomesLookup

Requires Authentication
The following routes are available for this service:
GET/growplans_outcomes
import 'package:servicestack/servicestack.dart';

// @DataContract
class GrowplansOutcomesLookup implements IConvertible
{
    // @DataMember(Order=2)
    String? valueType;

    // @DataMember(Order=3)
    String? outcomeType;

    GrowplansOutcomesLookup({this.valueType,this.outcomeType});
    GrowplansOutcomesLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        valueType = json['valueType'];
        outcomeType = json['outcomeType'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'valueType': valueType,
        'outcomeType': outcomeType
    };

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

TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: <String, TypeInfo> {
    'GrowplansOutcomesLookup': TypeInfo(TypeOf.Class, create:() => GrowplansOutcomesLookup()),
});

Dart GrowplansOutcomesLookup 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 /growplans_outcomes HTTP/1.1 
Host: sfgboxapi.dev.scadsoftware.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{Unable to show example output for type 'IEnumerable`1' using the custom 'other' filter}Cannot dynamically create an instance of type 'System.Collections.Generic.IEnumerable`1[sfgboxapi.ServiceModel.GrowplansOutcomesLookupResponse]'. Reason: Cannot create an instance of an interface.