PUT api/Village/{village}/Link/{id}
Update a link.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village | string |
None. |
|
id | string |
None. |
Body Parameters
VillageLinkModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique ID of the link |
globally unique identifier |
None. |
Updated |
Date/Time the file was most recently uploaded/updated |
date |
None. |
UpdatedBy |
Name of the user who most recently uploaded/updated the file |
string |
None. |
UpdatedById |
Unique ID of the user who most recently uploaded/updated the file |
globally unique identifier |
None. |
Category |
Link category name (if applicable) |
string |
None. |
Created |
DateTime the link was created |
date |
None. |
CreatedById |
User ID of the user who created the link |
globally unique identifier |
None. |
CreatedBy |
Name of the user who created the link |
string |
None. |
VillageId |
The ID of the village in which the link was uploaded |
globally unique identifier |
None. |
FolderId |
Folder ID of the folder to which the link belongs |
globally unique identifier |
None. |
DisplayName |
The link's Display Name / Title |
string |
None. |
Url |
The link URL |
string |
None. |
CategoryId |
Link Category ID |
globally unique identifier |
None. |
Request Formats
application/json, text/json
{ "Id": "926ce781-e319-4628-b3c1-38cfa4f1d70b", "Updated": "2025-06-03T04:49:32.000+00:00", "UpdatedBy": "sample string 3", "UpdatedById": "a3bb304d-77d8-4a64-8a91-6ef082c2df01", "Category": "sample string 5", "Created": "2025-06-03T04:49:32.000+00:00", "CreatedById": "b8e7cba6-14b9-4271-b358-9bb11aadfc92", "CreatedBy": "sample string 8", "VillageId": "31a584e2-1b6b-485f-ab99-fa58457763e4", "FolderId": "e3e49a75-3319-48fd-ae9d-5bef8fac8fa8", "DisplayName": "sample string 10", "Url": "sample string 11", "CategoryId": "b35f4604-3f06-492f-a2c8-4a22bc578019" }
application/xml, text/xml
<VillageLinkModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <CategoryId>b35f4604-3f06-492f-a2c8-4a22bc578019</CategoryId> <DisplayName>sample string 10</DisplayName> <FolderId>e3e49a75-3319-48fd-ae9d-5bef8fac8fa8</FolderId> <Url>sample string 11</Url> <VillageId>31a584e2-1b6b-485f-ab99-fa58457763e4</VillageId> <Category>sample string 5</Category> <Created>2025-06-03T04:49:32.0000418+00:00</Created> <CreatedBy>sample string 8</CreatedBy> <CreatedById>b8e7cba6-14b9-4271-b358-9bb11aadfc92</CreatedById> <Id>926ce781-e319-4628-b3c1-38cfa4f1d70b</Id> <Updated>2025-06-03T04:49:32.0000418+00:00</Updated> <UpdatedBy>sample string 3</UpdatedBy> <UpdatedById>a3bb304d-77d8-4a64-8a91-6ef082c2df01</UpdatedById> </VillageLinkModel>
multipart/form-data
Response Information
Resource Description
VillageLinkModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Unique ID of the link |
globally unique identifier |
None. |
Updated |
Date/Time the file was most recently uploaded/updated |
date |
None. |
UpdatedBy |
Name of the user who most recently uploaded/updated the file |
string |
None. |
UpdatedById |
Unique ID of the user who most recently uploaded/updated the file |
globally unique identifier |
None. |
Category |
Link category name (if applicable) |
string |
None. |
Created |
DateTime the link was created |
date |
None. |
CreatedById |
User ID of the user who created the link |
globally unique identifier |
None. |
CreatedBy |
Name of the user who created the link |
string |
None. |
VillageId |
The ID of the village in which the link was uploaded |
globally unique identifier |
None. |
FolderId |
Folder ID of the folder to which the link belongs |
globally unique identifier |
None. |
DisplayName |
The link's Display Name / Title |
string |
None. |
Url |
The link URL |
string |
None. |
CategoryId |
Link Category ID |
globally unique identifier |
None. |
Response Formats
application/json, text/json
{ "Id": "bfec601a-04eb-4e42-a7bd-61faafebe5d8", "Updated": "2025-06-03T04:49:32.000+00:00", "UpdatedBy": "sample string 3", "UpdatedById": "34555542-6bb7-4014-9edb-53e723ab9d13", "Category": "sample string 5", "Created": "2025-06-03T04:49:32.000+00:00", "CreatedById": "2120c582-3aa4-47ad-88f7-63f3092a0c8b", "CreatedBy": "sample string 8", "VillageId": "48f2b1a0-c632-4dbb-89f3-ee11f44ef9cf", "FolderId": "401585a6-b7ca-4f31-96c1-015c27c237cc", "DisplayName": "sample string 10", "Url": "sample string 11", "CategoryId": "e54e89ea-3c9f-4f18-b899-77799497483d" }
application/xml, text/xml
<VillageLinkModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <CategoryId>e54e89ea-3c9f-4f18-b899-77799497483d</CategoryId> <DisplayName>sample string 10</DisplayName> <FolderId>401585a6-b7ca-4f31-96c1-015c27c237cc</FolderId> <Url>sample string 11</Url> <VillageId>48f2b1a0-c632-4dbb-89f3-ee11f44ef9cf</VillageId> <Category>sample string 5</Category> <Created>2025-06-03T04:49:32.0000418+00:00</Created> <CreatedBy>sample string 8</CreatedBy> <CreatedById>2120c582-3aa4-47ad-88f7-63f3092a0c8b</CreatedById> <Id>bfec601a-04eb-4e42-a7bd-61faafebe5d8</Id> <Updated>2025-06-03T04:49:32.0000418+00:00</Updated> <UpdatedBy>sample string 3</UpdatedBy> <UpdatedById>34555542-6bb7-4014-9edb-53e723ab9d13</UpdatedById> </VillageLinkModel>