GetBusinessAccount
Draft documentation version
Documentation is partial and not validated !
Return
BusinessAccount
Version |
V1
|
Require User context
|
|
Authorization |
|
Errors |
|
Route
GET
/BusinessAccount/{WAC}
Parameters
Remarks
- To override Content-type in your clients HTTP Accept Header, append the
.jsv
suffix or ?format=jsv
- To embed the response in a jsonp callback, append
?callback=myCallback
Post Data sample
cURL command sample
curl -k -H "Authorization: Bearer [YOUR_ACCESS_TOKEN]" -H "Content-Type:application/jsv" https://api.wit-datacenter.com/BusinessAccount/WAC123456789012-
Returned Entity
BusinessAccount
JSV Sample
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
wType: BusinessAccount,
status: Disabled,
wac: String,
ownerAccountID: 0,
operatorAccountID: 0,
hasDataStore: False,
dataStoreSize: 0,
address:
{
wType: Address,
phone: String,
fax: String,
address: String,
postalCode: String,
city: String,
countryID: 0
},
url: String,
description: String,
creationDate: 0001-01-01,
updateDate: 0001-01-01,
id: 0,
picture: 00000000000000000000000000000000,
name: String
}