POST v1/Address

Request Information

URI Parameters

None.

Body Parameters

AddressViewModel
NameDescriptionTypeAdditional information
Street

string

None.

HouseNumber

string

None.

Postcode

string

None.

City

string

None.

Country

string

None.

TrainingLocationGuid

globally unique identifier

None.

EventLocationGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Street": "sample string 1",
  "HouseNumber": "sample string 2",
  "Postcode": "sample string 3",
  "City": "sample string 4",
  "Country": "sample string 5",
  "TrainingLocationGuid": "1131ada6-2be3-4bd8-9a31-887d2d431672",
  "EventLocationGuid": "00da3bfd-6f79-434c-938e-e9fc98c34ab4",
  "Guid": "cfd37a26-83d5-48af-8c31-64b9a69c7185",
  "Created": "2021-11-29T17:32:34.9416495+00:00",
  "Modified": "2021-11-29T17:32:34.9416495+00:00",
  "Deleted": "2021-11-29T17:32:34.9416495+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"Street":"sample string 1","HouseNumber":"sample string 2","Postcode":"sample string 3","City":"sample string 4","Country":"sample string 5","TrainingLocationGuid":"1131ada6-2be3-4bd8-9a31-887d2d431672","EventLocationGuid":"00da3bfd-6f79-434c-938e-e9fc98c34ab4","Guid":"cfd37a26-83d5-48af-8c31-64b9a69c7185","Created":"2021-11-29T17:32:34.9416495+00:00","Modified":"2021-11-29T17:32:34.9416495+00:00","Deleted":"2021-11-29T17:32:34.9416495+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<AddressViewModel 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">2021-11-29T17:32:34.9416495+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-11-29T17:32:34.9416495+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">cfd37a26-83d5-48af-8c31-64b9a69c7185</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-11-29T17:32:34.9416495+00:00</Modified>
  <City>sample string 4</City>
  <Country>sample string 5</Country>
  <EventLocationGuid>00da3bfd-6f79-434c-938e-e9fc98c34ab4</EventLocationGuid>
  <HouseNumber>sample string 2</HouseNumber>
  <Postcode>sample string 3</Postcode>
  <Street>sample string 1</Street>
  <TrainingLocationGuid>1131ada6-2be3-4bd8-9a31-887d2d431672</TrainingLocationGuid>
</AddressViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddressViewModel
NameDescriptionTypeAdditional information
Street

string

None.

HouseNumber

string

None.

Postcode

string

None.

City

string

None.

Country

string

None.

TrainingLocationGuid

globally unique identifier

None.

EventLocationGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Street": "sample string 1",
  "HouseNumber": "sample string 2",
  "Postcode": "sample string 3",
  "City": "sample string 4",
  "Country": "sample string 5",
  "TrainingLocationGuid": "a961989e-0277-4926-97f0-7095971375ce",
  "EventLocationGuid": "e9a75436-8450-4f21-89b5-ca5507a5e30f",
  "Guid": "669e71bb-1f45-43be-aa1f-27792945f15d",
  "Created": "2021-11-29T17:32:34.9416495+00:00",
  "Modified": "2021-11-29T17:32:34.9416495+00:00",
  "Deleted": "2021-11-29T17:32:34.9416495+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"Street":"sample string 1","HouseNumber":"sample string 2","Postcode":"sample string 3","City":"sample string 4","Country":"sample string 5","TrainingLocationGuid":"a961989e-0277-4926-97f0-7095971375ce","EventLocationGuid":"e9a75436-8450-4f21-89b5-ca5507a5e30f","Guid":"669e71bb-1f45-43be-aa1f-27792945f15d","Created":"2021-11-29T17:32:34.9416495+00:00","Modified":"2021-11-29T17:32:34.9416495+00:00","Deleted":"2021-11-29T17:32:34.9416495+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<AddressViewModel 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">2021-11-29T17:32:34.9416495+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-11-29T17:32:34.9416495+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">669e71bb-1f45-43be-aa1f-27792945f15d</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2021-11-29T17:32:34.9416495+00:00</Modified>
  <City>sample string 4</City>
  <Country>sample string 5</Country>
  <EventLocationGuid>e9a75436-8450-4f21-89b5-ca5507a5e30f</EventLocationGuid>
  <HouseNumber>sample string 2</HouseNumber>
  <Postcode>sample string 3</Postcode>
  <Street>sample string 1</Street>
  <TrainingLocationGuid>a961989e-0277-4926-97f0-7095971375ce</TrainingLocationGuid>
</AddressViewModel>