POST api/taxon/{taxonId}/keyword

Updates the taxon keywords. This service is secured so a valid nbdcToken cookie needs to be provided in a request header.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
taxonId

The taxon identifier.

integer

Required

Body Parameters

The keywords.

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

Response Information

Resource Description

HTTP 200 if updated successfully, else HTTP 500 and an error message.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.