PUT api/Registration/{id}

Updates an existing Registration record in the database.

Request Information

Parameters

NameDescriptionAdditional information
id
An unique identifier that identifies the Registration record to be updated.

Define this parameter in the request URI.

value
The Registration record that should be updated in the database.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FirmDomain": "sample string 2",
  "FirmName": "sample string 3",
  "AffinityPortalUrl": "sample string 4",
  "Modified": "2024-09-21T03:37:35.1036899+10:00",
  "PrimaryKey": 1
}

application/xml, text/xml

Sample:
<Registration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LN.PM.Affinity.WebPortal.Register.Api.Models.Entities">
  <AffinityPortalUrl>sample string 4</AffinityPortalUrl>
  <FirmDomain>sample string 2</FirmDomain>
  <FirmName>sample string 3</FirmName>
  <Id>1</Id>
  <Modified>2024-09-21T03:37:35.1036899+10:00</Modified>
</Registration>

application/x-www-form-urlencoded

Sample:
Id=123&FirmName=Foo&FirmDomain=Foo&AffinityPortalUrl=Foo&Created=2012-10-13