Retrieve an account

get

/api/REST/1.0/data/account/{id}

Retrieves the account specified by the id parameter

Request

Supported Media Types
Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : Account
Type: object
Title: Account
Show Source
Nested Schema : fieldValues
Type: array
Array containing type and id values for all of the accountFields associated with a given account.
Show Source
Nested Schema : FieldValue
Type: object
Title: FieldValue
Show Source

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Retrieve the account asset with Id #1:


GET /api/REST/1.0/data/account/1
			

Response:


{
    "type":"Account",
    "id":"1",
    "createdAt":"1423758306",
    "depth":"complete",
    "description":"This is an example company.",
    "name":"Cyberdyne Systems",
    "updatedAt":"1423758306",
    "address1":"123 Industry Lane",
    "address2":"",
    "address3":"",
    "businessPhone":"5555555555",
    "city":"Los Angeles ",
    "country":"United States",
    "fieldValues":[],
    "postalCode":"",
    "province":"CA"
}
			
Back to Top