Post
/accounts/{id}/addresses
Create an address and return the address information.
Security
Path parameters
id
string (base64-encoded URI) Required
The account ID.
ExampleaHR0cHM6Ly9teGRldjAzeHR2czdzNHZsMi5oYW5hLm9uZGVtYW5kLmNvbS9BY2NvdW50IzUzZDM3ZGQyNGRlMzRiZDE5Y2I2ZDNlNjk3NDc3MjZl
Body parameters
Example request payload as a resource.
Array of object
Example[
{
"type": "Address",
"addressStreet": "Billing Address",
"addressCity": "New York",
"hasCountry": "https://mxdev03xtvs7s4vl2.hana.ondemand.com/Country#e079af1c991649ecb9d669f6cff0c518",
"addressShipTo": true
},
{
"type": "Address",
"addressStreet": "Shipping Address",
"addressCity": "Melbourne",
"hasCountry": "https://mxdev03xtvs7s4vl2.hana.ondemand.com/Country#e079af1c991649ecb9d669f6cff0c518",
"addressBillTo": true
}
]
object
type
string
ExampleAddress
addressStreet
string
addressCity
string
hasCountry
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#SG
addressShipTo
string
Responses
200
Returns the details of the created address.
{
"id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BZGRyZXNzIzNhMzc5MWZjYzc4ZTQzYjJiODdkYmNmZmI4OGVmMjc4",
"type": "Address",
"uri": "http://localhost:8080/iss/Address#3a3791fcc78e43b2b87dbcffb88ef278",
"addressZip": "069423",
"addressStreet": "46B Club Street",
"addressUnitNo": "10-41",
"addressCity": "Singapore",
"hasCountry": [
"http://www.inmindcloud.dev.com/application/application-implementation.owl#SG"
],
"addressIncludedBy": [
"http://localhost:8080/iss/Account#82f1d77515344c5e8466cd1a8a5f1a5b"
],
"containsCreator": [
"http://www.inmindcloud.com/security/security-implementation.owl#admin-Person"
]
}object
id
string (base64-encoded URI)
ExampleaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BZGRyZXNzIzM3YjViZWI0YTMzMDQ1ZjY5NjRkMTFhNzA0MDRkYmJj
type
string
ExampleAddress
uri
string
Examplehttp://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc
addressZip
string
Example069423
addressStreet
string
Example46B Club Street
addressUnitNo
string
Example10-41
addressCity
string
ExampleSingapore
hasCountry
Array of string
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#SG
addressIncludedBy
Array of string
string (uri)
Examplehttp://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c
addressMain
boolean
Exampletrue
containsCreator
Array of string
string (uri)
Examplehttp://www.inmindcloud.com/security/security-implementation.owl#admin-Person