Skip to content

Commit 34af8c2

Browse files
iVvygitbook-bot
iVvy
authored andcommitted
GitBook: [master] 52 pages modified
1 parent 92b9fe5 commit 34af8c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+315
-294
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# Initial page
1+
---
2+
description: >-
3+
With iVvy's robust API, you can connect all your core business apps to meet
4+
your unique needs. Browse through the topics below to find exactly what you're
5+
looking for or check our Getting Started guid
6+
---
7+
8+
# API Documentation
29

310

411

SUMMARY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Table of contents
22

3-
* [Initial page](README.md)
3+
* [API Documentation](README.md)
44
* [Home](home.md)
55
* [Getting Started](getting-started/README.md)
66
* [Introduction](getting-started/introduction.md)

account/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# Account
22

3-
### Namespace
3+
## Namespace
44

55
```text
66
account
77
```
88

9-
10-

account/add-or-update-cost-center.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Add or Update Cost Center
22

3-
### Description
3+
## Description
44

55
Add or update cost center details to the account. The cost center name and code are required.
66

7-
### Api Url
7+
## Api Url
88

99
`[PlatformAddress]/api/1.0/account?action=addOrUpdateCostCenter`
1010

11-
### Parameters
11+
## Parameters
1212

1313
| Property | Description | Required | Type |
1414
| --- | --- | --- | --- |
@@ -17,21 +17,21 @@ Add or update cost center details to the account. The cost center name and code
1717
| code | The code of the cost center | Required | string |
1818
| description | The complete description of the cost center | | string |
1919

20-
### Returns
20+
## Returns
2121

2222
| Property | Description |
2323
| --- | --- |
2424
| success | Whether or not the cost center was added to the account |
2525
| id | The unique identifier of the cost center |
2626

27-
### Throws
27+
## Throws
2828

2929
| Code | Description |
3030
| --- | --- |
3131
| Specific Code: 24150 | Account does not exist |
3232
| Specific Code: 24150 | The cost centers details are invalid |
3333

34-
### Example Request
34+
## Example Request
3535

3636
`Example: Add a cost center to an account`
3737

