| GET | /{Workspace}/ContactsInBoundary |
|---|
import Foundation
import ServiceStack
/**
* /{Workspace}/ContactsInBoundary returns a list of domain items based on contacts in boundary query parameter: boundary=Lat,Lon,Lat,Lon etc.
*/
public class ContactsInBoundary : Codable
{
public var workspace:String
required public init(){}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv