Patch
/accounts/{id}
Security
Path parameters
id
string (base64-encoded URI) Required
ExampleaHR0cDovL2VjY2lkZXMvODAwL0FjY291bnQjQ1U3MDI=-
Body parameters
Account object to update.
{
"type": "Account",
"objectName": "Test Account",
"hasIndustry": [
"http://www.inmindcloud.com/application/application-implementation.owl#IHotel"
],
"hasCurrency": [
"http://www.inmindcloud.com/application/application-implementation.owl#EUR"
]
}object
type
string
ExampleAccount
objectName
string
ExampleTest Account
hasIndustry
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#IHotel
hasCurrency
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#EUR
Responses
200
Returns the details of the updated account.
{
"id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50IzQ3MjU5ZmYzNDUzYTQyYTc5Mjk2ZWIzYTlmMjQwODJj",
"type": "Account",
"uri": "http://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c",
"objectName": "Test Account",
"objectId": "47259ff3453a42a79296eb3a9f24082c",
"objectDateOfCreation": 1602144003672,
"objectDateOfUpdate": 1602144011499,
"accountProspect": true,
"hasIndustry": [
{
"id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNJSG90ZWw",
"uri": "http://www.inmindcloud.dev.com/application/application-implementation.owl#IHotel"
}
],
"includesAddress": [
{
"id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BZGRyZXNzIzM3YjViZWI0YTMzMDQ1ZjY5NjRkMTFhNzA0MDRkYmJj",
"type": "Address",
"uri": "http://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc",
"objectId": "37b5beb4a33045f6964d11a70404dbbc",
"addressCity": "Singapore",
"addressStreet": "46B Club Street",
"addressZip": "069423",
"addressMain": true,
"addressUnitNo": "10-41",
"hasCountry": [
{
"id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTRw==",
"type": "Country",
"uri": "http://www.inmindcloud.dev.com/application/application-implementation.owl#SG",
"label": "Singapore",
"objectName": "Singapore",
"objectId": "SG",
"objectExternalId": "SG",
"hasBaseCurrency": [
{
"id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTR0Q=",
"uri": "http://www.inmindcloud.dev.com/application/application-implementation.owl#SGD"
}
],
"hasRegion": [
"http://www.inmindcloud.dev.com/application/application-implementation.owl#APJ"
]
}
],
"addressIncludedBy": [
"http://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c"
],
"containsCreator": [
"http://www.inmindcloud.com/security/security-implementation.owl#admin-Person"
]
}
],
"usesMainAddress": [
"http://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc"
],
"hasCurrency": [
"http://www.inmindcloud.dev.com/application/application-implementation.owl#EUR"
],
"hasAccountType": [
"http://www.inmindcloud.com/application/schema.owl#AccountTypeDirect"
],
"hasAccountStatus": [
"http://www.inmindcloud.com/application/schema.owl#ACTIVE"
],
"containsVirtualTeam": [
"http://www.inmindcloud.dev.com/application/application-implementation.owl#admin"
],
"containsCreator": [
{
"id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5jb20vc2VjdXJpdHkvc2VjdXJpdHktaW1wbGVtZW50YXRpb24ub3dsI2FkbWluLVBlcnNvbg==",
"type": "Employee",
"uri": "http://www.inmindcloud.com/security/security-implementation.owl#admin-Person",
"label": "admin-Person",
"objectName": "admin-Person",
"personEmail": "admin@fakemail.com",
"personFirstName": "In Mind",
"personLastName": "Admin"
}
],
"containsOwner": [
{
"id": "aHR0cDovL3d3dy5pbm1pbmRjbG91ZC5jb20vc2VjdXJpdHkvc2VjdXJpdHktaW1wbGVtZW50YXRpb24ub3dsI2FkbWluLVBlcnNvbg==",
"type": "Employee",
"uri": "http://www.inmindcloud.com/security/security-implementation.owl#admin-Person",
"label": "admin-Person",
"objectName": "admin-Person",
"personEmail": "admin@fakemail.com",
"personFirstName": "In Mind",
"personLastName": "Admin"
}
],
"definesPartnerFunctionRecord": [
"http://localhost:8080/iss/PartnerFunctionRecord#f8980eb2388f4904a38ae61465c79d43"
]
}object
id
string (base64-encoded URI)
ExampleaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50I2UxNGYxMjQ0ZTJlNzRiM2E5YzM4OTY3MDZiYjFlNWRi
uri
string
Examplehttp://localhost:8080/iss/Account#e14f1244e2e74b3a9c3896706bb1e5db
type
string
ExampleAccount
objectName
string
ExampleAccount1
objectId
string
Examplee14f1244e2e74b3a9c3896706bb1e5db
hasIndustry
Array of string
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#IAeroDefense
accountProspect
boolean
Exampletrue
containsCreator
Array of string
string (uri)
Examplehttp://www.inmindcloud.com/security/security-implementation.owl#admin-Person
hasAccountStatus
Array of string
string (uri)
Examplehttp://www.inmindcloud.com/application/schema.owl#ACTIVE
hasAccountType
Array of string
string (uri)
Examplehttp://www.inmindcloud.com/application/schema.owl#AccountTypeDirect
containsOwner
Array of string
string (uri)
Examplehttp://www.inmindcloud.com/security/security-implementation.owl#admin-Person
containsVirtualTeam
Array of string
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#admin
includesAddress
Array of object (Account_INCLUDE_ADDRESS_PARAMS_ALL)
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 object (Address_HAS_COUNTRY_PARAMS_AccountAPI)
object
id
string (base64-encoded URI)
ExampleaHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTRw
type
string
ExampleCountry
uri
string
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#SG
label
string
ExampleSingapore
objectName
string
ExampleSingapore
objectId
string
ExampleSG
objectExternalId
string
ExampleSG
hasBaseCurrency
Array of object
object
id
string (base64-encoded URI)
ExampleaHR0cDovL3d3dy5pbm1pbmRjbG91ZC5kZXYuY29tL2FwcGxpY2F0aW9uL2FwcGxpY2F0aW9uLWltcGxlbWVudGF0aW9uLm93bCNTR0Q
uri
string
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#SGD
hasRegion
Array of string
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#APJ
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
usesMainAddress
Array of string
string (uri)
Examplehttp://localhost:8080/iss/Address#37b5beb4a33045f6964d11a70404dbbc
hasCurrency
Array of string
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#EUR
definesPartnerFunctionRecord
Array of string
string (uri)
Examplehttp://localhost:8080/iss/PartnerFunctionRecord#f8980eb2388f4904a38ae61465c79d43
objectDateOfCreation
integer (timestamp)
Example1594608096026
objectDateOfUpdate
integer (timestamp)
Example1594613347878