| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AppUserId | query | long | No | |
| Approved | query | bool | No | |
| IdentificationNumber | query | string | No | |
| PassportNumber | query | string | No | |
| Address | query | string | No | |
| Latitude | query | double | No | |
| Longitude | query | double | No | |
| Age | query | int | No | |
| EthnicGroup | query | string | No | |
| Gender | query | string | No | |
| IsDisabled | query | bool | No | |
| ResponseStatus | query | ResponseStatus | 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 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/UsersDetailsAutoQueryAdd HTTP/1.1
Host: api-stage.smartfarmertech.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
appUserId: 0,
approved: False,
identificationNumber: String,
passportNumber: String,
address: String,
latitude: 0,
longitude: 0,
age: 0,
ethnicGroup: String,
gender: String,
isDisabled: False,
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
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: 0001-01-01,
approvalDate: 0001-01-01,
isZoneMain: False,
publicAccessGuid: 00000000000000000000000000000000
}