| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Skip | form | int? | No | |
| Take | form | int? | No | |
| OrderBy | form | string | No | |
| OrderByDesc | form | string | No | |
| Include | form | string | No | |
| Fields | form | string | No | |
| Meta | form | Dictionary<string, string> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | Yes | |
| AppUserId | form | long | Yes | |
| Approved | form | bool | No | |
| IdentificationNumber | form | string | No | |
| PassportNumber | form | string | No | |
| Address | form | string | No | |
| Latitude | form | double | No | |
| Longitude | form | double | No | |
| Age | form | int | No | |
| EthnicGroup | form | string | No | |
| Gender | form | string | No | |
| IsDisabled | form | bool | No | |
| DocumentUrl | form | string | No | |
| ApplicationDate | form | DateTime | No | |
| ApprovalDate | form | DateTime | No | |
| IsZoneMain | form | bool | No | |
| PublicAccessGuid | form | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Offset | form | int | No | |
| Total | form | int | No | |
| Results | form | List<Tenants> | No | |
| Meta | form | Dictionary<string, string> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | Yes | |
| MainZonesId | form | long | Yes | |
| IsPublic | form | bool | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/UsersDetailsAutoQueryLookup HTTP/1.1
Host: api-stage.smartfarmertech.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"skip":0,"take":0,"orderBy":"String","orderByDesc":"String","include":"String","fields":"String","meta":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"offset":0,"total":0,"results":[{"id":0,"appUserId":0,"approved":false,"identificationNumber":"String","passportNumber":"String","address":"String","latitude":0,"longitude":0,"age":0,"ethnicGroup":"String","gender":"String","isDisabled":false,"documentUrl":"String","applicationDate":"\/Date(-62135596800000-0000)\/","approvalDate":"\/Date(-62135596800000-0000)\/","isZoneMain":false,"publicAccessGuid":"00000000000000000000000000000000"}],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}