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": "2024-04-16T23:28:39.6471497+01:00",
  "IsDeceased": true,
  "DateDeceased": "2024-04-16T23:28:39.6471497+01:00",
  "EgapId": 5,
  "Title": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "Honours": "sample string 9",
  "Id": 10,
  "LastUpdatedTimestamp": "2024-04-16T23:28:39.6471497+01: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">2024-04-16T23:28:39.6471497+01: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>2024-04-16T23:28:39.6471497+01:00</DateDeceased>
  <DateOfBirth>2024-04-16T23:28:39.6471497+01: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.