POST v1/PersonText
Request Information
URI Parameters
None.
Body Parameters
PersonTextViewModelName | Description | Type | Additional information |
---|---|---|---|
Contents | string |
None. |
|
PersonGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Contents": "sample string 1", "PersonGuid": "3404e304-e8d3-404d-90b0-833d7bb7bf9a", "Guid": "ed673eb4-efe9-45a5-a4dd-c37b63367a0a", "Created": "2024-07-02T13:15:30.1996207+00:00", "Modified": "2024-07-02T13:15:30.1996207+00:00", "Deleted": "2024-07-02T13:15:30.1996207+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Contents":"sample string 1","PersonGuid":"3404e304-e8d3-404d-90b0-833d7bb7bf9a","Guid":"ed673eb4-efe9-45a5-a4dd-c37b63367a0a","Created":"2024-07-02T13:15:30.1996207+00:00","Modified":"2024-07-02T13:15:30.1996207+00:00","Deleted":"2024-07-02T13:15:30.1996207+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<PersonTextViewModel 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">2024-07-02T13:15:30.1996207+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:15:30.1996207+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">ed673eb4-efe9-45a5-a4dd-c37b63367a0a</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:15:30.1996207+00:00</Modified> <Contents>sample string 1</Contents> <PersonGuid>3404e304-e8d3-404d-90b0-833d7bb7bf9a</PersonGuid> </PersonTextViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PersonTextViewModelName | Description | Type | Additional information |
---|---|---|---|
Contents | string |
None. |
|
PersonGuid | globally unique identifier |
None. |
|
Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "Contents": "sample string 1", "PersonGuid": "47eaf3be-ebf5-4261-8863-f40c96e0fde4", "Guid": "3877af15-98f9-4d48-abe6-14b12aba9990", "Created": "2024-07-02T13:15:30.1996207+00:00", "Modified": "2024-07-02T13:15:30.1996207+00:00", "Deleted": "2024-07-02T13:15:30.1996207+00:00", "ErrorMessages": { "sample string 1": "sample string 2", "sample string 3": "sample string 4" }, "IsValid": false }
application/octet-stream
Sample:
{"Contents":"sample string 1","PersonGuid":"47eaf3be-ebf5-4261-8863-f40c96e0fde4","Guid":"3877af15-98f9-4d48-abe6-14b12aba9990","Created":"2024-07-02T13:15:30.1996207+00:00","Modified":"2024-07-02T13:15:30.1996207+00:00","Deleted":"2024-07-02T13:15:30.1996207+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}
application/xml, text/xml
Sample:
<PersonTextViewModel 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">2024-07-02T13:15:30.1996207+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:15:30.1996207+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">3877af15-98f9-4d48-abe6-14b12aba9990</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-07-02T13:15:30.1996207+00:00</Modified> <Contents>sample string 1</Contents> <PersonGuid>47eaf3be-ebf5-4261-8863-f40c96e0fde4</PersonGuid> </PersonTextViewModel>