# Web Service Functions List of Web Services functions examples and their explanation. # CreateFolderItem #### Description Create recurring billing request. Recurring billing request is used to instruct the server to create individual instance of **Billing Request**, which is a source for Invoice creation. #### Important Parameters
amount | Unit price to be charged |
billingDate | Sample date, in which the Billing Request will be used as a date for invoicing. |
billingStatus | 1 .. Pending 2 .. For Approval (Sales Order may be generated here) 3 .. To Be Invoiced (Invoice may be generated here) |
totalQuantity | Pcs to be charged per Unit price after free Qty is reduced |
catalogPrice | Price before any discounts |
item | Product ID |
name | Main title of the future Billing Request |
note | Future description of Billing Request |
purchasePrice | Unit price for which the goods is purchased |
Quantity | Pcs to be charged per Unit Price |
folder | Customer folder ID |
totalAmount | total qty \* amount |
totalAmountWithVat | totalAmount + VAT |
vatValue | VAT rate in numbers |
ratio | fixed value (100) = 100% |
taxationDate | Date relative to Billing Date, in which you may decide to put the transaction into current / previous / next periods. Put any date close to Billing Date (ie any day in the same/previous month) |
isModelItem | 1 |
validFrom | Date, from which the rule becomes active. Difference of dates between validFrom and billingDate is important. Item generated in validFrom = today should have billingDate today + 1 year, in case the first next fee is paid after one year of using the service. |
validTo | Expiration date |
destinationProject | Target Project ID, where the Billing Request will be created. |
billingFrequency | 2 .. yearly 4 .. quarterly 6 .. monthly 8 .. weekly 10 .. daily |
**Document** | **Global text IDENT** | **Description** |
Invoice issued | invoice-footer | Print text at the bottom of invoice |
Estimate | estimate-footer | Print text at the bottom of estimate |
Invoice/estimate/order/offer | invoice-global-CSS | Use corporate CSS |
**Field name** | **Example** | **Description** |
baseType | new-phone-number url-visit goal-achieved mail-url-visit mail-open url-visit unsubscribe | Text identification of the marketing trigger (what actually happened) |
contextId | 123456789000 | Identification of Folder ID, Project ID or Activity ID in Atollon's context structure. It is necessary to enter context ID in case it should be displayed in context Timeline. |
contactId | 113456789000 | Identification of contact, who caused the trigger |
url | https://yourcompany.atollon.com/pub/23423432 | Page that the contact visited (optional) |
trackingCode | yourSuperCampaignXYZ | Any text string representing one particular campaign / marketing activity / message template |
description | Contact visited URL | Any descriptive text that will be visible to Atollon users in Timeline |
triggerDate | 2020-08-12 12:00 | When the trigger happened? |
numberOfVisits | 45 | In case the target user is super active (or robot), we may want to avoid spamming Atollon with unnecessary records and aggregate page visits |
**Field** | **Description** | **Example** |
priority | E-mail priority handled by other mail clients | 1, 2, 3 |
group | Message group with similar characteristics, required | For e-mails sent in context, there is always default "group" available in the response of request to getFolder, getProject, getActivity. For example: <messageGroup>133185101</messageGroup> |
treeHandle | Message container (mailbox) | Similar comment to "group" field above: <messageDefault>133186101</messageDefault> |
html | What is the body format? | 0..plaintext 1..html |
encoding | Use utf-8 only | utf-8 |
from | Full format of sender mailbox | |
to | Recipient address | |
subject | Subject of the message | |
body | Either plaintext or html part of the message (based on above html = 0/1 flag) | |
attachments.attachment | Link to documentId in Atollon. The document will be converted to base64 and added to sent e-mail | |
forwardEmails | List ids of e-mail messages that will be attached |