| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Entity | query | string | No | |
| LongDescription | query | string | No | |
| ResponseStatus | query | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | Yes | |
| Entity | form | string | Yes | |
| LongDescription | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/SystemEntitiesAutoQueryAdd HTTP/1.1
Host: api-stage.smartfarmertech.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"entity":"String","longDescription":"String","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/csv
Content-Length: length
{"id":0,"entity":"String","longDescription":"String"}