Patch
/accounts/{id}/partnerFunctions
Update an account by account ID and PartnerFunctionRecord.
Security
Path parameters
id
string (base64-encoded URI) Required
ExampleaHR0cHM6Ly9teGRldjAzeHR2czdzNHZsMi5oYW5hLm9uZGVtYW5kLmNvbS9BY2NvdW50IzUzZDM3ZGQyNGRlMzRiZDE5Y2I2ZDNlNjk3NDc3MjZl
Body parameters
Update the partner function for an account.
Array of object
Example[
{
"id": "aHR0cHM6Ly9teGRldjAzeHR2czdzNHZsMi5oYW5hLm9uZGVtYW5kLmNvbS9QYXJ0bmVyRnVuY3Rpb25SZWNvcmQjNDE5OWQzNmZiOWU5NGM2Mzk5YzJiMjEwNjI2MjJlNzQ=",
"type": "PartnerFunctionRecord",
"linksAddress": "https://mxdev03xtvs7s4vl2.hana.ondemand.com/Address#3397998019844eecbf8a9f60a8df6012",
"salesInfoPartnerFunctionRecordDefinedBy": "https://mxdev03xtvs7s4vl2.hana.ondemand.com/SalesInfo#8328348e94cb476f960ff854e2c68c7d",
"hasPartnerFunction": "http://www.inmindcloud.com/application/schema.owl#SHIP_TO_PARTY"
}
]
object
type
string
ExamplePartnerFunctionRecord
hasPartnerFunction
string
The URI of the Partner Function to create for this partner function record
Examplehttp://www.inmindcloud.com/application/schema.owl#ASSIGNEE_PARTY
linksAddress
string (uri)
The URI of the address from the Account / User
Examplehttps://mxdev03xtvs7s4vl2.hana.ondemand.com/Address#3397998019844eecbf8a9f60a8df6012
linksPartner
string (uri)
The URI of a User / Account
Examplehttps://mxdev03xtvs7s4vl2.hana.ondemand.com/Account#53d37dd24de34bd19cb6d3e69747726e
salesInfoPartnerFunctionRecordDefinedBy
string (uri)
The URI of a User / Account
Examplehttps://mxdev03xtvs7s4vl2.hana.ondemand.com/SalesInfo#8328348e94cb476f960ff854e2c68c7d
Responses
200
Returns the account partner function details.
{
"id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50IzgyZjFkNzc1MTUzNDRjNWU4NDY2Y2QxYThhNWYxYTVi",
"type": "",
"uri": "http://localhost:8080/iss/Account#82f1d77515344c5e8466cd1a8a5f1a5b\n\n "
}object
id
string (base64-encoded URI)
ExampleaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50I2UxNGYxMjQ0ZTJlNzRiM2E5YzM4OTY3MDZiYjFlNWRi
uri
string
Examplehttp://localhost:8080/iss/Account#e14f1244e2e74b3a9c3896706bb1e5db
type
string
ExampleAccount