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": "a50e2cc1-b15f-4633-9d09-09106c741073",
  "EventLocationGuid": "c6e93e2d-0f63-42a9-8b4c-9063ed284a1c",
  "Guid": "5ec19f67-ea02-4f86-9c73-c06a3c9b6c82",
  "Created": "2024-10-04T07:37:14.718831+00:00",
  "Modified": "2024-10-04T07:37:14.718831+00:00",
  "Deleted": "2024-10-04T07:37:14.718831+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":"a50e2cc1-b15f-4633-9d09-09106c741073","EventLocationGuid":"c6e93e2d-0f63-42a9-8b4c-9063ed284a1c","Guid":"5ec19f67-ea02-4f86-9c73-c06a3c9b6c82","Created":"2024-10-04T07:37:14.718831+00:00","Modified":"2024-10-04T07:37:14.718831+00:00","Deleted":"2024-10-04T07:37:14.718831+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">2024-10-04T07:37:14.718831+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:37:14.718831+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">5ec19f67-ea02-4f86-9c73-c06a3c9b6c82</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:37:14.718831+00:00</Modified>
  <City>sample string 4</City>
  <Country>sample string 5</Country>
  <EventLocationGuid>c6e93e2d-0f63-42a9-8b4c-9063ed284a1c</EventLocationGuid>
  <HouseNumber>sample string 2</HouseNumber>
  <Postcode>sample string 3</Postcode>
  <Street>sample string 1</Street>
  <TrainingLocationGuid>a50e2cc1-b15f-4633-9d09-09106c741073</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": "ddfe0d37-2eeb-4083-bb92-4e6f8fe66ca4",
  "EventLocationGuid": "4db4d43c-45fe-4ed1-a1cb-6e208b4628cb",
  "Guid": "fccd5906-241d-41cb-99e3-f183e67dad68",
  "Created": "2024-10-04T07:37:14.718831+00:00",
  "Modified": "2024-10-04T07:37:14.718831+00:00",
  "Deleted": "2024-10-04T07:37:14.718831+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":"ddfe0d37-2eeb-4083-bb92-4e6f8fe66ca4","EventLocationGuid":"4db4d43c-45fe-4ed1-a1cb-6e208b4628cb","Guid":"fccd5906-241d-41cb-99e3-f183e67dad68","Created":"2024-10-04T07:37:14.718831+00:00","Modified":"2024-10-04T07:37:14.718831+00:00","Deleted":"2024-10-04T07:37:14.718831+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">2024-10-04T07:37:14.718831+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:37:14.718831+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">fccd5906-241d-41cb-99e3-f183e67dad68</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-10-04T07:37:14.718831+00:00</Modified>
  <City>sample string 4</City>
  <Country>sample string 5</Country>
  <EventLocationGuid>4db4d43c-45fe-4ed1-a1cb-6e208b4628cb</EventLocationGuid>
  <HouseNumber>sample string 2</HouseNumber>
  <Postcode>sample string 3</Postcode>
  <Street>sample string 1</Street>
  <TrainingLocationGuid>ddfe0d37-2eeb-4083-bb92-4e6f8fe66ca4</TrainingLocationGuid>
</AddressViewModel>