PUT api/Registration/{id}
Updates an existing Registration record in the database.
Request Information
Parameters
| Name | Description | Additional 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": "2026-02-20T18:07:42.8289505+11: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>2026-02-20T18:07:42.8289505+11:00</Modified> </Registration>
application/x-www-form-urlencoded
Sample:
Id=123&FirmName=Foo&FirmDomain=Foo&AffinityPortalUrl=Foo&Created=2012-10-13