GET admin/authors/{id}

Request Information

Authorize

Admin

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

AuthorModel
NameDescriptionTypeAdditional information
ID

integer

None.

Forename

string

Required

String length: inclusive between 0 and 50

Midname

string

String length: inclusive between 0 and 50

Surname

string

Required

String length: inclusive between 0 and 50

Alias

string

String length: inclusive between 0 and 50

FullName

string

None.

FullNameAlt

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "forename": "Sample String 2",
  "midname": "Sample String 3",
  "surname": "Sample String 4",
  "alias": "Sample String 5",
  "fullName": "Sample String 2 Sample String 3 Sample String 4",
  "fullNameAlt": "Sample String 4 Sample String 2 Sample String 3"
}

application/xml, text/xml

Sample:
<AuthorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Corpora.Web.API.Models.AdminModels">
  <Alias xmlns="http://schemas.datacontract.org/2004/07/Corpora.Domain">Sample String 5</Alias>
  <Forename xmlns="http://schemas.datacontract.org/2004/07/Corpora.Domain">Sample String 2</Forename>
  <Midname xmlns="http://schemas.datacontract.org/2004/07/Corpora.Domain">Sample String 3</Midname>
  <Surname xmlns="http://schemas.datacontract.org/2004/07/Corpora.Domain">Sample String 4</Surname>
  <ID xmlns="http://schemas.datacontract.org/2004/07/Corpora.Domain">1</ID>
</AuthorModel>