sfgboxapi

<back to all web services

UsersDetailsLookup

Requires Authentication
The following routes are available for this service:
GET/users_details
import Foundation
import ServiceStack

// @DataContract
public class UsersDetailsLookup : Codable
{
    // @DataMember(Order=2)
    public var appUserId:Int

    // @DataMember(Order=3)
    public var approved:Bool

    // @DataMember(Order=4)
    public var identificationNumber:String

    // @DataMember(Order=5)
    public var passportNumber:String

    // @DataMember(Order=6)
    public var address:String

    // @DataMember(Order=7)
    public var latitude:Double

    // @DataMember(Order=8)
    public var longitude:Double

    // @DataMember(Order=9)
    public var age:Int

    // @DataMember(Order=10)
    public var ethnicGroup:String

    // @DataMember(Order=11)
    public var gender:String

    // @DataMember(Order=12)
    public var isDisabled:Bool

    // @DataMember(Order=13)
    public var documentUrl:String

    // @DataMember(Order=14)
    public var applicationDate:Date

    // @DataMember(Order=15)
    public var approvalDate:Date

    required public init(){}
}


Swift UsersDetailsLookup 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 /users_details 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.UsersDetailsLookupResponse]'. Reason: Cannot create an instance of an interface.