PUT api/docActor/{id}

Update an existing record from the Actors table.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

docActorDb
NameDescriptionTypeAdditional information
ActorID

integer

None.

PersonID

integer

Required

PersonName

string

None.

VersionID

integer

Required

VersionNumber

string

None.

RoleID

integer

Required

RoleName

string

None.

Notes

string

None.

ActionAssignedDate

date

None.

ActionAssignedBy

integer

None.

ActionDueDate

date

None.

ActionCompletedDate

date

None.

ActionCompletedBy

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Request Formats

application/json, text/json

Sample:
{
  "results": null,
  "ActorID": 1,
  "PersonID": 2,
  "PersonName": "sample string 3",
  "VersionID": 4,
  "VersionNumber": "sample string 5",
  "RoleID": 6,
  "RoleName": "sample string 7",
  "Notes": "sample string 8",
  "ActionAssignedDate": "2025-12-06T23:43:03.7495807+00:00",
  "ActionAssignedBy": 1,
  "ActionDueDate": "2025-12-06T23:43:03.7495807+00:00",
  "ActionCompletedDate": "2025-12-06T23:43:03.7495807+00:00",
  "ActionCompletedBy": 1,
  "CreatedBy": 9,
  "CreatedDate": "2025-12-06T23:43:03.7495807+00:00",
  "UpdatedBy": 11,
  "UpdatedDate": "2025-12-06T23:43:03.7495807+00:00"
}

application/xml, text/xml

Sample:
<docActorDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <ActionAssignedBy>1</ActionAssignedBy>
  <ActionAssignedDate>2025-12-06T23:43:03.7495807+00:00</ActionAssignedDate>
  <ActionCompletedBy>1</ActionCompletedBy>
  <ActionCompletedDate>2025-12-06T23:43:03.7495807+00:00</ActionCompletedDate>
  <ActionDueDate>2025-12-06T23:43:03.7495807+00:00</ActionDueDate>
  <ActorID>1</ActorID>
  <CreatedBy>9</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:43:03.7495807Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <Notes>sample string 8</Notes>
  <PersonID>2</PersonID>
  <PersonName>sample string 3</PersonName>
  <RoleID>6</RoleID>
  <RoleName>sample string 7</RoleName>
  <UpdatedBy>11</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:43:03.7495807Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
  <VersionID>4</VersionID>
  <VersionNumber>sample string 5</VersionNumber>
</docActorDb>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'docActorDb'.

Response Information

Resource Description

docActorDb
NameDescriptionTypeAdditional information
ActorID

integer

None.

PersonID

integer

Required

PersonName

string

None.

VersionID

integer

Required

VersionNumber

string

None.

RoleID

integer

Required

RoleName

string

None.

Notes

string

None.

ActionAssignedDate

date

None.

ActionAssignedBy

integer

None.

ActionDueDate

date

None.

ActionCompletedDate

date

None.

ActionCompletedBy

integer

None.

CreatedBy

integer

None.

CreatedDate

date

None.

UpdatedBy

integer

None.

UpdatedDate

date

None.

results

Collection of ValidationResult

None.

Response Formats

application/json, text/json

Sample:
{
  "results": null,
  "ActorID": 1,
  "PersonID": 2,
  "PersonName": "sample string 3",
  "VersionID": 4,
  "VersionNumber": "sample string 5",
  "RoleID": 6,
  "RoleName": "sample string 7",
  "Notes": "sample string 8",
  "ActionAssignedDate": "2025-12-06T23:43:03.751051+00:00",
  "ActionAssignedBy": 1,
  "ActionDueDate": "2025-12-06T23:43:03.751051+00:00",
  "ActionCompletedDate": "2025-12-06T23:43:03.751051+00:00",
  "ActionCompletedBy": 1,
  "CreatedBy": 9,
  "CreatedDate": "2025-12-06T23:43:03.751051+00:00",
  "UpdatedBy": 11,
  "UpdatedDate": "2025-12-06T23:43:03.751051+00:00"
}

application/xml, text/xml

Sample:
<docActorDb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Tables">
  <results xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel.DataAnnotations" i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Data.Utility" />
  <ActionAssignedBy>1</ActionAssignedBy>
  <ActionAssignedDate>2025-12-06T23:43:03.751051+00:00</ActionAssignedDate>
  <ActionCompletedBy>1</ActionCompletedBy>
  <ActionCompletedDate>2025-12-06T23:43:03.751051+00:00</ActionCompletedDate>
  <ActionDueDate>2025-12-06T23:43:03.751051+00:00</ActionDueDate>
  <ActorID>1</ActorID>
  <CreatedBy>9</CreatedBy>
  <CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:43:03.751051Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreatedDate>
  <Notes>sample string 8</Notes>
  <PersonID>2</PersonID>
  <PersonName>sample string 3</PersonName>
  <RoleID>6</RoleID>
  <RoleName>sample string 7</RoleName>
  <UpdatedBy>11</UpdatedBy>
  <UpdatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2025-12-06T23:43:03.751051Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </UpdatedDate>
  <VersionID>4</VersionID>
  <VersionNumber>sample string 5</VersionNumber>
</docActorDb>