Field Squared API Services

<back to all web services

ContactsInBoundary

/{Workspace}/ContactsInBoundary returns a list of domain items based on contacts in boundary query parameter: boundary=Lat,Lon,Lat,Lon etc.

The following routes are available for this service:
GET/{Workspace}/ContactsInBoundary
import 'package:servicestack/servicestack.dart';

/**
* /{Workspace}/ContactsInBoundary returns a list of domain items based on contacts in boundary query parameter: boundary=Lat,Lon,Lat,Lon etc.
*/
class ContactsInBoundary implements IConvertible
{
    String? Workspace;

    ContactsInBoundary({this.Workspace});
    ContactsInBoundary.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

Dart ContactsInBoundary DTOs

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

HTTP + JSON

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

GET /{Workspace}/ContactsInBoundary HTTP/1.1 
Host: dev.fieldsquared.com 
Accept: application/json