GET annotation/dialect/{dialectID}/token/{tokenID}
Request Information
Authorize
ReviewerURI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tokenID | integer |
Required |
|
dialectID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AnnotationModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
IsEdited | boolean |
None. |
|
Token | LookupItem |
None. |
|
Lemma | LookupItem |
None. |
|
Dialect | LookupItem |
None. |
|
Part | LookupCodedItem |
None. |
|
Forms | Collection of LookupCodedItem |
None. |
|
Codes | string |
None. |
|
Comments | string |
None. |
|
Status | AnnotationStatus |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "isEdited": true, "token": { "id": 1, "text": "sample string 2", "type": "sample string 3" }, "lemma": { "id": 1, "text": "sample string 2", "type": "sample string 3" }, "dialect": { "id": 1, "text": "sample string 2", "type": "sample string 3" }, "part": { "code": "sample string 1", "id": 2, "text": "sample string 3", "type": "sample string 4" }, "forms": [ { "code": "sample string 1", "id": 2, "text": "sample string 3", "type": "sample string 4" }, { "code": "sample string 1", "id": 2, "text": "sample string 3", "type": "sample string 4" } ], "codes": "sample string 3", "comments": "sample string 4", "status": "Omonim" }, { "id": 1, "isEdited": true, "token": { "id": 1, "text": "sample string 2", "type": "sample string 3" }, "lemma": { "id": 1, "text": "sample string 2", "type": "sample string 3" }, "dialect": { "id": 1, "text": "sample string 2", "type": "sample string 3" }, "part": { "code": "sample string 1", "id": 2, "text": "sample string 3", "type": "sample string 4" }, "forms": [ { "code": "sample string 1", "id": 2, "text": "sample string 3", "type": "sample string 4" }, { "code": "sample string 1", "id": 2, "text": "sample string 3", "type": "sample string 4" } ], "codes": "sample string 3", "comments": "sample string 4", "status": "Omonim" } ]
application/xml, text/xml
Sample:
<ArrayOfAnnotationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Corpora.Web.API.Models"> <AnnotationModel> <Codes>sample string 3</Codes> <Comments>sample string 4</Comments> <Dialect> <Text>sample string 2</Text> <Type>sample string 3</Type> <ID>1</ID> </Dialect> <Forms> <LookupCodedItem> <Text>sample string 3</Text> <Type>sample string 4</Type> <ID>2</ID> <Code>sample string 1</Code> </LookupCodedItem> <LookupCodedItem> <Text>sample string 3</Text> <Type>sample string 4</Type> <ID>2</ID> <Code>sample string 1</Code> </LookupCodedItem> </Forms> <ID>1</ID> <IsEdited>true</IsEdited> <Lemma> <Text>sample string 2</Text> <Type>sample string 3</Type> <ID>1</ID> </Lemma> <Part> <Text>sample string 3</Text> <Type>sample string 4</Type> <ID>2</ID> <Code>sample string 1</Code> </Part> <Status>Omonim</Status> <Token> <Text>sample string 2</Text> <Type>sample string 3</Type> <ID>1</ID> </Token> </AnnotationModel> <AnnotationModel> <Codes>sample string 3</Codes> <Comments>sample string 4</Comments> <Dialect> <Text>sample string 2</Text> <Type>sample string 3</Type> <ID>1</ID> </Dialect> <Forms> <LookupCodedItem> <Text>sample string 3</Text> <Type>sample string 4</Type> <ID>2</ID> <Code>sample string 1</Code> </LookupCodedItem> <LookupCodedItem> <Text>sample string 3</Text> <Type>sample string 4</Type> <ID>2</ID> <Code>sample string 1</Code> </LookupCodedItem> </Forms> <ID>1</ID> <IsEdited>true</IsEdited> <Lemma> <Text>sample string 2</Text> <Type>sample string 3</Type> <ID>1</ID> </Lemma> <Part> <Text>sample string 3</Text> <Type>sample string 4</Type> <ID>2</ID> <Code>sample string 1</Code> </Part> <Status>Omonim</Status> <Token> <Text>sample string 2</Text> <Type>sample string 3</Type> <ID>1</ID> </Token> </AnnotationModel> </ArrayOfAnnotationModel>