@@ -43,7 +43,7 @@ Add or update cost center details to the account. The cost center name and code
4343
}
4444
```
4545

46-
### Example Response
46+
## Example Response
4747

4848
```javascript
4949
{

account/get-cost-center-list.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Get Cost Center List
22

3-
### Description
3+
## Description
44

55
Fetches the list of cost centers in the account. No request params required.
66

7-
### Api Url
7+
## Api Url
88

99
`[PlatformAddress]/api/1.0/account?action=getCostCenterList`
1010

11-
### Returns
11+
## Returns
1212

1313
| Property | Description |
1414
| --- | --- |
@@ -18,13 +18,13 @@ Fetches the list of cost centers in the account. No request params required.
1818
| description | The complete description of the cost center |
1919
| defaultType | Set if one of the default cost centers |
2020

21-
### Throws
21+
## Throws
2222

2323
| Code | Description |
2424
| --- | --- |
2525
| Specific Code: 24150 | Account does not exist |
2626

27-
### Example Response
27+
## Example Response
2828

2929
`Example: get cost center list of the account`
3030

account/get-email-log-list.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Get Email Log List
22

3-
### Description
3+
## Description
44

55
The result from this call will be a [collection](../interpreting-the-response/collections.md) of all the events the user has access to. This call also accepts the [pagination](../interpreting-the-response/pagination.md) and [filter](../interpreting-the-response/filtering.md) properties.
66

7-
### Api Url
7+
## Api Url
88

99
`[PlatformAddress]/api/1.0/account?action=getEmailLogList`
1010

11-
### Returns
11+
## Returns
1212

1313
| Property | Description |
1414
| --- | --- |
@@ -27,13 +27,13 @@ The result from this call will be a [collection](../interpreting-the-response/co
2727
| sentTime | The sent time of the email in UTC |
2828
| success | Whether or not email has been sent or not |
2929

30-
### Throws
30+
## Throws
3131

3232
| Code | Description |
3333
| --- | --- |
3434
| Specific Code: 24151 | Account does not exist |
3535

36-
### Example Response
36+
## Example Response
3737

3838
`Example: Get a specific account’s Email Logs List`
3939

@@ -66,7 +66,7 @@ The result from this call will be a [collection](../interpreting-the-response/co
6666
}
6767
```
6868

69-
### refType:
69+
## refType:
7070

7171
One of the following values:
7272

@@ -86,7 +86,7 @@ One of the following values:
8686
* 13 = Company
8787
* 14 = Floor Plan
8888

89-
### type:
89+
## type:
9090

9191
One of the following values:
9292

batch/repost.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Description
44

5-
The repost action takes the asyncId as a parameter and returns the success of the call.
5+
The repost action takes the asyncId as a parameter and returns the success of the call.
66

77
{% hint style="info" %}
88
Note a success of true does not mean the callback will be hit immediately.

contact/add-contacts-to-subscription-group.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Add Contacts To Subscription Group
22

3-
### Description
3+
## Description
44

55
Add contact details to subscription group.
66

7-
### API URL
7+
## API URL
88

99
`[PlatformAddress]/api/1.0/contact?action=addContactsToSubscriptionGroup`
1010

11-
### Parameters
11+
## Parameters
1212

1313
| Property | Description | Required | Type |
1414
| --- | --- | --- | --- |
1515
| contacts | The contact identifiers to subscribe to the group | Required | integer \(This is an array of contact identifiers\) |
1616
| group | The subscription group identifier to add the contacts to | Required | integer |
1717

18-
### Returns
18+
## Returns
1919

2020
An array of objects with the following properties
2121

@@ -24,9 +24,9 @@ An array of objects with the following properties
2424
| contactId | The contact this result is for |
2525
| status | If the contact was added to the group or not |
2626

27-
### `Adds a number of contacts to a subscription group.`
27+
## `Adds a number of contacts to a subscription group.`
2828

29-
### Example Request
29+
## Example Request
3030

3131
Add 4 contacts to subscription group 2481
3232

@@ -42,7 +42,7 @@ Add 4 contacts to subscription group 2481
4242
}
4343
```
4444

45-
### Example Response
45+
## Example Response
4646

4747
```javascript
4848
[

contact/add-or-update-company.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Add or Update Company
22

3-
### Description
3+
## Description
44

55
Add or update company detail.
66

7-
### API URL
7+
## API URL
88

99
`[PlatformAddress]/api/1.0/contact?action=addOrUpdateCompany`
1010

11-
### Parameters
11+
## Parameters
1212

1313
| Property | Description | Required | Type |
1414
| --- | --- | --- | --- |
@@ -23,7 +23,7 @@ Add or update company detail.
2323
| email | The company's email address | | |
2424
| address | The company’s address. This is an an object with the [keys](add-or-update-company.md#keys) | | |
2525

26-
### Keys
26+
## Keys
2727

2828
| keys |
2929
| --- |
@@ -36,7 +36,7 @@ Add or update company detail.
3636
| countryCode \(e.g: AU\) |
3737
| postalCode |
3838

39-
### Returns
39+
## Returns
4040

4141
| Property | Description |
4242
| --- | --- |
@@ -64,9 +64,9 @@ The properties of the company currently supported are:
6464
* address
6565
* This is an object
6666

67-
### `Adding a company`
67+
## `Adding a company`
6868

69-
### Example Request
69+
## Example Request
7070

7171
```javascript
7272
{
@@ -83,7 +83,7 @@ The properties of the company currently supported are:
8383
}
8484
```
8585

86-
### Example Response
86+
## Example Response
8787

8888
```javascript
8989
{
@@ -92,9 +92,9 @@ The properties of the company currently supported are:
9292
}
9393
```
9494

95-
### `Updating a company`
95+
## `Updating a company`
9696

97-
### Example Request
97+
## Example Request
9898

9999
```javascript
100100
{
@@ -110,7 +110,7 @@ The properties of the company currently supported are:
110110
}
111111
```
112112

113-
### Example Response
113+
## Example Response
114114

115115
```javascript
116116
{

contact/add-or-update-contact.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Add or Update Contact
22

3-
### Description
3+
## Description
44

55
Add or update contact details.
66

7-
### API URL
7+
## API URL
88

99
`[PlatformAddress]/api/1.0/contact?action=addOrUpdateContact`
1010

11-
### Parameters
11+
## Parameters
1212

1313
| Property | Description | Required | Type |
1414
| --- | --- | --- | --- |
@@ -21,7 +21,7 @@ Add or update contact details.
2121
| customFields | The array of custom fields to set on the contact | Each field will be validated depending on the type of field that is being set. | |
2222
| companies | The array of companies to set the contact. | Each values will be validated depending on the type of field as well as it will verify that the given company is exist or not. | |
2323

24-
### Returns
24+
## Returns
2525

2626
| Property | Description |
2727
| --- | --- |
@@ -49,9 +49,9 @@ The properties of the contact currently supported are:
4949
* Companies
5050
* This is an array of companies Ids
5151

52-
### `Adding a contact`
52+
## `Adding a contact`
5353

54-
### Example Request
54+
## Example Request
5555

5656
```javascript
5757
{
@@ -75,17 +75,17 @@ The properties of the contact currently supported are:
7575
}
7676
```
7777

78-
### Example Response
78+
## Example Response
7979

8080
```javascript
8181
{
8282
"id":33884
8383
}
8484
```
8585

86-
### `Updating a contact`
86+
## `Updating a contact`
8787

88-
### Example Request
88+
## Example Request
8989

9090
`Note : the groups will be set to only group 10, destroying the existing value`
9191

@@ -99,7 +99,7 @@ The properties of the contact currently supported are:
9999
}
100100
```
101101

102-
### Example Response
102+
## Example Response
103103

104104
```javascript
105105
{

0 commit comments

Comments
 (0)