POST v1/PersonText

Request Information

URI Parameters

None.

Body Parameters

PersonTextViewModel
NameDescriptionTypeAdditional information
Contents

string

None.

PersonGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Created

date

None.

Modified

date

None.

Deleted

date

None.

ErrorMessages

Dictionary of string [key] and string [value]

None.

IsValid

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Contents": "sample string 1",
  "PersonGuid": "1e64808c-6341-4a07-a78e-e5412b38c567",
  "Guid": "e495f27d-2426-4be1-a9c7-c73575e4b524",
  "Created": "2019-10-18T15:16:33.0620403+00:00",
  "Modified": "2019-10-18T15:16:33.0620403+00:00",
  "Deleted": "2019-10-18T15:16:33.0620403+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":"1e64808c-6341-4a07-a78e-e5412b38c567","Guid":"e495f27d-2426-4be1-a9c7-c73575e4b524","Created":"2019-10-18T15:16:33.0620403+00:00","Modified":"2019-10-18T15:16:33.0620403+00:00","Deleted":"2019-10-18T15:16:33.0620403+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">2019-10-18T15:16:33.0620403+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:16:33.0620403+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">e495f27d-2426-4be1-a9c7-c73575e4b524</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:16:33.0620403+00:00</Modified>
  <Contents>sample string 1</Contents>
  <PersonGuid>1e64808c-6341-4a07-a78e-e5412b38c567</PersonGuid>
</PersonTextViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PersonTextViewModel
NameDescriptionTypeAdditional information
Contents

string

None.

PersonGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Created

date

None.

Modified

date

None.

Deleted

date

None.

ErrorMessages

Dictionary of string [key] and string [value]

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Contents": "sample string 1",
  "PersonGuid": "2ba86706-ffaf-46a1-92d5-ef9eb3a5ca8f",
  "Guid": "5075d88b-c26e-47ab-8f45-c5d000ecf8cb",
  "Created": "2019-10-18T15:16:33.0776571+00:00",
  "Modified": "2019-10-18T15:16:33.0776571+00:00",
  "Deleted": "2019-10-18T15:16:33.0776571+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":"2ba86706-ffaf-46a1-92d5-ef9eb3a5ca8f","Guid":"5075d88b-c26e-47ab-8f45-c5d000ecf8cb","Created":"2019-10-18T15:16:33.0776571+00:00","Modified":"2019-10-18T15:16:33.0776571+00:00","Deleted":"2019-10-18T15:16:33.0776571+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">2019-10-18T15:16:33.0776571+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:16:33.0776571+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">5075d88b-c26e-47ab-8f45-c5d000ecf8cb</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:16:33.0776571+00:00</Modified>
  <Contents>sample string 1</Contents>
  <PersonGuid>2ba86706-ffaf-46a1-92d5-ef9eb3a5ca8f</PersonGuid>
</PersonTextViewModel>