GET api/account/audit?limit={limit}&skip={skip}

Retrieves the information for given number of accounts belonging to a particular partner. This only returns accounts immediately under a given partner. This will not return accounts for sub-partners.

Request Information

Authentication Method

Partner Authentication
-Or-
Sub Partner Authentication

URI Parameters

NameDescriptionTypeAdditional information
limit

integer

Required

skip

integer

Required

Body Parameters

None.

Response Information

Successful Response:

Resource Description

Collection of Account Info
NameDescriptionTypeAdditional information
accountNumber

integer

 

url

string

 

countryCode

string

 

timeZone

string

 

currency

string

 

clientId

string

 

clientIdType

string

 

partnerPackage

string

 

jsCode

string

 

token

string

 

status

string

 

partnerRemoteId

string

 

settlementCurrency

string

 

Response Formats

application/json, text/json

Sample:
[
  {
    "accountNumber": 99999,
    "url": "http://www.domain.com",
    "countryCode": "US",
    "timeZone": "Pacific Standard Time",
    "currency": "USD",
    "clientId": "55555555-tttt-uuuu-vvvv-1234567890ab",
    "clientIdType": "GUID",
    "partnerPackage": "Free",
    "jsCode": "<script type=\"text/javascript\">\r\nvar _swaMa =[\"99999\",\"55555555-tttt-uuuu-vvvv-1234567890ab\"];\"undefined\"==typeof sw&&!function(e, s, a){function t(){for(;o[0]&&\"loaded\"==o[0][d];)i=o.shift(),i[w]=!c.parentNode.insertBefore(i,c)}for(var r,n,i,o=[],c=e.scripts[0],w=\"onreadystatechange\",d=\"readyState\";r=a.shift();)n=e.createElement(s),\"async\"in c?(n.async=!1,e.head.appendChild(n)):c[d]?(o.push(n), n[w]=t): e.write(\"<\" + s +' src=\"'+r+'\" defer></'+s+\">\"),n.src=r}(document,\"script\",[\"//analytics.sitewit.com/v3/\"+_swaMa[0]+\"/sw.js\"]);\r\n</script>\r\n",
    "token": "uuuuuuuuuUuuuuuuuuuu",
    "status": "Active",
    "partnerRemoteId": "p-14523224",
    "settlementCurrency": "USD"
  },
  {
    "accountNumber": 3333,
    "url": "http://www.domain.com",
    "countryCode": "US",
    "timeZone": "Eastern Standard Time",
    "currency": "EUR",
    "clientId": "12345678-rrrr-gggg-ffff-1234567890dc",
    "clientIdType": "GUID",
    "partnerPackage": "Premium",
    "jsCode": "<script type=\"text/javascript\">\r\nvar _swaMa =[\"3333\",\"12345678-rrrr-gggg-ffff-1234567890dc\"];\"undefined\"==typeof sw&&!function(e, s, a){function t(){for(;o[0]&&\"loaded\"==o[0][d];)i=o.shift(),i[w]=!c.parentNode.insertBefore(i,c)}for(var r,n,i,o=[],c=e.scripts[0],w=\"onreadystatechange\",d=\"readyState\";r=a.shift();)n=e.createElement(s),\"async\"in c?(n.async=!1,e.head.appendChild(n)):c[d]?(o.push(n), n[w]=t): e.write(\"<\" + s +' src=\"'+r+'\" defer></'+s+\">\"),n.src=r}(document,\"script\",[\"//analytics.sitewit.com/v3/\"+_swaMa[0]+\"/sw.js\"]);\r\n</script>\r\n",
    "token": "yyyyyyyyyyyyyyyyyyyy",
    "status": "Active",
    "partnerRemoteId": "p-54563424",
    "settlementCurrency": "USD"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SiteWit.PartnerAPI.Models.ReturnModels">
  <AccountInfo>
    <accountNumber>99999</accountNumber>
    <clientId>55555555-tttt-uuuu-vvvv-1234567890ab</clientId>
    <clientIdType>GUID</clientIdType>
    <countryCode>US</countryCode>
    <currency>USD</currency>
    <jsCode>&lt;script type="text/javascript"&gt;
var _swaMa =["99999","55555555-tttt-uuuu-vvvv-1234567890ab"];"undefined"==typeof sw&amp;&amp;!function(e, s, a){function t(){for(;o[0]&amp;&amp;"loaded"==o[0][d];)i=o.shift(),i[w]=!c.parentNode.insertBefore(i,c)}for(var r,n,i,o=[],c=e.scripts[0],w="onreadystatechange",d="readyState";r=a.shift();)n=e.createElement(s),"async"in c?(n.async=!1,e.head.appendChild(n)):c[d]?(o.push(n), n[w]=t): e.write("&lt;" + s +' src="'+r+'" defer&gt;&lt;/'+s+"&gt;"),n.src=r}(document,"script",["//analytics.sitewit.com/v3/"+_swaMa[0]+"/sw.js"]);
&lt;/script&gt;
</jsCode>
    <partnerPackage>Free</partnerPackage>
    <partnerRemoteId>p-14523224</partnerRemoteId>
    <settlementCurrency>USD</settlementCurrency>
    <status>Active</status>
    <timeZone>Pacific Standard Time</timeZone>
    <token>uuuuuuuuuUuuuuuuuuuu</token>
    <url>http://www.domain.com</url>
  </AccountInfo>
  <AccountInfo>
    <accountNumber>3333</accountNumber>
    <clientId>12345678-rrrr-gggg-ffff-1234567890dc</clientId>
    <clientIdType>GUID</clientIdType>
    <countryCode>US</countryCode>
    <currency>EUR</currency>
    <jsCode>&lt;script type="text/javascript"&gt;
var _swaMa =["3333","12345678-rrrr-gggg-ffff-1234567890dc"];"undefined"==typeof sw&amp;&amp;!function(e, s, a){function t(){for(;o[0]&amp;&amp;"loaded"==o[0][d];)i=o.shift(),i[w]=!c.parentNode.insertBefore(i,c)}for(var r,n,i,o=[],c=e.scripts[0],w="onreadystatechange",d="readyState";r=a.shift();)n=e.createElement(s),"async"in c?(n.async=!1,e.head.appendChild(n)):c[d]?(o.push(n), n[w]=t): e.write("&lt;" + s +' src="'+r+'" defer&gt;&lt;/'+s+"&gt;"),n.src=r}(document,"script",["//analytics.sitewit.com/v3/"+_swaMa[0]+"/sw.js"]);
&lt;/script&gt;
</jsCode>
    <partnerPackage>Premium</partnerPackage>
    <partnerRemoteId>p-54563424</partnerRemoteId>
    <settlementCurrency>USD</settlementCurrency>
    <status>Active</status>
    <timeZone>Eastern Standard Time</timeZone>
    <token>yyyyyyyyyyyyyyyyyyyy</token>
    <url>http://www.domain.com</url>
  </AccountInfo>
</ArrayOfAccountInfo>