PUT v1/SocialMedia
Request Information
URI Parameters
None.
Body Parameters
SocialMediaViewModelName | Description | Type | Additional information |
---|---|---|---|
Url | string |
None. |
|
PersonGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Url": "sample string 1", "PersonGuid": "4a99e08c-d775-4f70-b43e-e2204858ba7d", "Guid": "efd8c66e-00ff-4304-8acb-52b0ca9c9785", "Created": "2023-11-22T11:06:26.5353123+00:00", "Modified": "2023-11-22T11:06:26.5353123+00:00", "Deleted": "2023-11-22T11:06:26.5353123+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Url":"sample string 1","PersonGuid":"4a99e08c-d775-4f70-b43e-e2204858ba7d","Guid":"efd8c66e-00ff-4304-8acb-52b0ca9c9785","Created":"2023-11-22T11:06:26.5353123+00:00","Modified":"2023-11-22T11:06:26.5353123+00:00","Deleted":"2023-11-22T11:06:26.5353123+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<SocialMediaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:26.5353123+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:26.5353123+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">efd8c66e-00ff-4304-8acb-52b0ca9c9785</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:26.5353123+00:00</Modified> <PersonGuid>4a99e08c-d775-4f70-b43e-e2204858ba7d</PersonGuid> <Url>sample string 1</Url> </SocialMediaViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SocialMediaViewModelName | Description | Type | Additional information |
---|---|---|---|
Url | string |
None. |
|
PersonGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Url": "sample string 1", "PersonGuid": "997fd91b-ce24-43b7-9c4a-43f603515ce5", "Guid": "9a05b3e6-2a65-4e38-bc10-8a0f6f13191d", "Created": "2023-11-22T11:06:26.5353123+00:00", "Modified": "2023-11-22T11:06:26.5353123+00:00", "Deleted": "2023-11-22T11:06:26.5353123+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Url":"sample string 1","PersonGuid":"997fd91b-ce24-43b7-9c4a-43f603515ce5","Guid":"9a05b3e6-2a65-4e38-bc10-8a0f6f13191d","Created":"2023-11-22T11:06:26.5353123+00:00","Modified":"2023-11-22T11:06:26.5353123+00:00","Deleted":"2023-11-22T11:06:26.5353123+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<SocialMediaViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity"> <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services"> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value>sample string 2</d2p1:Value> </d2p1:KeyValueOfstringstring> <d2p1:KeyValueOfstringstring> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value>sample string 4</d2p1:Value> </d2p1:KeyValueOfstringstring> </ErrorMessages> <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:26.5353123+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:26.5353123+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">9a05b3e6-2a65-4e38-bc10-8a0f6f13191d</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:26.5353123+00:00</Modified> <PersonGuid>997fd91b-ce24-43b7-9c4a-43f603515ce5</PersonGuid> <Url>sample string 1</Url> </SocialMediaViewModel>