GET v1/TrainingLocation/{id}/Address

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

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": "a017ff9f-66b0-4960-b92b-6b27a0bea561",
  "EventLocationGuid": "1149ff5c-3520-4d39-bdf9-b658eac98386",
  "Guid": "b2c5ad57-6868-4d9f-9d85-ab779ea40792",
  "Created": "2024-03-28T07:28:40.8743447+00:00",
  "Modified": "2024-03-28T07:28:40.8743447+00:00",
  "Deleted": "2024-03-28T07:28:40.8743447+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":"a017ff9f-66b0-4960-b92b-6b27a0bea561","EventLocationGuid":"1149ff5c-3520-4d39-bdf9-b658eac98386","Guid":"b2c5ad57-6868-4d9f-9d85-ab779ea40792","Created":"2024-03-28T07:28:40.8743447+00:00","Modified":"2024-03-28T07:28:40.8743447+00:00","Deleted":"2024-03-28T07:28:40.8743447+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-03-28T07:28:40.8743447+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-03-28T07:28:40.8743447+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">b2c5ad57-6868-4d9f-9d85-ab779ea40792</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-03-28T07:28:40.8743447+00:00</Modified>
  <City>sample string 4</City>
  <Country>sample string 5</Country>
  <EventLocationGuid>1149ff5c-3520-4d39-bdf9-b658eac98386</EventLocationGuid>
  <HouseNumber>sample string 2</HouseNumber>
  <Postcode>sample string 3</Postcode>
  <Street>sample string 1</Street>
  <TrainingLocationGuid>a017ff9f-66b0-4960-b92b-6b27a0bea561</TrainingLocationGuid>
</AddressViewModel>