| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TenantsId | query | long | No | |
| AppUserId | query | long | No | |
| MediaId | query | long | No | |
| MediaPercentage | query | int? | No | |
| Score | query | int? | No | |
| MenuItems | query | string | No | |
| Entities | query | string | No | |
| IPAddresses | query | string | No | |
| Country | query | string | No | |
| AccessDateTime | query | DateTime | No | |
| ResponseStatus | query | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | Yes | |
| TenantsId | form | long | Yes | |
| AppUserId | form | long | Yes | |
| MediaId | form | long | Yes | |
| MediaPercentage | form | int? | No | |
| Score | form | int? | No | |
| MenuItems | form | string | Yes | |
| Entities | form | string | Yes | |
| IPAddresses | form | string | No | |
| Country | form | string | No | |
| AccessDateTime | form | DateTime | Yes |
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/TrackingAutoQueryAdd HTTP/1.1
Host: api-stage.smartfarmertech.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
tenantsId: 0,
appUserId: 0,
mediaId: 0,
mediaPercentage: 0,
score: 0,
menuItems: String,
entities: String,
ipAddresses: String,
country: String,
accessDateTime: 0001-01-01,
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,
tenantsId: 0,
appUserId: 0,
mediaId: 0,
mediaPercentage: 0,
score: 0,
menuItems: String,
entities: String,
ipAddresses: String,
country: String,
accessDateTime: 0001-01-01
}