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 .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 /users_intended HTTP/1.1 
Host: api.sfgtec.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

[{"firstName":"String","lastName":"String","identificationNumber":"String","phoneNumber":"String","latitude":0,"longitude":0,"usersDetailsId":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}]