POST v1/Address
Request Information
URI Parameters
None.
Body Parameters
AddressViewModelName | Description | Type | Additional 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": "78205ff0-4512-4514-8510-df1e9cd326df", "EventLocationGuid": "dee65632-f6fc-4692-9ea9-03d37c6f4e50", "Guid": "f19e61e2-38b7-4d95-82d0-af0c27429ce0", "Created": "2024-11-21T06:28:48.0464949+00:00", "Modified": "2024-11-21T06:28:48.0464949+00:00", "Deleted": "2024-11-21T06:28:48.0464949+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":"78205ff0-4512-4514-8510-df1e9cd326df","EventLocationGuid":"dee65632-f6fc-4692-9ea9-03d37c6f4e50","Guid":"f19e61e2-38b7-4d95-82d0-af0c27429ce0","Created":"2024-11-21T06:28:48.0464949+00:00","Modified":"2024-11-21T06:28:48.0464949+00:00","Deleted":"2024-11-21T06:28:48.0464949+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-11-21T06:28:48.0464949+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:28:48.0464949+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">f19e61e2-38b7-4d95-82d0-af0c27429ce0</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:28:48.0464949+00:00</Modified> <City>sample string 4</City> <Country>sample string 5</Country> <EventLocationGuid>dee65632-f6fc-4692-9ea9-03d37c6f4e50</EventLocationGuid> <HouseNumber>sample string 2</HouseNumber> <Postcode>sample string 3</Postcode> <Street>sample string 1</Street> <TrainingLocationGuid>78205ff0-4512-4514-8510-df1e9cd326df</TrainingLocationGuid> </AddressViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddressViewModelName | Description | Type | Additional 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": "76fa6176-018f-48bd-a472-1fec273cb4fa", "EventLocationGuid": "6e5fc978-109d-40f7-9999-b2fca3798f9f", "Guid": "03787fb5-a70d-48e9-a371-cb308a2c7cb8", "Created": "2024-11-21T06:28:48.0464949+00:00", "Modified": "2024-11-21T06:28:48.0464949+00:00", "Deleted": "2024-11-21T06:28:48.0464949+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":"76fa6176-018f-48bd-a472-1fec273cb4fa","EventLocationGuid":"6e5fc978-109d-40f7-9999-b2fca3798f9f","Guid":"03787fb5-a70d-48e9-a371-cb308a2c7cb8","Created":"2024-11-21T06:28:48.0464949+00:00","Modified":"2024-11-21T06:28:48.0464949+00:00","Deleted":"2024-11-21T06:28:48.0464949+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-11-21T06:28:48.0464949+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:28:48.0464949+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">03787fb5-a70d-48e9-a371-cb308a2c7cb8</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2024-11-21T06:28:48.0464949+00:00</Modified> <City>sample string 4</City> <Country>sample string 5</Country> <EventLocationGuid>6e5fc978-109d-40f7-9999-b2fca3798f9f</EventLocationGuid> <HouseNumber>sample string 2</HouseNumber> <Postcode>sample string 3</Postcode> <Street>sample string 1</Street> <TrainingLocationGuid>76fa6176-018f-48bd-a472-1fec273cb4fa</TrainingLocationGuid> </AddressViewModel>