Skip to content

Commit

Permalink
updated description for csvFields - added variantAt and correspondsAt
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-lapina committed Oct 23, 2020
1 parent 898646a commit 158b44a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions klass-api/src/main/asciidoc/api-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ include::{snippets}/csv-separator-example/http-response.adoc[]

=== csvFields
`csvFields` is an optional parameter that allows a user to filter columns and specify columns order in the Csv output.
It is only applicable for `/codes` and `/codesAt` services.
It is applicable for `/codes`, `/codesAt`, `/variantAt`, `/correspondsAt` services.

The field names are case-sensitive. Misspelled field names will cause a 400 BAD REQUEST error.

Expand All @@ -529,11 +529,6 @@ include::{snippets}/csv-fields-codes-at-example/curl-request.adoc[]
===== Example response
include::{snippets}/csv-fields-codes-at-example/http-response.adoc[]

===== Example request for csvFields=name,code with /codes;
include::{snippets}/csv-fields-codes-example/curl-request.adoc[]
===== Example response
include::{snippets}/csv-fields-codes-example/http-response.adoc[]


=== language
`language` is used to specify a language data shall be presented in. If none selected, the default is "nb" (Norwegian Bokmål).
Expand Down

0 comments on commit 158b44a

Please sign in to comment.