Introduction

The Accounts API should be used to gain access to a users Account List, if the user has the salesManager role, it can be filtered by the Account Rep. The list can also be filtered by the Type of Account.

{
    "status": 200,
    "data": {
        "accounts": [
            {
                "coreId": 272394,
                "integrationId": "",
                "accountName": "Acropolis Oceanfront Resort",
                "billingName": "",
                "contactCount": 0,
                "physicalLocation": {
                    "address": "300 John F Kennedy Beach Dr",
                    "city": "North Wildwood",
                    "state": "NJ",
                    "zip": "08260",
                    "country": "US"
                },
                "postalAddress": {
                    "address": "",
                    "city": "",
                    "state": "",
                    "zip": "",
                    "country": ""
                },
                "fax": "",
                "phone": "+16095225400",
                "email": "",
                "website": "http:\/\/acropolisoceanfront.com\/",
                "type": 3250,
                "owner": 15192,
                "secondaryOwner": 0,
                "archived": false,
                "relationship": 0,
                "lat": "39.0011392",
                "lng": "-74.7882069",
                "agencyId": 0,
                "isSeasonal": false,
                "market": 0,
                "trafficDefault": {
                    "billAgency": false,
                    "agencyCommission": 0,
                    "invoiceType": 1,
                    "clashCodeOne": 67,
                    "clashCodeTwo": 567,
                    "taxId": 10,
                    "spotSeperation": 60,
                    "currencyCode": "USD",
                    "paymentTerms": 30
                },
                "created": 1557932464,
                "createdBy": 15192
            },
            {
                "coreId": 269123,
                "integrationId": "",
                "accountName": "Antojos",
                "billingName": "",
                "contactCount": 0,
                "physicalLocation": {
                    "address": "3704 Bayshore Rd",
                    "city": "North Cape May",
                    "state": "NJ",
                    "zip": "08204",
                    "country": "US"
                },
                "postalAddress": {
                    "address": "",
                    "city": "",
                    "state": "",
                    "zip": "",
                    "country": ""
                },
                "fax": "",
                "phone": "+16095512498",
                "email": "",
                "website": "",
                "type": 3250,
                "owner": 15192,
                "secondaryOwner": 0,
                "archived": false,
                "relationship": 0,
                "lat": "38.9824721",
                "lng": "-74.9427202",
                "agencyId": 0,
                "isSeasonal": false,
                "market": 0,
                "trafficDefault": {
                    "billAgency": false,
                    "agencyCommission": 0,
                    "invoiceType": 1,
                    "clashCodeOne": 0,
                    "clashCodeTwo": 0,
                    "taxId": 10,
                    "spotSeperation": 60,
                    "currencyCode": "USD",
                    "paymentTerms": 7
                },
                "created": 1557150809,
                "createdBy": 15192
            },
            {
                "coreId": 265034,
                "integrationId": "ORG-WIL-RM-44",
                "accountName": "Atlantic City Black Jacks",
                "billingName": "",
                "contactCount": 2,
                "physicalLocation": {
                    "address": "2301 Boardwalk",
                    "city": "Atlantic City",
                    "state": "NJ",
                    "zip": "08401",
                    "country": "US"
                },
                "postalAddress": {
                    "address": "",
                    "city": "",
                    "state": "",
                    "zip": "",
                    "country": ""
                },
                "fax": "",
                "phone": "",
                "email": "",
                "website": "",
                "type": 3248,
                "owner": 885,
                "secondaryOwner": 0,
                "archived": false,
                "relationship": 0,
                "lat": "39.47387",
                "lng": "-74.570504",
                "agencyId": 0,
                "isSeasonal": false,
                "market": 0,
                "trafficDefault": {
                    "billAgency": false,
                    "agencyCommission": 0,
                    "invoiceType": 1,
                    "clashCodeOne": 43,
                    "clashCodeTwo": 567,
                    "taxId": 10,
                    "spotSeperation": 60,
                    "currencyCode": "USD",
                    "paymentTerms": 7
                },
                "created": 1556215823,
                "createdBy": 885
            }
        ],
        "next_page": 1,
        "total_pages": 26
    }
}