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": "bc93d0e7-ed73-4f3c-a5ef-f76bb6648586", "Guid": "21d66920-2d6a-4a1b-83a4-d327251b9a7e", "Created": "2023-11-22T11:06:22.0508896+00:00", "Modified": "2023-11-22T11:06:22.0508896+00:00", "Deleted": "2023-11-22T11:06:22.0508896+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":"bc93d0e7-ed73-4f3c-a5ef-f76bb6648586","Guid":"21d66920-2d6a-4a1b-83a4-d327251b9a7e","Created":"2023-11-22T11:06:22.0508896+00:00","Modified":"2023-11-22T11:06:22.0508896+00:00","Deleted":"2023-11-22T11:06:22.0508896+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">2023-11-22T11:06:22.0508896+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:22.0508896+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">21d66920-2d6a-4a1b-83a4-d327251b9a7e</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:22.0508896+00:00</Modified> <Contents>sample string 1</Contents> <PersonGuid>bc93d0e7-ed73-4f3c-a5ef-f76bb6648586</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": "a54d3487-8cb5-4405-9687-3ef8c7e53134", "Guid": "45aec097-e786-44cc-893a-2c78bfefd289", "Created": "2023-11-22T11:06:22.0508896+00:00", "Modified": "2023-11-22T11:06:22.0508896+00:00", "Deleted": "2023-11-22T11:06:22.0508896+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":"a54d3487-8cb5-4405-9687-3ef8c7e53134","Guid":"45aec097-e786-44cc-893a-2c78bfefd289","Created":"2023-11-22T11:06:22.0508896+00:00","Modified":"2023-11-22T11:06:22.0508896+00:00","Deleted":"2023-11-22T11:06:22.0508896+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">2023-11-22T11:06:22.0508896+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:22.0508896+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">45aec097-e786-44cc-893a-2c78bfefd289</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2023-11-22T11:06:22.0508896+00:00</Modified> <Contents>sample string 1</Contents> <PersonGuid>a54d3487-8cb5-4405-9687-3ef8c7e53134</PersonGuid> </PersonTextViewModel>