sfgboxapi

<back to all web services

UsersIntendedLookup

The following routes are available for this service:
GET/users_intended
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class UsersIntendedLookup
    {
        @DataMember(Order=2)
        public String firstName = null;

        @DataMember(Order=3)
        public String lastName = null;

        @DataMember(Order=4)
        public String identificationNumber = null;

        @DataMember(Order=5)
        public String phoneNumber = null;

        @DataMember(Order=6)
        public Double latitude = null;

        @DataMember(Order=7)
        public Double longitude = null;

        @DataMember(Order=8)
        @References(UsersDetails.class)
        public Long usersDetailsId = null;
        
        public String getFirstName() { return firstName; }
        public UsersIntendedLookup setFirstName(String value) { this.firstName = value; return this; }
        public String getLastName() { return lastName; }
        public UsersIntendedLookup setLastName(String value) { this.lastName = value; return this; }
        public String getIdentificationNumber() { return identificationNumber; }
        public UsersIntendedLookup setIdentificationNumber(String value) { this.identificationNumber = value; return this; }
        public String getPhoneNumber() { return phoneNumber; }
        public UsersIntendedLookup setPhoneNumber(String value) { this.phoneNumber = value; return this; }
        public Double getLatitude() { return latitude; }
        public UsersIntendedLookup setLatitude(Double value) { this.latitude = value; return this; }
        public Double getLongitude() { return longitude; }
        public UsersIntendedLookup setLongitude(Double value) { this.longitude = value; return this; }
        public Long getUsersDetailsId() { return usersDetailsId; }
        public UsersIntendedLookup setUsersDetailsId(Long value) { this.usersDetailsId = value; return this; }
    }

}

Java UsersIntendedLookup DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

GET /users_intended HTTP/1.1 
Host: sfgboxapi.dev.scadsoftware.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

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