PreciseFP - API API Reference
The PreciseFP API is organized around REST. It's designed with resource-oriented URLs, and uses HTTP codes to indicate success and error responses. We use standard HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. JSON is returned by all API responses, including errors.
API Endpoint
https://four.precisefp.com/api
Schemes: http, https
Version: 0.0.1
Authentication
Oauth
PreciseFP uses
OAuth 2.0 for authorization. To use our API, please contact us and we will register your application and provider you with a
client_id and
client_secret. Once you have authorized your application and received the
access_token, you will be able to make requests to the API by adding the following header to every request: Authorization: Bearer OAUTH_ACCESS_TOKEN
User
Get User
Authenticated User Information
Response Example (200 OK)
{
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 996345132",
"photo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"company": "PreciseFP",
"company_email": "company@precisefp.com",
"company_phone": "+1 235762365",
"company_logo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
}
}
Oauth | login |
Get Statistics
The start date (YYYY-MM-DD) to fetch the stats. (defaults to 1 month before)
The end date (YYYY-MM-DD) to fetch the stats. (defaults to today)
Authenticated User Statistical Information
Response Example (200 OK)
{
"prospects": [
0,
3,
4,
1,
0,
0,
0
],
"clients": [
0,
3,
4,
1,
0,
0,
0
],
"sent_forms": [
0,
3,
4,
1,
0,
0,
0
],
"closed_forms": [
0,
3,
4,
1,
0,
0,
0
]
}
Oauth | accounts |
Get Activity
Filter results by activity type.
Sort results by comma delimited list of properties. (use - to sort descendently)
Limit returned results. (defaults to 100)
Offset returned results. (defaults to 0)
List of Activities
Response Example (200 OK)
{
"items": [
{
"id": 4567,
"type": "account.currentdata.updated",
"icon": "person",
"icon_color": "orange",
"title": "Client data updated.",
"description": "By William Black 6 hours ago.",
"created_at": "2017-01-01 12:00:00"
}
],
"limit": 100,
"offset": "integer",
"total": 2
}
Oauth | accounts |
Get Templates
List of templates
Response Example (200 OK)
[
{
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
],
"id": "861e60c9-5017-4458-8618-ae53e9c8f695"
}
]
Oauth | accounts |
Forms
Get Forms
List of forms
Response Example (200 OK)
[
{
"account_id": 185,
"key": 157,
"definition_key": "b59be93a-91eb-41a0-b869-0eedd4d89fe1",
"status": "CLOSED",
"template": {
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
},
"recipients": [
[
"client",
"John Doe"
]
],
"created_at": "2017-02-02 12:00:00",
"updated_at": "2017-03-03 12:00:00",
"opened_at": "2017-04-04 12:00:00",
"reminded_at": "2017-04-05 12:00:00",
"closed_at": "2017-05-06 12:00:00",
"urls": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
]
Oauth | accounts |
Get Account Forms
The unique identifier of the account
List of forms
Response Example (200 OK)
[
{
"account_id": 185,
"key": 155,
"definition_key": "b59be93a-91eb-41a0-b869-0eedd4d89fe1",
"status": "CLOSED",
"template": {
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
},
"recipients": [
[
"client",
"John Doe"
]
],
"created_at": "2017-02-02 12:00:00",
"updated_at": "2017-03-03 12:00:00",
"opened_at": "2017-04-04 12:00:00",
"reminded_at": "2017-04-05 12:00:00",
"closed_at": "2017-05-06 12:00:00",
"urls": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
]
Oauth | accounts |
Send Form
Form
The unique identifier of the account
Sent successfully
Not found
Internal error
Response Example (201 Created)
{
"account_id": 185,
"key": 155,
"definition_key": "b59be93a-91eb-41a0-b869-0eedd4d89fe1",
"status": "CLOSED",
"template": {
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
},
"recipients": [
[
"client",
"John Doe"
]
],
"created_at": "2017-02-02 12:00:00",
"updated_at": "2017-03-03 12:00:00",
"opened_at": "2017-04-04 12:00:00",
"reminded_at": "2017-04-05 12:00:00",
"closed_at": "2017-05-06 12:00:00",
"urls": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Resend Form
The unique identifier of the account
The unique identifier of the form
Resent Successfully
Not found
Internal error
Response Example (200 OK)
{
"account_id": 185,
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"definition_key": "b59be93a-91eb-41a0-b869-0eedd4d89fe1",
"status": "CLOSED",
"template": {
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
},
"recipients": [
[
"client",
"John Doe"
]
],
"created_at": "2017-02-02 12:00:00",
"updated_at": "2017-03-03 12:00:00",
"opened_at": "2017-04-04 12:00:00",
"reminded_at": "2017-04-05 12:00:00",
"closed_at": "2017-05-06 12:00:00",
"urls": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Close Form
The unique identifier of the account
The unique identifier of the form
Closed successfully
Not found
Internal error
Response Example (200 OK)
{
"account_id": 185,
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"definition_key": "b59be93a-91eb-41a0-b869-0eedd4d89fe1",
"status": "CLOSED",
"template": {
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
},
"recipients": [
[
"client",
"John Doe"
]
],
"created_at": "2017-02-02 12:00:00",
"updated_at": "2017-03-03 12:00:00",
"opened_at": "2017-04-04 12:00:00",
"reminded_at": "2017-04-05 12:00:00",
"closed_at": "2017-05-06 12:00:00",
"urls": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Preview Form
The unique identifier of the account
The unique identifier of the form
Form preview URL
Not found
Internal error
Response Example (200 OK)
{
"url": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Reports
Get Reports
List of reports
Response Example (200 OK)
[
{
"key": "17270724-5880-4fbf-af3d-60aecd3c22af",
"type": "FORMDEFINITION",
"source": "34f7a42f-7923-4cd8-bd01-e82d344b5016",
"title": "Client Survey Results",
"description": "List of all answers from the Client Survey",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-02-02 12:00:00",
"tags": [
"Survey",
"PreciseFP"
],
"id": "17270724-5880-4fbf-af3d-60aecd3c22af"
}
]
Oauth | accounts |
Generate Report
The unique identifier of the report
Report data source
Report data range start
Report data range end
Format of the report
Report Generated
Not found
Internal error
Response Example (200 OK)
"File of a specified format"
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Generate Account Report
The unique identifier of the account
The unique identifier of the report
Format of the report
Report Generated
Not found
Internal error
Response Example (200 OK)
"File of a specified format"
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Accounts
Get Accounts
Filter result by account type.
Sort results by comma delimited list of properties. (use dash (-) to sort descendently)
Limit returned results. (defaults to 100)
Offset returned results. (defaults to 0)
List of Accounts
Response Example (200 OK)
{
"items": [
{
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"status": "ACTIVE",
"type": "CLIENT"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555444333",
"status": "NEW",
"type": "COCLIENT"
},
"type": "clients",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-01-01 13:00:00",
"id": 100
}
],
"limit": 100,
"offset": "integer",
"total": 2
}
Oauth | accounts |
Create Account
- type: string , x ∈ { clients , prospects }
-
Type of account.
- client: Account Member
-
Client information.
- coclient: Account Member
-
Co-client information.
Request Example
{
"type": "clients",
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 555-666-7777"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555-444-3333"
}
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"status": "ACTIVE",
"type": "CLIENT"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555444333",
"status": "NEW",
"type": "COCLIENT"
},
"type": "clients",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-01-01 13:00:00",
"id": 100
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"first_name is required.",
"email is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Account
The unique identifier of the account
Account Item
Not found
Response Example (200 OK)
{
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"status": "ACTIVE",
"type": "CLIENT"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555444333",
"status": "NEW",
"type": "COCLIENT"
},
"type": "clients",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-01-01 13:00:00",
"id": 100
}
Oauth | accounts |
Update Account
- type: string , x ∈ { clients , prospects }
-
Type of account.
- client: Account Member
-
Client information.
- coclient: Account Member
-
Co-client information.
The unique identifier of the account
Request Example
{
"type": "clients",
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 555-666-7777"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555-444-3333"
}
}
Updated successfully
Not found
Validation error
Internal error
Response Example (200 OK)
{
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"status": "ACTIVE",
"type": "CLIENT"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555444333",
"status": "NEW",
"type": "COCLIENT"
},
"type": "clients",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-01-01 13:00:00",
"id": 100
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"first_name is required.",
"email is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Account
The unique identifier of the account
Removed successfully
Oauth | accounts |
Get Account Member
The unique identifier of the account
Client primary information.
Account item
Response Example (200 OK)
{
"first_name": "John",
"middle_initial": "M",
"last_name": "Doe",
"gender": "male",
"birth_date": "1980-01-01 00:00:00",
"marital_status": "married",
"previous_marriages": "integer",
"citizenship": {
"country": "US"
},
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"home_phone": "+1 5557778888",
"work_phone": "+1 5558888999",
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"photo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"risk_score": 50.32,
"comments": "Lorem ipsum dolor sit amet.",
"drivers_license": {
"number": "123456789",
"issue_date": "2010-01-01 00:00:00",
"expire_date": "2060-01-01 00:00:00",
"jurisdiction": {
"state": "CA",
"country": "US"
},
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
}
Oauth | accounts |
Update Account Member
Client/Co-client full information
The unique identifier of the account
Client primary information.
Request Example
{
"first_name": "John",
"middle_initial": "M",
"last_name": "Doe",
"gender": "male",
"birth_date": "1980-01-01 00:00:00",
"marital_status": "married",
"previous_marriages": "integer",
"citizenship": {
"country": "US"
},
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"home_phone": "+1 5557778888",
"work_phone": "+1 5558888999",
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"photo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"risk_score": 50.32,
"comments": "Lorem ipsum dolor sit amet.",
"drivers_license": {
"number": "123456789",
"issue_date": "2010-01-01 00:00:00",
"expire_date": "2060-01-01 00:00:00",
"jurisdiction": {
"state": "CA",
"country": "US"
},
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
}
Updated successfully
Validation error
Internal error
Response Example (200 OK)
{
"first_name": "John",
"middle_initial": "M",
"last_name": "Doe",
"gender": "male",
"birth_date": "1980-01-01 00:00:00",
"marital_status": "married",
"previous_marriages": "integer",
"citizenship": {
"country": "US"
},
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"home_phone": "+1 5557778888",
"work_phone": "+1 5558888999",
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"photo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"risk_score": 50.32,
"comments": "Lorem ipsum dolor sit amet.",
"drivers_license": {
"number": "123456789",
"issue_date": "2010-01-01 00:00:00",
"expire_date": "2060-01-01 00:00:00",
"jurisdiction": {
"state": "CA",
"country": "US"
},
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"first_name is required.",
"email is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Update Account Member Photo
File to upload
The unique identifier of the account
Client primary information.
Updated successfully
Internal error
Response Example (200 OK)
{
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Account Member Photo
The unique identifier of the account
Client primary information.
Removed successfully
Oauth | accounts |
Update Driver's License Document
File to upload
The unique identifier of the account
Client primary information.
Updated successfully
Internal error
Response Example (200 OK)
{
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46080,
"filename": "scan.pdf"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Driver's License Document
The unique identifier of the account
Client primary information.
Removed successfully
Oauth | accounts |
Get Annuities
The unique identifier of the account
List of Annuities
Response Example (200 OK)
[
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500,
"id": "8aec83f8-7c54-41a8-a564-df253e2c07e5|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Annuity
Annuity
The unique identifier of the account
Request Example
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500,
"id": "8aec83f8-7c54-41a8-a564-df253e2c07e5|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"name is required.",
"owner is required.",
"current-value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Annuity
The unique identifier of the account
The unique identifier of the annuity
Annuity
Not found
Response Example (200 OK)
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500,
"id": "8aec83f8-7c54-41a8-a564-df253e2c07e5|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Annuity
Annuity
The unique identifier of the account
The unique identifier of the annuity
Request Example
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500
}
Updated successfully
Not found
Internal error
Response Example (200 OK)
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Annuity
The unique identifier of the account
The unique identifier of the annuity
Removed successfully
Oauth | accounts |
Get Assets
The unique identifier of the account
List of Assets
Response Example (200 OK)
[
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000,
"id": "365f7627-10f2-4183-a724-eade147ac9fe|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Asset
Asset
The unique identifier of the account
Request Example
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000,
"id": "365f7627-10f2-4183-a724-eade147ac9fe|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"name is required.",
"owner is required.",
"current-value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Asset
The unique identifier of the account
The unique identifier of the asset
Asset
Not found
Response Example (200 OK)
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000,
"id": "365f7627-10f2-4183-a724-eade147ac9fe|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Asset
Asset
The unique identifier of the account
The unique identifier of the asset
Request Example
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000
}
Updated successfully
Not found
Internal error
Response Example (200 OK)
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Asset
The unique identifier of the account
The unique identifier of the asset
Removed successfully
Oauth | accounts |
Get Cashables
The unique identifier of the account
List of Cashables
Response Example (200 OK)
[
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05",
"id": "5076bdae-1af1-4a9a-8827-64106f44c80b|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Cashable
Cashable
The unique identifier of the account
Request Example
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05"
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05",
"id": "5076bdae-1af1-4a9a-8827-64106f44c80b|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"name is required.",
"owner is required.",
"current-value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Cashable
The unique identifier of the account
The unique identifier of the cashable
Cashable
Not found
Response Example (200 OK)
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05",
"id": "5076bdae-1af1-4a9a-8827-64106f44c80b|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Cashable
Cashable
The unique identifier of the account
The unique identifier of the cashable
Request Example
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05"
}
Created successfully
Not found
Internal error
Response Example (200 OK)
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Cashable
The unique identifier of the account
The unique identifier of the cashable
Removed successfully
Oauth | accounts |
Get Contacts
The unique identifier of the account
List of Contacts
Response Example (200 OK)
[
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS",
"id": "010eb904-f196-4b0e-b936-dd5038fa1397|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Contact
Contact
The unique identifier of the account
Request Example
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS"
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS",
"id": "010eb904-f196-4b0e-b936-dd5038fa1397|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"first_name is required.",
"last_name is required.",
"type is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Contact
The unique identifier of the account
The unique identifier of the contact
Contact
Not found
Response Example (200 OK)
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS",
"id": "010eb904-f196-4b0e-b936-dd5038fa1397|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Contact
Contact
The unique identifier of the account
The unique identifier of the contact
Request Example
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS"
}
Updated successfully
Not found
Internal error
Response Example (200 OK)
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Contact
The unique identifier of the account
The unique identifier of the contact
Removed successfully
Oauth | accounts |
Get Documents
The unique identifier of the account
List of Documents
Response Example (200 OK)
[
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
},
"id": "f39360b1-dc88-4ed8-9ba5-a3d9a1fdda0d|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Document
Document
The unique identifier of the account
Request Example
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
}
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
},
"id": "f39360b1-dc88-4ed8-9ba5-a3d9a1fdda0d|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"file is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Document
The unique identifier of the account
The unique identifier of the document
Document
Not found
Response Example (200 OK)
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
},
"id": "f39360b1-dc88-4ed8-9ba5-a3d9a1fdda0d|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Document
Document
The unique identifier of the account
The unique identifier of the document
Request Example
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
}
}
Created successfully
Not found
Internal error
Response Example (200 OK)
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
}
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Document
The unique identifier of the account
The unique identifier of the document
Removed successfully
Oauth | accounts |
Get Employments
The unique identifier of the account
Client or Co-client
List of Employments
Response Example (200 OK)
[
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
},
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Employment
Employment
The unique identifier of the account
Client or Co-client
Request Example
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
},
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"employer is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Employment
The unique identifier of the account
Client or Co-client
The unique identifier of the employment
Employment
Not found
Response Example (200 OK)
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
},
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Employment
Employment
The unique identifier of the account
Client or Co-client
The unique identifier of the employment
Request Example
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
Item created successfully
Not found
Internal error
Response Example (200 OK)
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Employment
The unique identifier of the account
Client or Co-client
The unique identifier of the employment
Removed successfully
Oauth | accounts |
Update Employment Document
File to upload
The unique identifier of the account
Client or Co-client
The unique identifier of the employment
Updated successfully
Internal error
Response Example (200 OK)
{
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46080,
"filename": "scan.pdf"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Employment Document
The unique identifier of the account
Client or Co-client
The unique identifier of the employment
Removed successfully
Oauth | accounts |
Get Fixed Expenses
The unique identifier of the account
Expenses-fixed
Response Example (200 OK)
{
"rent": 100,
"alimony": 240,
"child_support": 150,
"college": 210,
"other_insurance": 75,
"life_insurance": 170,
"health_insurance": 140,
"disability_insurance": 99,
"long_term_care_insurance": 105,
"homeowner_insurance": 95,
"auto_insurance": 80,
"umbrella_insurance": 55,
"eo_malpractice_insurance": 45,
"college_plan": 115,
"annuity": 65,
"retirement_plan": 50,
"credit_card": 11,
"mortgage": 320,
"loan": 199,
"other": 35
}
Oauth | accounts |
Update Fixed Expenses
Expense-fixed
The unique identifier of the account
Request Example
{
"rent": 100,
"alimony": 240,
"child_support": 150,
"college": 210,
"other_insurance": 75,
"life_insurance": 170,
"health_insurance": 140,
"disability_insurance": 99,
"long_term_care_insurance": 105,
"homeowner_insurance": 95,
"auto_insurance": 80,
"umbrella_insurance": 55,
"eo_malpractice_insurance": 45,
"college_plan": 115,
"annuity": 65,
"retirement_plan": 50,
"credit_card": 11,
"mortgage": 320,
"loan": 199,
"other": 35
}
Updated successfully
Not found
Internal error
Response Example (201 Created)
{
"rent": 100,
"alimony": 240,
"child_support": 150,
"college": 210,
"other_insurance": 75,
"life_insurance": 170,
"health_insurance": 140,
"disability_insurance": 99,
"long_term_care_insurance": 105,
"homeowner_insurance": 95,
"auto_insurance": 80,
"umbrella_insurance": 55,
"eo_malpractice_insurance": 45,
"college_plan": 115,
"annuity": 65,
"retirement_plan": 50,
"credit_card": 11,
"mortgage": 320,
"loan": 199,
"other": 35
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Tax Expenses
The unique identifier of the account
Expenses-Tax
Response Example (200 OK)
{
"federal_income": 1250,
"state_income": 999,
"fica": 700,
"real_estate": 888,
"other": 525
}
Oauth | accounts |
Update Tax Expenses
Expense-Tax
The unique identifier of the account
Request Example
{
"federal_income": 1250,
"state_income": 999,
"fica": 700,
"real_estate": 888,
"other": 525
}
Updated successfully
Not found
Internal error
Response Example (201 Created)
{
"federal_income": 1250,
"state_income": 999,
"fica": 700,
"real_estate": 888,
"other": 525
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Variable Expenses
The unique identifier of the account
List of Variable Expenses
Response Example (200 OK)
{
"value": 110,
"type": "supplies"
}
Oauth | accounts |
Create Variable Expense
Expense-Variable
The unique identifier of the account
Request Example
{
"value": 110,
"type": "supplies"
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"value": 110,
"type": "supplies"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Variable Expense
The unique identifier of the account
The unique identifier of the expense - variable
Expense-variable
Not found
Response Example (200 OK)
{
"value": 110,
"type": "supplies",
"id": "3e0a2045-6c9e-453f-b463-3e0158ec5370|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Variable Expense
Expense-Variable
The unique identifier of the account
The unique identifier of the expense - variable
Request Example
{
"value": 110,
"type": "supplies"
}
Updated successfully
Not found
Internal error
Response Example (200 OK)
{
"value": 110,
"type": "supplies"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Variable Expense
The unique identifier of the account
The unique identifier of the expense - variable
Removed successfully
Oauth | accounts |
Get Family Members
The unique identifier of the account
List of Account Family Members
Response Example (200 OK)
{
"items": {
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020,
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
}
Oauth | accounts |
Create Family Member
Account family member
The unique identifier of the account
Request Example
{
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020,
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"first_name is required.",
"last_name is required.",
"relationship is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Family Member
The unique identifier of the account
The unique identifier of the family member
Account Family Member Item
Not found
Response Example (200 OK)
{
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020,
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Family Member
Account family member
The unique identifier of the account
The unique identifier of the family member
Request Example
{
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020
}
Updated successfully
Not found
Validation error
Internal error
Response Example (200 OK)
{
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"first_name is required.",
"last_name is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Family Member
The unique identifier of the account
The unique identifier of the family member
Removed successfully
Oauth | accounts |
Get Goals
The unique identifier of the account
List of Goals
Response Example (200 OK)
[
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly",
"id": "bd7511b8-0bd1-4280-8cd9-d1a53f7ee51c|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Goal
Goal
The unique identifier of the account
Request Example
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly"
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly",
"id": "bd7511b8-0bd1-4280-8cd9-d1a53f7ee51c|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"name is required.",
"owner is required.",
"type is required.",
"target is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Goal
The unique identifier of the account
The unique identifier of the goal
Goal
Not found
Response Example (200 OK)
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly",
"id": "bd7511b8-0bd1-4280-8cd9-d1a53f7ee51c|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Goal
Goal data
The unique identifier of the account
The unique identifier of the goal
Request Example
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly"
}
Item created successfully
Not found
Internal error
Response Example (200 OK)
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly"
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Goal
The unique identifier of the account
The unique identifier of the goal
Removed successfully
Oauth | accounts |
Get Income
The unique identifier of the account
Client or Co-client
Income
Response Example (200 OK)
{
"employment": 135000,
"self_employment": 29500,
"annuities": 3700,
"social_security": 3500,
"dividends": 2600,
"interest": 1860,
"other": 2300,
"comments": "Lorem ipsum dolor sit amet."
}
Oauth | accounts |
Update Income
Income
The unique identifier of the account
Client or Co-client
Request Example
{
"employment": 135000,
"self_employment": 29500,
"annuities": 3700,
"social_security": 3500,
"dividends": 2600,
"interest": 1860,
"other": 2300,
"comments": "Lorem ipsum dolor sit amet."
}
Updated successfully
Not found
Internal error
Response Example (201 Created)
{
"employment": 135000,
"self_employment": 29500,
"annuities": 3700,
"social_security": 3500,
"dividends": 2600,
"interest": 1860,
"other": 2300,
"comments": "Lorem ipsum dolor sit amet."
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Insurance Policies
The unique identifier of the account
List of insurance policies
Response Example (200 OK)
[
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000,
"id": "f5086bc5-80ee-414e-add8-e7df1e1a63de|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Insurance Policy
Insurance Policy
The unique identifier of the account
Request Example
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000,
"id": "f5086bc5-80ee-414e-add8-e7df1e1a63de|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"name is required.",
"owner is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Insurance Policy
The unique identifier of the account
The unique identifier of the insurance
Insurance Policy
Not found
Response Example (200 OK)
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000,
"id": "438464cd-07da-480e-9385-c6f2e9389caa|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Insurance Policy
Insurance policy
The unique identifier of the account
The unique identifier of the insurance
Request Example
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000
}
Updated successfully
Not found
Internal error
Response Example (200 OK)
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Insurance Policy
The unique identifier of the account
The unique identifier of the insurance
Removed successfully
Oauth | accounts |
Get Liabilities
The unique identifier of the account
List of liabilities
Response Example (200 OK)
[
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11,
"id": "6c775488-6285-4fa5-80cf-3fc19e517a05|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Liability
Liability
The unique identifier of the account
Request Example
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11,
"id": "6c775488-6285-4fa5-80cf-3fc19e517a05|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"name is required.",
"owner is required.",
"current-value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Liability
The unique identifier of the account
The unique identifier of the liability
Liability
Not found
Response Example (200 OK)
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11,
"id": "6c775488-6285-4fa5-80cf-3fc19e517a05|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Liability
Liability
The unique identifier of the account
The unique identifier of the liability
Request Example
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11
}
Created successfully
Not found
Internal error
Response Example (200 OK)
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Liability
The unique identifier of the account
The unique identifier of the liability
Removed successfully
Oauth | accounts |
Get Plans
The unique identifier of the account
List of Plans
Response Example (200 OK)
[
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"id": "ddbbf2c5-0d98-4988-9924-91fe98e1537a|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Plan
Plan
The unique identifier of the account
Request Example
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
}
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"id": "f5086bc5-80ee-414e-add8-e7df1e1a63de|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"type is required.",
"name is required.",
"owner is required.",
"current-value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Plan
The unique identifier of the account
The unique identifier of the plan
Plan
Not found
Response Example (200 OK)
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"id": "ddbbf2c5-0d98-4988-9924-91fe98e1537a|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Plan
Plan
The unique identifier of the account
The unique identifier of the plan
Request Example
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
}
}
Updated successfully
Not found
Internal error
Response Example (200 OK)
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
}
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Plan
The unique identifier of the account
The unique identifier of the plan
Removed successfully
Oauth | accounts |
Get Taxables
The unique identifier of the account
List of taxables
Response Example (200 OK)
[
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000,
"id": "d9ed7030-d766-41e2-bcd2-de0f507a128b|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
]
Oauth | accounts |
Create Taxable
Taxable
The unique identifier of the account
Request Example
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000
}
Created successfully
Validation error
Internal error
Response Example (201 Created)
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000,
"id": "d9ed7030-d766-41e2-bcd2-de0f507a128b|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Response Example (422 Unprocessable Entity)
{
"status": "error",
"code": 422,
"messages": [
"name is required.",
"owner is required.",
"current-value is required."
]
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Get Taxable
The unique identifier of the account
The unique identifier of the taxable
Taxable
Not found
Response Example (200 OK)
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000,
"id": "d9ed7030-d766-41e2-bcd2-de0f507a128b|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba"
}
Oauth | accounts |
Update Taxable
Taxable
The unique identifier of the account
The unique identifier of the taxable
Request Example
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000
}
Created successfully
Not found
Internal error
Response Example (200 OK)
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Delete Taxable
The unique identifier of the account
The unique identifier of the taxable
Removed successfully
Oauth | accounts |
Get Security
The unique identifier of the account
Account security data
Not found
Internal error
Response Example (200 OK)
{
"account_id": 100,
"type": "client",
"status": "ACTIVE",
"pin": 642745
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Reset Security
Unique identifier of the account
Type of account
Reset successfully
Not found
Internal error
Response Example (200 OK)
{
"account_id": 100,
"type": "client",
"status": "ACTIVE",
"pin": 642745
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Definitions
Define Entity
The object type.
The entity unique identifier.
List of entity properties with schema definition
Not found
Internal error
Response Example (200 OK)
{
"name": {
"type": "string",
"read": true,
"write": true,
"required": true,
"values": "null"
},
"provider": {
"type": "string",
"read": true,
"write": true,
"required": "boolean",
"values": "null"
},
"owner": {
"id": {
"type": "string",
"read": true,
"write": true,
"required": "boolean",
"values": "null"
},
"type": {
"type": "string",
"read": true,
"write": true,
"required": "boolean",
"values": "client,coclient,joint,children,grandchildren,Employment,FamilyMember,Insurance,Plan,Cash,Taxable,Annuity,Asset,Liability,ExpenseVariable,Goal,Contact,Document,Note"
},
"label": {
"type": "string",
"read": true,
"write": "boolean",
"required": "boolean",
"values": "null"
}
},
"current_value": {
"value": {
"type": "float",
"read": true,
"write": true,
"required": "boolean",
"values": "null"
},
"frequency": {
"type": "string",
"read": true,
"write": true,
"required": "boolean",
"values": "one-time,monthly,yearly"
}
},
"cost_value": {
"value": {
"type": "float",
"read": true,
"write": true,
"required": "boolean",
"values": "null"
},
"frequency": {
"type": "string",
"read": true,
"write": true,
"required": "boolean",
"values": "one-time,monthly,yearly"
}
}
}
Response Example (500 Internal Server Error)
{
"status": "error",
"code": 500,
"messages": "An unknown error as occurred."
}
Oauth | accounts |
Schema Definitions
Account: object
- client: Account Member
-
Client primary information.
- coclient: Account Member
-
Co-client primary information.
- type: string , x ∈ { clients , prospects }
-
Type of account.
- created_at: string
-
Timestamp when record was created. (read-only)
- updated_at: string
-
Timestamp when record was last updated. (read-only)
Example
{
"client": {
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"status": "ACTIVE",
"type": "CLIENT"
},
"coclient": {
"first_name": "Jane",
"last_name": "Doe",
"email": "jane.doe@precisefp.com",
"phone": "+1 555444333",
"status": "NEW",
"type": "COCLIENT"
},
"type": "clients",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-01-01 13:00:00"
}
Account Member: object
Client/Co-client primary information.
- first_name: string
-
First name of the client/co-client.
- last_name: string
-
Last name of the client/co-client.
- email: string
-
Valid email address for the client/co-client. (unique per account)
- phone: string
-
Mobile phone including country code for the client/co-client.
- status: string
-
Form access status of the client/co-client. (read-only)
- type: string
-
Member type under the account. (read-only)
Example
{
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"status": "ACTIVE",
"type": "CLIENT"
}
Account Full Member: object
Client/Co-client full information.
- first_name: string
-
First name of the client/co-client.
- middle_initial: string
-
Middle initial of the client/co-client.
- last_name: string
-
Last name of the client/co-client.
- gender: string , x ∈ { male , female }
-
Gender of the client/co-client.
- birth_date: string
-
Birthdate of the client/co-client.
- marital_status: string , x ∈ { single , married , divorced , widowed , other , partner }
-
Marital situation of the client/co-client.
- previous_marriages: integer
-
Number of previous marriages for the client/co-client.
- citizenship: Address
-
Country from where the client/co-client is citizen in ISO Alpha-2 format.
- email: string
-
Valid email address for the client/co-client. (unique per account)
- phone: string
-
Mobile phone including country code for the client/co-client.
- home_phone: string
-
Home phone including country code for the client/co-client.
- work_phone: string
-
Work phone including country code for the client/co-client.
- address: Address
-
Address for the client/co-client.
- photo: File
-
Photo of the client/co-client.
- risk_score: integer
-
Risk score for the client/co-client.
- comments: string
-
Comments or notes for the client/co-client.
- drivers_license: Driver's License
-
Driver's License information for the client/co-client.
Example
{
"first_name": "John",
"middle_initial": "M",
"last_name": "Doe",
"gender": "male",
"birth_date": "1980-01-01 00:00:00",
"marital_status": "married",
"previous_marriages": "integer",
"citizenship": {
"country": "US"
},
"email": "john.doe@precisefp.com",
"phone": "+1 5556667777",
"home_phone": "+1 5557778888",
"work_phone": "+1 5558888999",
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"photo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"risk_score": 50.32,
"comments": "Lorem ipsum dolor sit amet.",
"drivers_license": {
"number": "123456789",
"issue_date": "2010-01-01 00:00:00",
"expire_date": "2060-01-01 00:00:00",
"jurisdiction": {
"state": "CA",
"country": "US"
},
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
}
Annuity: object
Annuity data
- name: string
-
Name for the annuity account.
- owner: Relation
-
Owner of the annuity.
- provider: string
-
Provider of the annuity.
- primary_beneficiary: Relation
-
Primary Beneficiary of the annuity.
- secondary_beneficiary: Relation
-
Secondary Beneficiary of the annuity.
- type: string , x ∈ { fixed , variable , indexed , pension }
-
Type of annuity.
- contribution_value: Currency
-
Monthly contribution amount.
- current_value: Currency
-
Current annuity value.
- distribution_type: string , x ∈ { series-of-distributions , lump-sum }
-
How will this annuity be distributed.
- distribution_value: Currency
-
Annuity distribution amount.
Example
{
"name": "Life Annuity",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "AnnuityUS",
"primary_beneficiary": {
"id": null,
"type": "coclient",
"label": "Jane C Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"type": "fixed",
"contribution_value": 1300,
"current_value": 15000,
"distribution_type": "lump-sum",
"distribution_value": 500
}
Asset: object
Asset data
Example
{
"name": "John's yacht",
"type": "other",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 87000,
"original_value": 82000
}
Cash: object
Cash or cash equivalent data
- name: string
-
Title of the object.
- type: string , x ∈ { cash , checking , savings , money-market , cd , other }
-
Type of cash or cash equivalent.
- provider: string
-
Name of the Provider.
- owner: Relation
-
Owner of the cash or cash equivalent object
- current_value: Currency
-
Total value of the object.
- interest: float
-
Interest rate of the cash or cash equivalent.
- end_date: string
-
Maturity date of the cash or cash equivalent.
Example
{
"name": "Bank of America account",
"type": "savings",
"provider": "Bank of America",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"current_value": 40000,
"interest": 7,
"end_date": "2018-04-05"
}
Contact: object
Professionals contact data
- type: string , x ∈ { accountant , attorney , broker , insurance-agent , tax-preparer , other }
-
Professional area of expertise
- first_name: string
-
Name of the professional
- last_name: string
-
Last name of the professional
- email: string
-
Professional's email address
- phone: string
-
Professional's phone number
- company: string
-
Company name
Example
{
"type": "attorney",
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 434623992",
"company": "AttorneysUS"
}
Document: object
Example
{
"file": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"relation": {
"type": "client",
"id": "string, null",
"label": "John M Doe"
}
}
Employment: object
Employment data
Example
{
"employer": "Pete Smith Industries",
"position": "Sales Manager",
"duration": 8,
"address": {
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
},
"salary": 140000,
"comissions": 11000,
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
Expense - Fixed: object
Fixed Expense values
- rent: Currency
-
Monthly Rent Expense.
- alimony: Currency
-
Monthly Alimony Expense.
- child_support: Currency
-
Monthly Child Support Expense.
- college: Currency
-
Monthly College Expense.
- other_insurance: Currency
-
Monthly Expense on Other Insurance object.
- life_insurance: Currency
-
Monthly Life Insurance Expense.
- health_insurance: Currency
-
Monthly Health Insurance Expense.
- disability_insurance: Currency
-
Monthly Disability Insurance Expense.
- long_term_care_insurance: Currency
-
Monthly Long Term Care Insurance Expense.
- homeowner_insurance: Currency
-
Monthly Homeowner Insurance Expense.
- auto_insurance: Currency
-
Monthly Auto Insurance Expense.
- umbrella_insurance: Currency
-
Monthly Umbrella Insurance Expense.
- eo_malpractice_insurance: Currency
-
Monthly EO & Malpractice Insurance Expense.
- college_plan: Currency
-
Monthly College Plan Expense.
- annuity: Currency
-
Monthly Annuity Expense.
- retirement_plan: Currency
-
Monthly Retirement Plan Expense.
- credit_card: Currency
-
Monthly Credit Card Expense.
- mortgage: Currency
-
Monthly Mortgage Expense.
- loan: Currency
-
Monthly Loan Expense.
- other: Currency
-
Monthly Other expenses.
Example
{
"rent": 100,
"alimony": 240,
"child_support": 150,
"college": 210,
"other_insurance": 75,
"life_insurance": 170,
"health_insurance": 140,
"disability_insurance": 99,
"long_term_care_insurance": 105,
"homeowner_insurance": 95,
"auto_insurance": 80,
"umbrella_insurance": 55,
"eo_malpractice_insurance": 45,
"college_plan": 115,
"annuity": 65,
"retirement_plan": 50,
"credit_card": 11,
"mortgage": 320,
"loan": 199,
"other": 35
}
Expense - Tax: object
Tax expense values
Example
{
"federal_income": 1250,
"state_income": 999,
"fica": 700,
"real_estate": 888,
"other": 525
}
Expense - Variable: object
Variable Expense Data
- value: Currency
-
Variable Expense Value.
- type: string , x ∈ { groceries , supplies , gas-electric , water-trash , cable-internet , phone-mobile , domestic-help , clothing , laundry-dry-cleaning , property-improvements , home-furnishings , pet-expenses , school-expenses , lunch-money , special-events , babysitting-day-care , gas-oil , repair-maintenance , parking-tolls , public-transport , personal-care , medica-dental , gym-membership , eating-out , entertainment , books-subscriptions , hobbies , vacations , gifts , charity , other }
-
Variable Expense type.
Example
{
"value": 110,
"type": "supplies"
}
Family Member: object
Family Member full information.
- relationship: string , x ∈ { child , grandchild , other }
-
Relationship of the family member.
- first_name: string
-
First name of the family member.
- middle_initial: string
-
Middle initial of the family member.
- last_name: string
-
Last name of the family member.
- gender: string , x ∈ { male , female }
-
Gender of the family member.
- birth_date: string
-
Birthdate of the family member.
- dependent: boolean
-
Is the family member dependent.
- email: string
-
Valid email address for the family member.
- phone: string
-
Mobile phone including country code for the family member.
- college_type: string , x ∈ { public , private }
-
College type for the family member.
- college_start: integer
-
College start year for the family member.
- college_end: integer
-
College end year for the family member.
Example
{
"relationship": "child",
"first_name": "David",
"middle_initial": "C",
"last_name": "Doe",
"gender": "male",
"birth_date": "1998-01-01 00:00:00",
"dependent": true,
"email": "david.doe@precisefp.com",
"phone": "+1 555666777",
"college_type": "public",
"college_start": 2016,
"college_end": 2020
}
Goal: object
Goals Data
- type: string , x ∈ { travel , wedding , celebration , college , private-school , business , home , home-improvement , purchase , care , donation , bequest , other }
-
Type of a Goal.
- name: string
-
Goal title.
- owner: Relation
-
Owner of the goal.
- beneficiary: #/definitons/Relation
-
Beneficiary of the goal.
- priority: string , x ∈ { low , medium , high }
-
Goal Priority.
- frequency: string , x ∈ { one-time , monthly , quarterly , annually }
-
Payment Frequency.
- target: Target
Example
{
"type": "business",
"name": "New headquaters",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"priority": "medium",
"frequency": "monthly"
}
Income: object
Income data
- employment: Currency
-
Employment income.
- self_employment: Currency
-
Self-employment income.
- annuities: Currency
-
Income from annuities.
- social_security: Currency
-
Income from social security.
- dividends: Currency
-
Income from dividends.
- interest: Currency
-
Interest income.
- other: Currency
-
Other income.
- comments: string
-
Comments for the Income section.
Example
{
"employment": 135000,
"self_employment": 29500,
"annuities": 3700,
"social_security": 3500,
"dividends": 2600,
"interest": 1860,
"other": 2300,
"comments": "Lorem ipsum dolor sit amet."
}
Insurance: object
Insurance data
- type: string , x ∈ { term , whole , universal , variable , variable-universal , employer-term , health , disability , employer-disability , long-term-care , homeowner , auto , umbrella , eo-malpractice , other }
-
Insurance type.
- name: string
-
Name of the Insurance.
- provider: string
-
Insurance Provider name.
- owner: Relation
-
Owner of the Insurance.
- insured: Relation
-
Insured family member.
- primary_beneficiary: Relation
-
Owner of the goal.
- secondary_beneficiary: #/definitons/Relation
-
Beneficiary of the goal.
- premium_value: Currency
-
Premium amount.
- coverage_value: Currency
-
Coverage amount.
- cash_value: Currency
-
Total cash value.
Example
{
"type": "universal",
"name": "Joe's universal insurance",
"provider": "InsurersUS",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"insured": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
},
"premium_value": 1100,
"coverage_value": 500000,
"cash_value": 48000
}
Liability: object
Liability Data
- name: string
-
Liability title.
- owner: Relation
-
Owner of the liability.
- provider: string
-
Name of the Provider.
- type: string , x ∈ { arm , fixed , int-only , auto , business , credit-line , personal , school , credit-card , other }
-
Liability Type.
- start_date: string
-
Liability creation date.
- end_date: string
-
End of Liablity date.
- interest: float
-
Interest Rate value.
- original_value: Currency
-
Original value of the Liability.
- current_value: Currency
-
Current value of the Liability.
- cost_value: Currency
-
Monthly Payment.
Example
{
"name": "Golden Credit",
"owner": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"provider": "Bank of America",
"type": "credit-card",
"start_date": "2016-03-02",
"end_date": "2021-06-09",
"interest": 6,
"original_value": 84000,
"current_value": 56000,
"cost_value": 11
}
Note: object
Object instance that contains notes or comments for the Client/Co-client
- note: string
-
Comments or notes for the client/co-client.
- relation: #/definitons/Relation
-
parent object
Example
{
"note": "Lorem ipsum dolor sit amet.",
"relation": "Joe Doe"
}
Plan: object
Retirement Plans Data
- name: string
-
Retirement Plan name.
- type: string , x ∈ { 401k , roth401k , 403b , 457b , ira , roth-ira , simple-ira , sep-ira , college, other }
-
Retirement Plan type.
- owner: Relation
-
Parent Object.
- provider: string
-
Name of the Provider.
- contribution_value: Currency
-
Contribution amount.
- employer_contribution_value: Currency
-
Employer contribution amount.
- current_value: Currency.
-
Current total value
- primary_beneficiary: #/definitons/Relation
-
Primary Beneficiary of the retirement plan.
- secondary_beneficiary: #/definitons/Relation
-
Secondary beneficiary of the retirement plan.
Example
{
"name": "John's 401(k)",
"type": "403b",
"owner": "John Doe",
"provider": "InsurancesUnited",
"contribution_value": 412,
"employer_contribution_value": 380,
"current_value": 11200,
"primary_beneficiary": {
"id": null,
"type": "client",
"label": "John M Doe"
},
"secondary_beneficiary": {
"id": "cc428cbc-400b-4022-9e1b-eec86ec11479|14fa1202-7cfc-461e-bf69-7a5a5b3b9bba",
"type": "FamilyMember",
"label": "David C Doe"
}
}
Taxable: object
Taxable investment account data
- name: string
-
Name of the Account.
- provider: string
-
Provider name.
- owner: #/definitons/Relation
-
Owner of a taxable investment account.
- cost_value: Currency
-
Original value.
- current_value: Currency
-
Current value.
Example
{
"name": "John Doe's TIA",
"provider": "ING",
"owner": "John Doe",
"cost_value": 10000,
"current_value": 12000
}
Address: object
Address object composed by address line1, address line2, city, state, zip/postal code, and country.
All properties are optional and can be omitted from the Address.
- line1: string
-
Address line 1. (optional)
- line2: string
-
Address line 2. (optional)
- city: string
-
City. (optional)
- state: string
-
State. For US states, the state code is used. (optional)
- zip: string
-
Zip code / Postal code. (optional)
- country: string
-
Country in ISO Alpha-2 format. (optional)
Example
{
"line1": "Greenway street 56",
"line2": " ",
"city": "Beverly Hills",
"state": "CA",
"zip": "90210",
"country": "US"
}
Currency: object
Object representing a currency value.
- value: float
-
Currency amount. (defaults to 0)
- frequency: string , x ∈ { one-time , monthly , yearly }
-
Used to identify periodic (yearly, monthly) amounts. (optional, defaults to one-time)
Example
{
"value": 1000.51,
"frequency": "yearly"
}
Driver's License: object
Client/Co-client driver's license information object.
Example
{
"number": "123456789",
"issue_date": "2010-01-01 00:00:00",
"expire_date": "2060-01-01 00:00:00",
"jurisdiction": {
"state": "CA",
"country": "US"
},
"document": {
"type": "document",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "application/pdf",
"filesize": 46008,
"filename": "scan.pdf"
}
}
File: object
File object representing a document or image.
- type: string , x ∈ { image , document }
-
Type of file.
- url: string
-
Full url for the file.
- filetype: string
-
Mime type of the file.
- filesize: integer
-
Size of the file in KB.
- filename: string
-
Original file name.
Example
{
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
}
Relation: object
Relation object representing a relationship with a parent object.
- type: string , x ∈ { client , coclient , joint , FamilyMember , Employment , Insurance , Plan , Cash , Taxable , Annuity , Asset , Liability , ExenseVariable , Goal , Contact , Document , Note }
-
Parent object for this relation.
- id: string, null
-
Parent object unique identifier for this relation. (optional)
- label: string
-
Parent object human readable name. (optional and read-only)
Example
{
"type": "client",
"id": "string, null",
"label": "John M Doe"
}
User: object
User information
- first_name: string
-
First name of the user.
- last_name: string
-
Last name of the user.
- email: string
-
Email address of the user.
- phone: string
-
Phone number of the user including coutry code.
- photo: File
-
Photo of the user.
- company: string
-
Name of the user's company.
- company_email: string
-
Email address of the user's company.
- company_phone: string
-
Phone number of the user's company including country code.
- company_logo: File
-
Logo of the user's company.
Example
{
"first_name": "William",
"last_name": "Black",
"email": "williamblack@precisefp.com",
"phone": "+1 996345132",
"photo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
},
"company": "PreciseFP",
"company_email": "company@precisefp.com",
"company_phone": "+1 235762365",
"company_logo": {
"type": "image",
"url": "https://four.precisefp.com/api/files/eyJwYXRoIjoiY29tcGFueS0xXC9hY2NvdW50c1wvZGF0YVwvYWNj",
"filetype": "image/jpg",
"filesize": 46080,
"filename": "photo.jpg"
}
}
Statistics: object
Statistical information
- prospects: integer[]
-
Array with the number of prospects created per day.
- clients: integer[]
-
Array with the number of clients created per day.
- sent_forms: integer[]
-
Array with the number of sent forms per day.
- closed_forms: integer[]
-
Array with the number of closed forms per day.
Example
{
"prospects": [
0,
3,
4,
1,
0,
0,
0
],
"clients": [
0,
3,
4,
1,
0,
0,
0
],
"sent_forms": [
0,
3,
4,
1,
0,
0,
0
],
"closed_forms": [
0,
3,
4,
1,
0,
0,
0
]
}
Activity: object
Activity information
- id: integer
-
Unique identifier of the activity.
- type: string , x ∈ { account.client.created , account.coclient.created , account.client.deleted , account.coclient.deleted , account.converted , account.member.blocked , account.members.switched , account.security.reset , account.currentdata.updated , form.sent , form.deleted , form.link , form.link.accessed , form.accessed , form.resent , form.closed , form.reminders.activated , form.reminders.deactivated , account.exported , account.imported }
-
Type of the activity.
- icon: string
-
Icon name for the activity. ( Material Design Icons )
- icon_color: string
-
Color class for the activity icon.
- title: string
-
Title of the activity.
- description: string
-
Description of the activity.
- created_at: string
-
Timestamp when activity was created.
Example
{
"id": 4567,
"type": "account.currentdata.updated",
"icon": "person",
"icon_color": "orange",
"title": "Client data updated.",
"description": "By William Black 6 hours ago.",
"created_at": "2017-01-01 12:00:00"
}
Template: object
Form template object
- key: string
-
Unique key of the form.
- type: string
-
Type of the template
- title: string
-
Title of the template
- description: string
-
Description of the template
- status: string
-
Status of the template
- modified: boolean
-
Information whether the object was modified
- default: boolean
-
Information whether the object is a default form
- tags: string[]
-
Array with report tags.
Example
{
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
}
Form: object
Live Form object
- account_id: integer
-
Unique identifier of the account.
- key: string
-
Unique identifier of the form.
- definition_key: string
- status: string , x ∈ { CLOSED , IN_PROGRESS , NEW }
-
Status of the form.
- template: Template
- recipients: [object Object][]
-
Array with a recipient data.
- created_at: string
-
Timestamp when the form was created.
- updated_at: string
-
Timestamp when the form was updated.
- opened_at: string
-
Timestamp when the form was opened.
- reminded_at: string
-
Timestamp when the reminder was sent.
- closed_at: string
-
Timestamp when the form was closed.
- urls: string
-
Form URLs
Example
{
"account_id": 185,
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"definition_key": "b59be93a-91eb-41a0-b869-0eedd4d89fe1",
"status": "CLOSED",
"template": {
"key": "283b78e7-66c2-4aae-8ffb-307dcd1797e4",
"type": "passwordless",
"title": "Financial Profile 2",
"description": "Default Financial Profile form",
"status": "published",
"modified": true,
"default": true,
"tags": [
"Default",
"PreciseFP",
"Checklist"
]
},
"recipients": [
[
"client",
"John Doe"
]
],
"created_at": "2017-02-02 12:00:00",
"updated_at": "2017-03-03 12:00:00",
"opened_at": "2017-04-04 12:00:00",
"reminded_at": "2017-04-05 12:00:00",
"closed_at": "2017-05-06 12:00:00",
"urls": "https://four.precisefp.com/api/forms/preview/sBqX2r8fVIgqG1EHhTtOe0"
}
Report: object
Report object
- key: string
-
Unique identifier of the report.
- type: string , x ∈ { FORMDEFINITION , DATADEFINITION }
-
Type of the report.
- source: string
-
Unique identifier of the source form.
- title: string
-
Title of the report.
- description: string
-
Description of the report.
- created_at: string
-
Timestamp when the form was created.
- updated_at: string
-
Timestamp when the form was updated.
- tags: string[]
-
Array with report tags.
Example
{
"key": "17270724-5880-4fbf-af3d-60aecd3c22af",
"type": "FORMDEFINITION",
"source": "34f7a42f-7923-4cd8-bd01-e82d344b5016",
"title": "Client Survey Results",
"description": "List of all answers from the Client Survey",
"created_at": "2017-01-01 12:00:00",
"updated_at": "2017-02-02 12:00:00",
"tags": [
"Survey",
"PreciseFP"
]
}
Security: object
User Security information
- account_id: integer
-
Unique identifier of an account
- type: string , x ∈ { client , co-client }
-
Type of account.
- status: string , x ∈ { BLOCKED , ACTIVE , NEW }
-
Account security status
- pin: integer
-
Account security pin
Example
{
"account_id": 100,
"type": "client",
"status": "ACTIVE",
"pin": 642745
}