PUT api/Anybody/{index}/{rows}/{field}/{order}

Updates anybody in Donor Strategy.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
index

string

None.

rows

string

None.

field

string

None.

order

string

None.

Body Parameters

Anybody

Anybody
NameDescriptionTypeAdditional information
Pcode

string

None.

MiddleName

string

None.

FormalTitle

string

None.

Biography

string

None.

DateOfBirth

date

None.

IsDeceased

boolean

None.

DateDeceased

date

None.

EgapId

integer

None.

Title

string

None.

FirstName

string

None.

LastName

string

None.

Honours

string

None.

Id

integer

None.

LastUpdatedTimestamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Pcode": "sample string 1",
  "MiddleName": "sample string 2",
  "FormalTitle": "sample string 3",
  "Biography": "sample string 4",
  "DateOfBirth": "2018-11-21T14:04:27.6514143+00:00",
  "IsDeceased": true,
  "DateDeceased": "2018-11-21T14:04:27.6514143+00:00",
  "EgapId": 5,
  "Title": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "Honours": "sample string 9",
  "Id": 10,
  "LastUpdatedTimestamp": "2018-11-21T14:04:27.6514143+00:00"
}

text/xml

Sample:
<Anybody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">10</Id>
  <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2018-11-21T14:04:27.6514143+00:00</LastUpdatedTimestamp>
  <FirstName>sample string 7</FirstName>
  <Honours>sample string 9</Honours>
  <LastName>sample string 8</LastName>
  <Title>sample string 6</Title>
  <Biography>sample string 4</Biography>
  <DateDeceased>2018-11-21T14:04:27.6514143+00:00</DateDeceased>
  <DateOfBirth>2018-11-21T14:04:27.6514143+00:00</DateOfBirth>
  <EgapId>5</EgapId>
  <FormalTitle>sample string 3</FormalTitle>
  <IsDeceased>true</IsDeceased>
  <MiddleName>sample string 2</MiddleName>
  <Pcode>sample string 1</Pcode>
</Anybody>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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.