Post
/accounts
Create an account and return the basic account information.
Security
Body parameters
Example request payload as a resource.
Array of object
Example[
{
"type": "Account",
"objectName": "Test 1",
"includesAddress": [
{
"type": "Address",
"addressStreet": "Billing Address",
"addressCity": "New York",
"hasCountry": "",
"addressMain": true,
"addressBillTo": true
},
{
"type": "Address",
"addressStreet": "Shipping Address",
"addressCity": "Singapore",
"hasCountry": "",
"addressShipTo": true
}
],
"definesSalesInfo": [
{
"type": "SalesInfo",
"hasSalesOrg": "https://my302886.crm.ondemand.com/OrgUnit#AT1100",
"hasDistributionChannel": "http://www.inmindcloud.com/application/application-implementation.owl#DC-10",
"hasDivision": "http://www.inmindcloud.com/application/application-implementation.owl#Div-00",
"hasCurrency": "https://my302886.crm.ondemand.com/Currency#Currency_AUD"
},
{
"type": "SalesInfo",
"hasSalesOrg": "https://my302886.crm.ondemand.com/OrgUnit#AT1100",
"hasDistributionChannel": "http://www.inmindcloud.com/application/application-implementation.owl#DC-10",
"hasDivision": "http://www.inmindcloud.com/application/application-implementation.owl#Div-00",
"hasCurrency": "https://my302886.crm.ondemand.com/Currency#Currency_AUD"
}
],
"definesPartnerFunctionRecord": [
{
"type": "PartnerFunctionRecord",
"linksPartner": "https://mxdev03xtvs7s4vl2.hana.ondemand.com/Account#1fe7a2a16f334c73b1af0f947f50fe31",
"hasPartnerFunction": "http://www.inmindcloud.com/application/schema.owl#EMPLOYEE_RESPONSIBLE_PARTY"
},
{
"type": "PartnerFunctionRecord",
"linksPartner": "https://mxdev03xtvs7s4vl2.hana.ondemand.com/Account#1fe7a2a16f334c73b1af0f947f50fe31",
"hasPartnerFunction": "http://www.inmindcloud.com/application/schema.owl#BILL_TO_PARTY"
}
]
}
]
object
type
string
ExampleAccount
objectName
string
ExampleNew Account
hasIndustry
string (uri)
Examplehttp://www.inmindcloud.dev.com/application/application-implementation.owl#IAeroDefense
accountProspect
boolean
Exampletrue
includesAddress
Array of object (Address_INPUT_AccountAPI)
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 information about the created account.
{
"id": "aHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50IzQ3MjU5ZmYzNDUzYTQyYTc5Mjk2ZWIzYTlmMjQwODJj",
"type": "Account",
"preferenceID": "id_table_misc_orders_order_orders",
"objectName": "preference settting",
"uri": "http://localhost:8080/iss/Account#47259ff3453a42a79296eb3a9f24082c",
"hasSavedSearch": [
"http://www.inmindcloud.com/application/schema.owl#SavedSearch_ACCOUNT_ALL"
],
"containsCreator": [
"http://www.inmindcloud.com/security/security-implementation.owl#admin-Person"
]
}object
id
string (base64-encoded URI)
ExampleaHR0cDovL2xvY2FsaG9zdDo4MDgwL2lzcy9BY2NvdW50I2UxNGYxMjQ0ZTJlNzRiM2E5YzM4OTY3MDZiYjFlNWRi
uri
string
Examplehttp://localhost:8080/iss/Account#e14f1244e2e74b3a9c3896706bb1e5db
type
string
ExampleAccount
includesAddress
Array of object (Account_INCLUDE_ADDRESS_PARAMS)
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
objectName
string
ExampleAccount1
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