Download OpenAPI specification:
The VOGSY API Platform gives you access to your data using our powerful REST APIs.
It uses the REST framework with standard secure HTTP methods and JSON encoded requests and
responses. Most operations use a GET, POST or DELETE method
The base URL for app requests is https://vogsy.io or https://sandbox.vogsy.io
The VOGSY API use API Keys for authentication. You can view and manage your API keys in the Back office
in the Manage API keys section. If this is not yet enabled, please get in touch with our support team support@vogsy.com.
API Keys are tied to a specific user and have a limited scope and lifespan. It is important to keep them secure.
Do not share your API keys in publicly accessible areas.
Once you have your API key, pass it in each request using a header called X-Api-Key.
Return the cap of a resource allocation
| calculation_line_id required | string |
| personId | string or null <id> |
{- "personId": "string"
}{- "budgetHours": 0,
- "availableHoursInAllocation": 0,
- "availableHoursInPlanning": 0,
- "hoursInTimesheets": 0,
- "hoursInPlanning": 0,
- "capLevel": "string"
}Distribute planning hours for a resource allocation over a time period
| resource_allocation_id required | string |
| hours | number or null |
| automaticallyDetermineFinishDate | boolean or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
| planHoursMonday | boolean or null |
| planHoursTuesday | boolean or null |
| planHoursWednesday | boolean or null |
| planHoursThursday | boolean or null |
| planHoursFriday | boolean or null |
| planHoursSaturday | boolean or null |
| planHoursSunday | boolean or null |
| fixedHoursMonday | number or null |
| fixedHoursTuesday | number or null |
| fixedHoursWednesday | number or null |
| fixedHoursThursday | number or null |
| fixedHoursFriday | number or null |
| fixedHoursSaturday | number or null |
| fixedHoursSunday | number or null |
{- "hours": 0,
- "automaticallyDetermineFinishDate": true,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "planHoursMonday": true,
- "planHoursTuesday": true,
- "planHoursWednesday": true,
- "planHoursThursday": true,
- "planHoursFriday": true,
- "planHoursSaturday": true,
- "planHoursSunday": true,
- "fixedHoursMonday": 0,
- "fixedHoursTuesday": 0,
- "fixedHoursWednesday": 0,
- "fixedHoursThursday": 0,
- "fixedHoursFriday": 0,
- "fixedHoursSaturday": 0,
- "fixedHoursSunday": 0
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Get the resource-allocations of a calculation-line
| calculation_line_id required | string |
{- "resourceAllocations": [
- {
- "id": "string",
- "personId": "string",
- "resourcePlanningId": "string",
- "hours": 0,
- "hasCustomSalesRate": true,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRate": 0,
- "costRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "planMonday": true,
- "planTuesday": true,
- "planWednesday": true,
- "planThursday": true,
- "planFriday": true,
- "planSaturday": true,
- "planSunday": true,
- "fixedHoursMonday": 0,
- "fixedHoursTuesday": 0,
- "fixedHoursWednesday": 0,
- "fixedHoursThursday": 0,
- "fixedHoursFriday": 0,
- "fixedHoursSaturday": 0,
- "fixedHoursSunday": 0,
- "generateNewPlanning": true,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "jobRoleId": "string"
}
], - "resources": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "jobTitle": "string",
- "jobRole": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "leadStage": {
- "id": "string",
- "name": "string"
}, - "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string",
- "organizations": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}
], - "roles": [
- {
- "id": "string",
- "name": "string"
}
], - "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "lastModifiedAt": "string",
- "salutation": "string",
- "skillLevel": {
- "id": "string",
- "name": "string"
}, - "seniority": {
- "id": "string",
- "name": "string"
}, - "isLead": true,
- "leadOpportunityIds": [
- "string"
], - "leadDescription": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveOpportunities": 0,
- "nrOfTotalOpportunities": 0,
- "isAutoSubmitTimeEntriesActive": true,
- "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}
], - "departments": {
- "id": "string",
- "name": "string",
- "countryCode": "string",
- "nestedDepartments": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
}, - "jobRoleOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Save the resource allocations
| calculation_line_id required | string |
Array of objects (ResourceAllocationWrite) |
{- "allocations": [
- {
- "id": "string",
- "personId": "string",
- "resourcePlanningId": "string",
- "hours": 0,
- "hasCustomSalesRate": true,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRate": 0,
- "costRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "planMonday": true,
- "planTuesday": true,
- "planWednesday": true,
- "planThursday": true,
- "planFriday": true,
- "planSaturday": true,
- "planSunday": true,
- "fixedHoursMonday": 0,
- "fixedHoursTuesday": 0,
- "fixedHoursWednesday": 0,
- "fixedHoursThursday": 0,
- "fixedHoursFriday": 0,
- "fixedHoursSaturday": 0,
- "fixedHoursSunday": 0,
- "generateNewPlanning": true,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "jobRoleId": "string"
}
]
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Create or update a resource allocation for a calculated activity
| calculation_line_id required | string |
| resource_allocation_id required | string |
| id | string <id> |
| personId | string <id> |
| resourcePlanningId | string or null <id> |
| hours | number |
| hasCustomSalesRate | boolean |
| salesRate | number |
| salesRateInvoiceCurrency | number |
| costRate | number |
| costRateEmployeeCurrency | number |
object (Currency) | |
| planMonday | boolean |
| planTuesday | boolean |
| planWednesday | boolean |
| planThursday | boolean |
| planFriday | boolean |
| planSaturday | boolean |
| planSunday | boolean |
| fixedHoursMonday | number or null |
| fixedHoursTuesday | number or null |
| fixedHoursWednesday | number or null |
| fixedHoursThursday | number or null |
| fixedHoursFriday | number or null |
| fixedHoursSaturday | number or null |
| fixedHoursSunday | number or null |
| generateNewPlanning | boolean |
| startDate | string <date> |
| finishDate | string <date> |
| jobRoleId | string <id> |
{- "id": "string",
- "personId": "string",
- "resourcePlanningId": "string",
- "hours": 0,
- "hasCustomSalesRate": true,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRate": 0,
- "costRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "planMonday": true,
- "planTuesday": true,
- "planWednesday": true,
- "planThursday": true,
- "planFriday": true,
- "planSaturday": true,
- "planSunday": true,
- "fixedHoursMonday": 0,
- "fixedHoursTuesday": 0,
- "fixedHoursWednesday": 0,
- "fixedHoursThursday": 0,
- "fixedHoursFriday": 0,
- "fixedHoursSaturday": 0,
- "fixedHoursSunday": 0,
- "generateNewPlanning": true,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "jobRoleId": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Create or update a resource allocation for a calculated activity
| calculation_line_id required | string |
| id | string <id> |
| personId | string <id> |
| resourcePlanningId | string or null <id> |
| hours | number |
| hasCustomSalesRate | boolean |
| salesRate | number |
| salesRateInvoiceCurrency | number |
| costRate | number |
| costRateEmployeeCurrency | number |
object (Currency) | |
| planMonday | boolean |
| planTuesday | boolean |
| planWednesday | boolean |
| planThursday | boolean |
| planFriday | boolean |
| planSaturday | boolean |
| planSunday | boolean |
| fixedHoursMonday | number or null |
| fixedHoursTuesday | number or null |
| fixedHoursWednesday | number or null |
| fixedHoursThursday | number or null |
| fixedHoursFriday | number or null |
| fixedHoursSaturday | number or null |
| fixedHoursSunday | number or null |
| generateNewPlanning | boolean |
| startDate | string <date> |
| finishDate | string <date> |
| jobRoleId | string <id> |
{- "id": "string",
- "personId": "string",
- "resourcePlanningId": "string",
- "hours": 0,
- "hasCustomSalesRate": true,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRate": 0,
- "costRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "planMonday": true,
- "planTuesday": true,
- "planWednesday": true,
- "planThursday": true,
- "planFriday": true,
- "planSaturday": true,
- "planSunday": true,
- "fixedHoursMonday": 0,
- "fixedHoursTuesday": 0,
- "fixedHoursWednesday": 0,
- "fixedHoursThursday": 0,
- "fixedHoursFriday": 0,
- "fixedHoursSaturday": 0,
- "fixedHoursSunday": 0,
- "generateNewPlanning": true,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "jobRoleId": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Insert or update a deliverable
| project_id required | string |
| id | string <id> |
| name | string |
| desc | string |
| startDate | string <date> |
| finishDate | string <date> |
| invoiceMethodId | string |
| fixedPriceOtherCurrency | number |
| departmentId | string <id> |
| revenueTypeId | string <id> |
| hasCalculationLimit | boolean |
| calculationLimitOtherCurrency | number or null |
| poNumber | string |
| isAutoExtend | boolean |
| quantity | number |
| amountPerTerm | number |
| discountDescription | string |
| discountPercentage | integer |
| surchargeDescription | string |
| surchargePercentage | integer |
| completePercentage | integer |
| invoicingFrequencyId | integer or null |
| momentOfInvoicingId | string or null |
| vatTypeId | string <id> |
| opportunityId | string <id> |
| autoApproveTimesheets | boolean |
| hasCustomTimesheetApprovalContactIds | boolean |
| timesheetApprovalContactIds | Array of strings <id> [ items <id > ] |
| templateId | string or null <id> |
| copyFromDeliverableId | string <id> |
| copyAllocations | boolean |
| copyAllocationHours | boolean |
| copyTasks | boolean |
| copyInvoiceSchedule | boolean |
| copySubscriptionLines | boolean |
| applySalesRatesFromPriceList | boolean |
| shouldRecalculateSalesRates | boolean or null |
| costCenterId | string <id> |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "copyFromDeliverableId": "string",
- "copyAllocations": true,
- "copyAllocationHours": true,
- "copyTasks": true,
- "copyInvoiceSchedule": true,
- "copySubscriptionLines": true,
- "applySalesRatesFromPriceList": true,
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Return a list of deliverables for a project
| project_id required | string |
[- {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}
]Return a deliverable form
| project_id required | string |
| id | string <id> |
| name | string |
| desc | string |
| startDate | string <date> |
| finishDate | string <date> |
| invoiceMethodId | string |
| fixedPriceOtherCurrency | number |
| departmentId | string <id> |
| revenueTypeId | string <id> |
| hasCalculationLimit | boolean |
| calculationLimitOtherCurrency | number or null |
| poNumber | string |
| isAutoExtend | boolean |
| quantity | number |
| amountPerTerm | number |
| discountDescription | string |
| discountPercentage | integer |
| surchargeDescription | string |
| surchargePercentage | integer |
| completePercentage | integer |
| invoicingFrequencyId | integer or null |
| momentOfInvoicingId | string or null |
| vatTypeId | string <id> |
| opportunityId | string <id> |
| autoApproveTimesheets | boolean |
| hasCustomTimesheetApprovalContactIds | boolean |
| timesheetApprovalContactIds | Array of strings <id> [ items <id > ] |
| templateId | string or null <id> |
| copyFromDeliverableId | string <id> |
| copyAllocations | boolean |
| copyAllocationHours | boolean |
| copyTasks | boolean |
| copyInvoiceSchedule | boolean |
| copySubscriptionLines | boolean |
| applySalesRatesFromPriceList | boolean |
| shouldRecalculateSalesRates | boolean or null |
| costCenterId | string <id> |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "copyFromDeliverableId": "string",
- "copyAllocations": true,
- "copyAllocationHours": true,
- "copyTasks": true,
- "copyInvoiceSchedule": true,
- "copySubscriptionLines": true,
- "applySalesRatesFromPriceList": true,
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "templates": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "invoiceMethodId": "string",
- "invoicingFrequency": 0,
- "momentOfInvoicing": "string",
- "revenueTypeId": "string",
- "fixedPriceOtherCurrency": 0,
- "costCenterId": "string"
}
], - "clientOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "invoiceMethodOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "invoiceFrequencyOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "momentOfInvoicingOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "isDeletable": true,
- "isTimesheetsToBeApprovedByClient": true,
- "hasInvoicedBillingPeriods": true,
- "hasCalculationActivities": true,
- "shouldRecalculateSalesRates": true,
- "isCalculationLimitEnabled": true,
- "costCenterOptions": [
- {
- "id": "string",
- "name": "string",
- "costCenterCode": "string"
}
], - "defaultTimesheetApprovalContactIds": [
- "string"
]
}Delete a deliverable
| deliverable_id required | string |
| project_id required | string |
{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}Insert or update a deliverable
| deliverable_id required | string |
| project_id required | string |
| id | string <id> |
| name | string |
| desc | string |
| startDate | string <date> |
| finishDate | string <date> |
| invoiceMethodId | string |
| fixedPriceOtherCurrency | number |
| departmentId | string <id> |
| revenueTypeId | string <id> |
| hasCalculationLimit | boolean |
| calculationLimitOtherCurrency | number or null |
| poNumber | string |
| isAutoExtend | boolean |
| quantity | number |
| amountPerTerm | number |
| discountDescription | string |
| discountPercentage | integer |
| surchargeDescription | string |
| surchargePercentage | integer |
| completePercentage | integer |
| invoicingFrequencyId | integer or null |
| momentOfInvoicingId | string or null |
| vatTypeId | string <id> |
| opportunityId | string <id> |
| autoApproveTimesheets | boolean |
| hasCustomTimesheetApprovalContactIds | boolean |
| timesheetApprovalContactIds | Array of strings <id> [ items <id > ] |
| templateId | string or null <id> |
| copyFromDeliverableId | string <id> |
| copyAllocations | boolean |
| copyAllocationHours | boolean |
| copyTasks | boolean |
| copyInvoiceSchedule | boolean |
| copySubscriptionLines | boolean |
| applySalesRatesFromPriceList | boolean |
| shouldRecalculateSalesRates | boolean or null |
| costCenterId | string <id> |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "copyFromDeliverableId": "string",
- "copyAllocations": true,
- "copyAllocationHours": true,
- "copyTasks": true,
- "copyInvoiceSchedule": true,
- "copySubscriptionLines": true,
- "applySalesRatesFromPriceList": true,
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Return a deliverable form
| deliverable_id required | string |
| project_id required | string |
| id | string <id> |
| name | string |
| desc | string |
| startDate | string <date> |
| finishDate | string <date> |
| invoiceMethodId | string |
| fixedPriceOtherCurrency | number |
| departmentId | string <id> |
| revenueTypeId | string <id> |
| hasCalculationLimit | boolean |
| calculationLimitOtherCurrency | number or null |
| poNumber | string |
| isAutoExtend | boolean |
| quantity | number |
| amountPerTerm | number |
| discountDescription | string |
| discountPercentage | integer |
| surchargeDescription | string |
| surchargePercentage | integer |
| completePercentage | integer |
| invoicingFrequencyId | integer or null |
| momentOfInvoicingId | string or null |
| vatTypeId | string <id> |
| opportunityId | string <id> |
| autoApproveTimesheets | boolean |
| hasCustomTimesheetApprovalContactIds | boolean |
| timesheetApprovalContactIds | Array of strings <id> [ items <id > ] |
| templateId | string or null <id> |
| copyFromDeliverableId | string <id> |
| copyAllocations | boolean |
| copyAllocationHours | boolean |
| copyTasks | boolean |
| copyInvoiceSchedule | boolean |
| copySubscriptionLines | boolean |
| applySalesRatesFromPriceList | boolean |
| shouldRecalculateSalesRates | boolean or null |
| costCenterId | string <id> |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "copyFromDeliverableId": "string",
- "copyAllocations": true,
- "copyAllocationHours": true,
- "copyTasks": true,
- "copyInvoiceSchedule": true,
- "copySubscriptionLines": true,
- "applySalesRatesFromPriceList": true,
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "templates": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "invoiceMethodId": "string",
- "invoicingFrequency": 0,
- "momentOfInvoicing": "string",
- "revenueTypeId": "string",
- "fixedPriceOtherCurrency": 0,
- "costCenterId": "string"
}
], - "clientOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "invoiceMethodOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "invoiceFrequencyOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "momentOfInvoicingOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "isDeletable": true,
- "isTimesheetsToBeApprovedByClient": true,
- "hasInvoicedBillingPeriods": true,
- "hasCalculationActivities": true,
- "shouldRecalculateSalesRates": true,
- "isCalculationLimitEnabled": true,
- "costCenterOptions": [
- {
- "id": "string",
- "name": "string",
- "costCenterCode": "string"
}
], - "defaultTimesheetApprovalContactIds": [
- "string"
]
}Move down a deliverable within its project
| deliverable_id required | string |
| project_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Move up a deliverable within its project
| deliverable_id required | string |
| project_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Return all calculated activities of a deliverable
| deliverable_id required | string |
| employeeId | string or null <id> |
{- "employeeId": "string"
}[- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true
}
]Return all calculation lines of a deliverable
| deliverable_id required | string |
| useCurrency | string or null |
{- "useCurrency": "string"
}{- "id": "string",
- "name": "string",
- "activities": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}
], - "costs": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}
]
}Change order of the calculation lines of a deliverable
| deliverable_id required | string |
| id | string or null <id> |
| deliverableCalculationIds | Array of strings or null <id> [ items <id > ] |
{- "id": "string",
- "deliverableCalculationIds": [
- "string"
]
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Return the calculation line form
| deliverable_id required | string |
| id | string or null <id> |
| name | string or null |
object | |
object | |
| startDate | string or null <date> |
| finishDate | string or null <date> |
| hasCalculationLimit | boolean or null |
| costRate | number or null |
| desc | string or null |
| hours | number or null |
object | |
object | |
object | |
| remark | string or null |
| salesRate | number or null |
| salesRateInvoiceCurrency | number or null |
| type | string or null |
| amountPerTerm | number or null |
| quantity | integer or null |
| nrOfTasks | integer or null |
| nrOfTodoTasks | integer or null |
| nrOfDoingTasks | integer or null |
Array of objects (PurchaseOrder) |
{- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "activityOptions": [
- {
- "id": "string",
- "name": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRate": 0
}
], - "costOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "memberOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "typeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "calculationLine": {
- "id": "string",
- "assignees": [
- {
- "id": "string",
- "name": "string"
}
], - "canChangeComponent": true,
- "canDelete": true,
- "activityId": "string",
- "costId": "string",
- "costAmount": 0,
- "costRate": 0,
- "desc": "string",
- "finishDate": "2019-08-24",
- "hours": 0,
- "hoursAllocated": 0,
- "remark": "string",
- "salesAmount": 0,
- "salesAmountInvoiceCurrency": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "startDate": "2019-08-24",
- "typeId": "string",
- "hasCalculationLimit": true
}, - "config": {
- "useDailyRates": true
}, - "isDeletable": true,
- "isCalculationLimitEnabled": true
}Return the calculation line form
| deliverable_id required | string |
| calculation_line_id required | string |
| id | string or null <id> |
| name | string or null |
object | |
object | |
| startDate | string or null <date> |
| finishDate | string or null <date> |
| hasCalculationLimit | boolean or null |
| costRate | number or null |
| desc | string or null |
| hours | number or null |
object | |
object | |
object | |
| remark | string or null |
| salesRate | number or null |
| salesRateInvoiceCurrency | number or null |
| type | string or null |
| amountPerTerm | number or null |
| quantity | integer or null |
| nrOfTasks | integer or null |
| nrOfTodoTasks | integer or null |
| nrOfDoingTasks | integer or null |
Array of objects (PurchaseOrder) |
{- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "activityOptions": [
- {
- "id": "string",
- "name": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRate": 0
}
], - "costOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "memberOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "typeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "calculationLine": {
- "id": "string",
- "assignees": [
- {
- "id": "string",
- "name": "string"
}
], - "canChangeComponent": true,
- "canDelete": true,
- "activityId": "string",
- "costId": "string",
- "costAmount": 0,
- "costRate": 0,
- "desc": "string",
- "finishDate": "2019-08-24",
- "hours": 0,
- "hoursAllocated": 0,
- "remark": "string",
- "salesAmount": 0,
- "salesAmountInvoiceCurrency": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "startDate": "2019-08-24",
- "typeId": "string",
- "hasCalculationLimit": true
}, - "config": {
- "useDailyRates": true
}, - "isDeletable": true,
- "isCalculationLimitEnabled": true
}Update or insert a calculation line
| deliverable_id required | string |
| id | string <id> |
Array of objects (MainEntityBase) | |
| canChangeComponent | boolean or null |
| canDelete | boolean or null |
| activityId | string or null <id> |
| costId | string or null <id> |
| costAmount | number or null |
| costRate | number or null |
| desc | string or null |
| finishDate | string <date> |
| hours | number or null |
| hoursAllocated | number or null |
| remark | string or null |
| salesAmount | number or null |
| salesAmountInvoiceCurrency | number or null |
| salesRate | number or null |
| salesRateInvoiceCurrency | number or null |
| startDate | string <date> |
| typeId | string |
| hasCalculationLimit | boolean or null |
{- "id": "string",
- "assignees": [
- {
- "id": "string",
- "name": "string"
}
], - "canChangeComponent": true,
- "canDelete": true,
- "activityId": "string",
- "costId": "string",
- "costAmount": 0,
- "costRate": 0,
- "desc": "string",
- "finishDate": "2019-08-24",
- "hours": 0,
- "hoursAllocated": 0,
- "remark": "string",
- "salesAmount": 0,
- "salesAmountInvoiceCurrency": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "startDate": "2019-08-24",
- "typeId": "string",
- "hasCalculationLimit": true
}{- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}Delete a calculation line
| deliverable_id required | string |
| calculation_line_id required | string |
{- "id": "string",
- "name": "string",
- "activities": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}
], - "costs": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}
]
}Update or insert a calculation line
| deliverable_id required | string |
| calculation_line_id required | string |
| id | string <id> |
Array of objects (MainEntityBase) | |
| canChangeComponent | boolean or null |
| canDelete | boolean or null |
| activityId | string or null <id> |
| costId | string or null <id> |
| costAmount | number or null |
| costRate | number or null |
| desc | string or null |
| finishDate | string <date> |
| hours | number or null |
| hoursAllocated | number or null |
| remark | string or null |
| salesAmount | number or null |
| salesAmountInvoiceCurrency | number or null |
| salesRate | number or null |
| salesRateInvoiceCurrency | number or null |
| startDate | string <date> |
| typeId | string |
| hasCalculationLimit | boolean or null |
{- "id": "string",
- "assignees": [
- {
- "id": "string",
- "name": "string"
}
], - "canChangeComponent": true,
- "canDelete": true,
- "activityId": "string",
- "costId": "string",
- "costAmount": 0,
- "costRate": 0,
- "desc": "string",
- "finishDate": "2019-08-24",
- "hours": 0,
- "hoursAllocated": 0,
- "remark": "string",
- "salesAmount": 0,
- "salesAmountInvoiceCurrency": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "startDate": "2019-08-24",
- "typeId": "string",
- "hasCalculationLimit": true
}{- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}Return a list of reasons why a deliverable can't be closed
| deliverable_id required | string |
{- "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "reasons": [
- {
- "label": "string",
- "desc": "string"
}
]
}Commit the opening balance for a deliverable
| deliverable_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Reverse the opening balance for a deliverable
| deliverable_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Return all subscription lines of a deliverable
| deliverable_id required | string |
[- {
- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasInvoicedBillingPeriods": true
}
]Return the subscription line of a deliverable form
| deliverable_id required | string |
| id | string or null <id> |
| desc | string or null |
| quantity | integer or null |
| amountPerTerm | number or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
{- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "deliverableSubscriptionLine": {
- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasInvoicedBillingPeriods": true
}
}Return the subscription line of a deliverable form
| deliverable_subscription_id required | string |
| deliverable_id required | string |
| id | string or null <id> |
| desc | string or null |
| quantity | integer or null |
| amountPerTerm | number or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
{- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "deliverableSubscriptionLine": {
- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasInvoicedBillingPeriods": true
}
}Update or insert a subscription line of a deliverable
| deliverable_id required | string |
| id | string or null <id> |
| desc | string or null |
| quantity | integer or null |
| amountPerTerm | number or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
{- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}{- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasInvoicedBillingPeriods": true
}Delete a subscription line of a deliverable
| deliverable_subscription_id required | string |
| deliverable_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Update or insert a subscription line of a deliverable
| deliverable_subscription_id required | string |
| deliverable_id required | string |
| id | string or null <id> |
| desc | string or null |
| quantity | integer or null |
| amountPerTerm | number or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
{- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}{- "id": "string",
- "desc": "string",
- "quantity": 0,
- "amountPerTerm": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasInvoicedBillingPeriods": true
}Return a list of external issues for a deliverable
| deliverable_id required | string |
{- "issueTrackerBaseUrl": "string",
- "issues": [
- {
- "id": "string",
- "title": "string",
- "description": "string",
- "issueType": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "isSubtask": true
}, - "externalProject": {
- "id": "string",
- "name": "string"
}, - "epic": {
- "id": "string",
- "name": "string"
}, - "sprint": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}, - "status": {
- "id": "string",
- "name": "string"
}, - "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "issueNumber": "string",
- "storyPoints": 0,
- "hours": 0,
- "children": [
- { }
], - "hasMoreChildren": true,
- "childrenCursor": 0
}
]
}Insert an external issue for a deliverable
| deliverable_id required | string |
| externalProjectId | string or null |
| issueType | string or null |
| title | string or null |
| description | string or null |
| epicName | string or null |
| activityId | string or null <id> |
{- "externalProjectId": "string",
- "issueType": "string",
- "title": "string",
- "description": "string",
- "epicName": "string",
- "activityId": "string"
}{- "id": "string",
- "title": "string",
- "description": "string",
- "issueType": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "isSubtask": true
}, - "externalProject": {
- "id": "string",
- "name": "string"
}, - "epic": {
- "id": "string",
- "name": "string"
}, - "sprint": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}, - "status": {
- "id": "string",
- "name": "string"
}, - "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "issueNumber": "string",
- "storyPoints": 0,
- "hours": 0,
- "children": [
- { }
], - "hasMoreChildren": true,
- "childrenCursor": 0
}Return the external issue form
| deliverable_id required | string |
{- "externalIssue": {
- "externalProjectId": "string",
- "issueType": "string",
- "title": "string",
- "description": "string",
- "epicName": "string",
- "activityId": "string"
}, - "externalProjects": [
- {
- "id": "string",
- "name": "string",
- "isSimplified": true
}
], - "calculatedActivities": [
- {
- "id": "string",
- "name": "string"
}
]
}Link an external issue to a deliverable
| deliverable_id required | string |
| activityId | string or null <id> |
| issueId | string or null |
{- "activityId": "string",
- "issueId": "string"
}{- "id": "string",
- "title": "string",
- "description": "string",
- "issueType": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "isSubtask": true
}, - "externalProject": {
- "id": "string",
- "name": "string"
}, - "epic": {
- "id": "string",
- "name": "string"
}, - "sprint": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}, - "status": {
- "id": "string",
- "name": "string"
}, - "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "issueNumber": "string",
- "storyPoints": 0,
- "hours": 0,
- "children": [
- { }
], - "hasMoreChildren": true,
- "childrenCursor": 0
}UnLink an external issue from a deliverable
| deliverable_id required | string |
| issueId | string or null |
{- "issueId": "string"
}{- "id": "string",
- "title": "string",
- "description": "string",
- "issueType": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "isSubtask": true
}, - "externalProject": {
- "id": "string",
- "name": "string"
}, - "epic": {
- "id": "string",
- "name": "string"
}, - "sprint": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}, - "status": {
- "id": "string",
- "name": "string"
}, - "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "issueNumber": "string",
- "storyPoints": 0,
- "hours": 0,
- "children": [
- { }
], - "hasMoreChildren": true,
- "childrenCursor": 0
}Return a list of invoicing schedules of a deliverable
| deliverable_id required | string |
{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Insert or update an invoicing schedule for a deliverable
| deliverable_id required | string |
| id | string or null <id> |
| canDelete | boolean or null |
| invoiceAmount | number or null |
| invoiceDate | string or null <date> |
| invoiceDesc | string or null |
object | |
| periodStartDate | string or null <date> |
| periodFinishDate | string or null <date> |
{- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Delete an invoicing schedule
| billing_period_id required | string |
| deliverable_id required | string |
{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Insert or update an invoicing schedule for a deliverable
| billing_period_id required | string |
| deliverable_id required | string |
| id | string or null <id> |
| canDelete | boolean or null |
| invoiceAmount | number or null |
| invoiceDate | string or null <date> |
| invoiceDesc | string or null |
object | |
| periodStartDate | string or null <date> |
| periodFinishDate | string or null <date> |
{- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Change order of the tasks of a deliverable
| deliverable_id required | string |
| id | string or null <id> |
| taskIds | Array of strings or null <id> [ items <id > ] |
{- "id": "string",
- "taskIds": [
- "string"
]
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Get the form to create or update set of deliverables to duplicate
{- "deliverablesToDuplicateSet": {
- "fromFinishDate": "2019-08-24",
- "toFinishDate": "2019-08-24",
- "revenueTypeIds": [
- "string"
], - "departmentIds": [
- "string"
], - "skipWhenNoNewPriceList": true
}, - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a set of deliverables to duplicate
| fromFinishDate | string or null <date> |
| toFinishDate | string or null <date> |
| revenueTypeIds | Array of strings or null <id> [ items <id > ] |
| departmentIds | Array of strings or null <id> [ items <id > ] |
| skipWhenNoNewPriceList | boolean or null |
{- "fromFinishDate": "2019-08-24",
- "toFinishDate": "2019-08-24",
- "revenueTypeIds": [
- "string"
], - "departmentIds": [
- "string"
], - "skipWhenNoNewPriceList": true
}{- "id": "string",
- "deliverableDuplicationItems": [
- {
- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "isSelected": true,
- "priceListCurrent": {
- "priceListName": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}, - "priceListNew": {
- "priceListName": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}, - "projectDepartmentName": "string",
- "invoiceMethodName": "string"
}
]
}Update an item in a set of deliverables to duplicate
| deliverables_to_duplicate_set_id required | string |
| selectionType | string or null |
| isSelected | boolean or null |
| deliverableId | string or null <id> |
{- "selectionType": "string",
- "isSelected": true,
- "deliverableId": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Duplicate set of deliverables
| deliverables_to_duplicate_set_id required | string |
| copyTasks | boolean or null |
| copyInvoiceSchedule | boolean or null |
| copySubscriptionLines | boolean or null |
| applySalesRatesFromPriceList | boolean or null |
{- "copyTasks": true,
- "copyInvoiceSchedule": true,
- "copySubscriptionLines": true,
- "applySalesRatesFromPriceList": true
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Get the form to create or update set of deliverables to duplicate
| deliverables_to_duplicate_set_id required | string |
{- "deliverablesToDuplicateSet": {
- "fromFinishDate": "2019-08-24",
- "toFinishDate": "2019-08-24",
- "revenueTypeIds": [
- "string"
], - "departmentIds": [
- "string"
], - "skipWhenNoNewPriceList": true
}, - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Get the contributors and time entries of a calculation line
| calculation_line_id required | string |
{- "contributors": [
- {
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "timeEntries": [
- {
- "id": "string",
- "name": "string",
- "hours": 0,
- "date": "2019-08-24",
- "salesRate": 0,
- "costRate": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "costRateEmployeeCurrency": 0,
- "reference": "string",
- "status": "string"
}
], - "totalHours": 0
}
], - "openingBalanceHours": 0
}Get the costs of a calculation-line
| calculation_line_id required | string |
{- "calculationLine": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "costEntriesExpensesPerPerson": [
- {
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "expenses": [
- {
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "date": "2019-08-24",
- "status": "string",
- "statusForInvoice": "string",
- "amount": 0,
- "desc": "string",
- "expensesType": {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}, - "netAmountProjectLocalCurrency": 0
}
], - "totalAmount": 0
}
], - "costEntriesInvoicesPerSupplier": [
- {
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "purchaseInvoiceDistributions": [
- {
- "id": "string",
- "name": "string",
- "amount": 0,
- "date": "2019-08-24",
- "description": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
}
], - "totalAmount": 0
}
], - "openingBalanceAmount": 0
}Insert or update a purchase order
| calculation_line_id required | string |
| id | string or null <id> |
| supplierId | string or null <id> |
| contactId | string or null <id> |
| purchaseOrderAmount | number or null |
| desc | string or null |
| orderDate | string or null <date> |
{- "id": "string",
- "supplierId": "string",
- "contactId": "string",
- "purchaseOrderAmount": 0,
- "desc": "string",
- "orderDate": "2019-08-24"
}{- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}Insert or update a purchase order
| calculation_line_id required | string |
| purchase_order_id required | string |
| id | string or null <id> |
| supplierId | string or null <id> |
| contactId | string or null <id> |
| purchaseOrderAmount | number or null |
| desc | string or null |
| orderDate | string or null <date> |
{- "id": "string",
- "supplierId": "string",
- "contactId": "string",
- "purchaseOrderAmount": 0,
- "desc": "string",
- "orderDate": "2019-08-24"
}{- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}Return a purchase order
| purchase_order_number required | string |
{- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}Return the purchase order form
| calculation_line_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "purchaseOrderNumber": 0,
- "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contactId": "string",
- "contactOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string",
- "orderDate": "2019-08-24",
- "canDelete": true
}Return the purchase order form
| calculation_line_id required | string |
| purchase_order_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "purchaseOrderNumber": 0,
- "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contactId": "string",
- "contactOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string",
- "orderDate": "2019-08-24",
- "canDelete": true
}Insert a template for a deliverable
| overwrite | boolean or null |
| deliverableId | string or null <id> |
| projectId | string or null <id> |
{- "overwrite": true,
- "deliverableId": "string",
- "projectId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "invoiceMethodId": "string",
- "fixedPriceOtherCurrency": 0,
- "departmentId": "string",
- "revenueTypeId": "string",
- "hasCalculationLimit": true,
- "calculationLimitOtherCurrency": 0,
- "poNumber": "string",
- "isAutoExtend": true,
- "quantity": 0,
- "amountPerTerm": 0,
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "completePercentage": 0,
- "invoicingFrequencyId": 0,
- "momentOfInvoicingId": "string",
- "vatTypeId": "string",
- "opportunityId": "string",
- "autoApproveTimesheets": true,
- "hasCustomTimesheetApprovalContactIds": true,
- "timesheetApprovalContactIds": [
- "string"
], - "templateId": "string",
- "shouldRecalculateSalesRates": true,
- "costCenterId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "templates": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "invoiceMethodId": "string",
- "invoicingFrequency": 0,
- "momentOfInvoicing": "string",
- "revenueTypeId": "string",
- "fixedPriceOtherCurrency": 0,
- "costCenterId": "string"
}
], - "clientOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "invoiceMethodOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "invoiceFrequencyOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "momentOfInvoicingOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "isDeletable": true,
- "isTimesheetsToBeApprovedByClient": true,
- "hasInvoicedBillingPeriods": true,
- "hasCalculationActivities": true,
- "shouldRecalculateSalesRates": true,
- "isCalculationLimitEnabled": true,
- "costCenterOptions": [
- {
- "id": "string",
- "name": "string",
- "costCenterCode": "string"
}
], - "defaultTimesheetApprovalContactIds": [
- "string"
]
}Form for adjusting planned hours of a week for an allocation or absence type
| planning_id required | string |
| id | string <id> |
| name | string |
| resourceAllocationId | string <id> |
| absenceTypeId | string <id> |
| year | integer Default: 0 |
| weekNr | integer Default: 0 |
| resourceId | string <id> |
{- "id": "string",
- "name": "string",
- "resourcePlanningWeek": {
- "projectId": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "absenceTypeId": "string",
- "resourceId": "string",
- "taskId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "",
- "availableHours": 0
}
], - "obeyAbsenceTypePlanBehavior": true
}, - "year": 0,
- "week": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Update or insert planned hours of a week for an allocation or absence type
| planning_id required | string |
| projectId | string or null <id> |
| deliverableId | string or null <id> |
| calculatedActivityId | string or null <id> |
| resourceAllocationId | string or null <id> |
| absenceTypeId | string or null <id> |
| resourceId | string or null <id> |
| taskId | string or null <id> |
Array of objects (ResourcePlanningDayWriteSchemaV3) The list of days should have exactly 7 objects in it. The first object is the monday of the week and the last is the sunday. | |
| year | integer or null Default: 0 |
| weekNr | integer or null Default: 0 |
| obeyAbsenceTypePlanBehavior | boolean or null True: VOGSY will factor in the "Plan leave hours" setting. False: VOGSY will generate planned hours without considering the "Plan leave hours" setting. |
{- "projectId": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "absenceTypeId": "string",
- "resourceId": "string",
- "taskId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "hours": 0,
- "reference": ""
}
], - "year": 0,
- "weekNr": 0,
- "obeyAbsenceTypePlanBehavior": true
}{- "days": [
- {
- "dayInMonth": 0,
- "availableHours": 0,
- "isTimesheetEntry": true,
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "status": "string",
- "hasSoftBookings": true,
- "hasOpportunityBookings": true,
- "notWorking": true,
- "occupancyPercentage": 0
}
], - "finishDate": "2019-08-24",
- "isTimesheetEntry": true,
- "timesheetId": "string",
- "timeEntrySetId": "string",
- "planningId": "string",
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "startDate": "2019-08-24",
- "status": "string",
- "weekNr": 0,
- "year": 0,
- "notWorking": true,
- "occupancyPercentage": 0,
- "availableHours": 0,
- "hasSoftBookings": true,
- "hasOpportunityBookings": true
}Form for adjusting planned hours of a week for an allocation or absence type
| id | string <id> |
| name | string |
| resourceAllocationId | string <id> |
| absenceTypeId | string <id> |
| year | integer Default: 0 |
| weekNr | integer Default: 0 |
| resourceId | string <id> |
{- "id": "string",
- "name": "string",
- "resourcePlanningWeek": {
- "projectId": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "absenceTypeId": "string",
- "resourceId": "string",
- "taskId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "",
- "availableHours": 0
}
], - "obeyAbsenceTypePlanBehavior": true
}, - "year": 0,
- "week": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Update or insert planned hours of a week for an allocation or absence type
| projectId | string or null <id> |
| deliverableId | string or null <id> |
| calculatedActivityId | string or null <id> |
| resourceAllocationId | string or null <id> |
| absenceTypeId | string or null <id> |
| resourceId | string or null <id> |
| taskId | string or null <id> |
Array of objects (ResourcePlanningDayWriteSchemaV3) The list of days should have exactly 7 objects in it. The first object is the monday of the week and the last is the sunday. | |
| year | integer or null Default: 0 |
| weekNr | integer or null Default: 0 |
| obeyAbsenceTypePlanBehavior | boolean or null True: VOGSY will factor in the "Plan leave hours" setting. False: VOGSY will generate planned hours without considering the "Plan leave hours" setting. |
{- "projectId": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "absenceTypeId": "string",
- "resourceId": "string",
- "taskId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "hours": 0,
- "reference": ""
}
], - "year": 0,
- "weekNr": 0,
- "obeyAbsenceTypePlanBehavior": true
}{- "days": [
- {
- "dayInMonth": 0,
- "availableHours": 0,
- "isTimesheetEntry": true,
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "status": "string",
- "hasSoftBookings": true,
- "hasOpportunityBookings": true,
- "notWorking": true,
- "occupancyPercentage": 0
}
], - "finishDate": "2019-08-24",
- "isTimesheetEntry": true,
- "timesheetId": "string",
- "timeEntrySetId": "string",
- "planningId": "string",
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "startDate": "2019-08-24",
- "status": "string",
- "weekNr": 0,
- "year": 0,
- "notWorking": true,
- "occupancyPercentage": 0,
- "availableHours": 0,
- "hasSoftBookings": true,
- "hasOpportunityBookings": true
}Return a list of projects
| modifiedAfter | string <date-time> |
| organizationId | string <id> |
| cursor | string <cursor> |
| maxResults | integer |
{- "items": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}
], - "nextCursor": "string",
- "more": true
}Add an existing board to a project
| name | string or null |
{- "name": "string"
}{- "id": "string",
- "name": "string",
- "lists": [
- {
- "id": "string",
- "name": "string",
- "cards": [
- {
- "id": "string",
- "name": "string",
- "memberIds": [
- "string"
], - "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "url": "string",
- "desc": "string",
- "comments": [
- {
- "id": "string",
- "name": "string",
- "fullName": "string",
- "avatarUrl": "string",
- "comment": "string",
- "cardId": "string",
- "date": "string"
}
]
}
]
}
], - "members": [
- {
- "id": "string",
- "name": "string",
- "avatarUrl": "string"
}
], - "backgroundImage": "string",
- "url": "string"
}Return a list of projects which need client timesheet approval
| project_id required | string |
| startDate | string or null <date> |
| finishDate | string or null <date> |
{- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}{- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "approvers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "timeEntrySets": {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true,
- "hoursToApprove": 0
}
], - "calculatedActivityId": "string",
- "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "reference": "string",
- "setId": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "week": 0,
- "year": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "salesAmount": 0,
- "hours": 0,
- "hoursToApprove": 0,
- "salesRate": 0,
- "approvalStatus": "string",
- "availableWorkingHoursForEmployeeOnProject": 0,
- "verifiedBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "verifiedDatetime": "2019-08-24T14:15:22Z",
- "rejectComment": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "verified": true,
- "currentUser": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "customerLogo": "string",
- "customerColor": "string",
- "useWorkingHoursCheck": true
}Return a list of reasons why a project can't be closed
| project_id required | string |
{- "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "reasons": [
- {
- "label": "string",
- "desc": "string"
}
]
}Return a project form
| project_id required | string |
| organizationId | string or null <id> |
| opportunityId | string or null <id> |
{- "organizationId": "string",
- "opportunityId": "string"
}{- "project": {
- "id": "string",
- "name": "string",
- "clientId": "string",
- "currencyId": "string",
- "customerId": "string",
- "departmentId": "string",
- "paymentConditionId": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "poNumber": "string",
- "projectStatusId": "string",
- "opportunityId": "string",
- "isClosed": true,
- "timesheetsApprovedByClient": true,
- "timesheetApprovalContactIds": [
- "string"
], - "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "useInvoicingScheduleOnProjectLevel": true,
- "isProjectBudgetBasedOnAllocations": true,
- "revenueTypeId": "string",
- "nrOfDeliverables": null,
- "vatTypeId": "string",
- "priceListId": "string",
- "gAccountPercentage": 0,
- "useAlternativeInvoiceAddress": true,
- "invoiceAddress": "string",
- "invoiceAttention": "string",
- "invoiceCity": "string",
- "invoiceCountry": "string",
- "invoiceEmails": [
- "string"
], - "invoiceName": "string",
- "invoiceZipCode": "string",
- "invoiceNotes": "string",
- "hasAllocatedResources": true,
- "isNoAllocationRequired": true,
- "projectTemplateId": "string",
- "templateDeliverables": [
- {
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}
]
}, - "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "OpportunityFormConfiguration": {
- "formFields": [
- {
- "name": "string",
- "type": "string"
}
]
}, - "clientOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "projectStatusOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "paymentConditionOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "priceListOptions": [
- {
- "id": "string",
- "name": "string",
- "currencyId": "string"
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectTemplates": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "isProjectBudgetBasedOnAllocations": true,
- "isNoAllocationRequired": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueTypeId": "string",
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "deliverables": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "invoiceMethodId": "string",
- "invoicingFrequency": 0,
- "momentOfInvoicing": "string",
- "revenueTypeId": "string",
- "fixedPriceOtherCurrency": 0,
- "costCenterId": "string"
}
]
}
], - "isDeletable": true
}Return the project team form
| project_id required | string |
{- "roleOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectMemberOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectTeamMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
]
}Insert or update a project member
| project_id required | string |
| roleId | string or null |
| personId | string or null <id> |
{- "roleId": "string",
- "personId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}Delete a project member
| member_id required | string |
| project_id required | string |
{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}Insert or update a project member
| member_id required | string |
| project_id required | string |
| roleId | string or null |
| personId | string or null <id> |
{- "roleId": "string",
- "personId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}
}Insert or update a project
| project_id required | string |
| id | string <id> |
| name | string |
| clientId | string <id> |
| currencyId | string <id> |
| customerId | string <id> |
| departmentId | string <id> |
| paymentConditionId | string <id> |
| desc | string |
| startDate | string <date> |
| finishDate | string <date> |
| poNumber | string |
| projectStatusId | string <id> |
| opportunityId | string <id> |
| isClosed | boolean |
| timesheetsApprovedByClient | boolean |
| timesheetApprovalContactIds | Array of strings <id> [ items <id > ] |
| discountDescription | string |
| discountPercentage | integer |
| surchargeDescription | string |
| surchargePercentage | integer |
| useInvoicingScheduleOnProjectLevel | boolean |
| isProjectBudgetBasedOnAllocations | boolean |
| revenueTypeId | string <id> |
| nrOfDeliverables | any |
| vatTypeId | string <id> |
| priceListId | string or null <id> |
| gAccountPercentage | integer |
| useAlternativeInvoiceAddress | boolean |
| invoiceAddress | string |
| invoiceAttention | string |
| invoiceCity | string |
| invoiceCountry | string |
| invoiceEmails | Array of strings |
| invoiceName | string |
| invoiceZipCode | string |
| invoiceNotes | string |
| isNoAllocationRequired | boolean |
| projectTemplateId | string <id> |
Array of objects (TemplateDeliverableWrite) |
{- "id": "string",
- "name": "string",
- "clientId": "string",
- "currencyId": "string",
- "customerId": "string",
- "departmentId": "string",
- "paymentConditionId": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "poNumber": "string",
- "projectStatusId": "string",
- "opportunityId": "string",
- "isClosed": true,
- "timesheetsApprovedByClient": true,
- "timesheetApprovalContactIds": [
- "string"
], - "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "useInvoicingScheduleOnProjectLevel": true,
- "isProjectBudgetBasedOnAllocations": true,
- "revenueTypeId": "string",
- "nrOfDeliverables": null,
- "vatTypeId": "string",
- "priceListId": "string",
- "gAccountPercentage": 0,
- "useAlternativeInvoiceAddress": true,
- "invoiceAddress": "string",
- "invoiceAttention": "string",
- "invoiceCity": "string",
- "invoiceCountry": "string",
- "invoiceEmails": [
- "string"
], - "invoiceName": "string",
- "invoiceZipCode": "string",
- "invoiceNotes": "string",
- "isNoAllocationRequired": true,
- "projectTemplateId": "string",
- "templateDeliverables": [
- {
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}
]
}{- "id": "string",
- "name": "string",
- "clientId": "string",
- "currencyId": "string",
- "customerId": "string",
- "departmentId": "string",
- "paymentConditionId": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "poNumber": "string",
- "projectStatusId": "string",
- "opportunityId": "string",
- "isClosed": true,
- "timesheetsApprovedByClient": true,
- "timesheetApprovalContactIds": [
- "string"
], - "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "useInvoicingScheduleOnProjectLevel": true,
- "isProjectBudgetBasedOnAllocations": true,
- "revenueTypeId": "string",
- "nrOfDeliverables": null,
- "vatTypeId": "string",
- "priceListId": "string",
- "gAccountPercentage": 0,
- "useAlternativeInvoiceAddress": true,
- "invoiceAddress": "string",
- "invoiceAttention": "string",
- "invoiceCity": "string",
- "invoiceCountry": "string",
- "invoiceEmails": [
- "string"
], - "invoiceName": "string",
- "invoiceZipCode": "string",
- "invoiceNotes": "string",
- "hasAllocatedResources": true,
- "isNoAllocationRequired": true,
- "projectTemplateId": "string",
- "templateDeliverables": [
- {
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}
]
}Return the detailed margin of a project
| project_id required | string |
{- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0,
- "salesRate": 0,
- "costRate": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0,
- "salesRate": 0,
- "costRate": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true,
- "salesRate": 0,
- "costRate": 0
}
}Update or insert a milestone
| milestone_id required | string |
| project_id required | string |
| id | string or null <id> |
| name | string or null |
| date | string or null <date> |
| custom | boolean or null |
| done | boolean or null |
{- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "custom": true,
- "done": true
}{- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "custom": true,
- "done": true
}Toggle done of a milestone
| milestone_id required | string |
| project_id required | string |
{- "responseMessage": "string",
- "item": {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "custom": true,
- "done": true
}
}Ignore a milestone
| milestone_id required | string |
| project_id required | string |
"string"{- "responseMessage": "string"
}Update or insert a milestone
| project_id required | string |
| id | string or null <id> |
| name | string or null |
| date | string or null <date> |
| custom | boolean or null |
| done | boolean or null |
{- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "custom": true,
- "done": true
}{- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "custom": true,
- "done": true
}Return the invoicing schedules of a project
| project_id required | string |
{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Insert or update an invoicing schedule for a deliverable
| project_id required | string |
| id | string or null <id> |
| canDelete | boolean or null |
| invoiceAmount | number or null |
| invoiceDate | string or null <date> |
| invoiceDesc | string or null |
object | |
| periodStartDate | string or null <date> |
| periodFinishDate | string or null <date> |
{- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Delete an invoicing schedule
| billing_period_id required | string |
| project_id required | string |
{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Insert or update an invoicing schedule for a deliverable
| billing_period_id required | string |
| project_id required | string |
| id | string or null <id> |
| canDelete | boolean or null |
| invoiceAmount | number or null |
| invoiceDate | string or null <date> |
| invoiceDesc | string or null |
object | |
| periodStartDate | string or null <date> |
| periodFinishDate | string or null <date> |
{- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}{- "billingPeriods": [
- {
- "id": "string",
- "canDelete": true,
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "periodStartDate": "2019-08-24",
- "periodFinishDate": "2019-08-24"
}
], - "fixedPriceOtherCurrency": 0,
- "remainingInvoiceAmount": 0
}Return the available working hours for a specific employee on a project
| project_id required | string |
| timesheetId | string or null |
{- "timesheetId": "string"
}{- "availableWorkingHours": 0
}Return a list of invoices for a project
| project_id required | string |
| filter | string or null |
{- "filter": "string"
}{- "context": {
- "canSendReminder": true
}, - "totalInvoicedAmount": 0,
- "totalOutstandingAmount": 0,
- "averageDaysOutstanding": 0,
- "averageDaysPastDueDate": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "invoices": [
- {
- "id": "string",
- "name": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountDue": 0,
- "amountDueOtherCurrency": 0,
- "daysOutstanding": 0,
- "daysOverdue": 0,
- "isOverdue": true,
- "isPaid": true,
- "isProjectInvoice": true,
- "date": "2019-08-24",
- "dueDate": "2019-08-24",
- "document": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "nrOfRemindersSent": 0,
- "lastReminderDate": "2019-08-24",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "project": {
- "id": "string",
- "name": "string"
}
}
]
}Return the opening balance for a project
| project_id required | string |
{- "billingPeriods": [
- {
- "id": "string",
- "billingPeriodId": "string",
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": "string",
- "statusOption": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "canDelete": true,
- "openingBalance": true
}
], - "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "projectNumber": "string",
- "useInvoicingScheduleOnProjectLevel": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
}Return a project form
| organizationId | string or null <id> |
| opportunityId | string or null <id> |
{- "organizationId": "string",
- "opportunityId": "string"
}{- "project": {
- "id": "string",
- "name": "string",
- "clientId": "string",
- "currencyId": "string",
- "customerId": "string",
- "departmentId": "string",
- "paymentConditionId": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "poNumber": "string",
- "projectStatusId": "string",
- "opportunityId": "string",
- "isClosed": true,
- "timesheetsApprovedByClient": true,
- "timesheetApprovalContactIds": [
- "string"
], - "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "useInvoicingScheduleOnProjectLevel": true,
- "isProjectBudgetBasedOnAllocations": true,
- "revenueTypeId": "string",
- "nrOfDeliverables": null,
- "vatTypeId": "string",
- "priceListId": "string",
- "gAccountPercentage": 0,
- "useAlternativeInvoiceAddress": true,
- "invoiceAddress": "string",
- "invoiceAttention": "string",
- "invoiceCity": "string",
- "invoiceCountry": "string",
- "invoiceEmails": [
- "string"
], - "invoiceName": "string",
- "invoiceZipCode": "string",
- "invoiceNotes": "string",
- "hasAllocatedResources": true,
- "isNoAllocationRequired": true,
- "projectTemplateId": "string",
- "templateDeliverables": [
- {
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}
]
}, - "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "OpportunityFormConfiguration": {
- "formFields": [
- {
- "name": "string",
- "type": "string"
}
]
}, - "clientOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "projectStatusOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "paymentConditionOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "priceListOptions": [
- {
- "id": "string",
- "name": "string",
- "currencyId": "string"
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectTemplates": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "isProjectBudgetBasedOnAllocations": true,
- "isNoAllocationRequired": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueTypeId": "string",
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "deliverables": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "invoiceMethodId": "string",
- "invoicingFrequency": 0,
- "momentOfInvoicing": "string",
- "revenueTypeId": "string",
- "fixedPriceOtherCurrency": 0,
- "costCenterId": "string"
}
]
}
], - "isDeletable": true
}Insert or update a project
| id | string <id> |
| name | string |
| clientId | string <id> |
| currencyId | string <id> |
| customerId | string <id> |
| departmentId | string <id> |
| paymentConditionId | string <id> |
| desc | string |
| startDate | string <date> |
| finishDate | string <date> |
| poNumber | string |
| projectStatusId | string <id> |
| opportunityId | string <id> |
| isClosed | boolean |
| timesheetsApprovedByClient | boolean |
| timesheetApprovalContactIds | Array of strings <id> [ items <id > ] |
| discountDescription | string |
| discountPercentage | integer |
| surchargeDescription | string |
| surchargePercentage | integer |
| useInvoicingScheduleOnProjectLevel | boolean |
| isProjectBudgetBasedOnAllocations | boolean |
| revenueTypeId | string <id> |
| nrOfDeliverables | any |
| vatTypeId | string <id> |
| priceListId | string or null <id> |
| gAccountPercentage | integer |
| useAlternativeInvoiceAddress | boolean |
| invoiceAddress | string |
| invoiceAttention | string |
| invoiceCity | string |
| invoiceCountry | string |
| invoiceEmails | Array of strings |
| invoiceName | string |
| invoiceZipCode | string |
| invoiceNotes | string |
| isNoAllocationRequired | boolean |
| projectTemplateId | string <id> |
Array of objects (TemplateDeliverableWrite) |
{- "id": "string",
- "name": "string",
- "clientId": "string",
- "currencyId": "string",
- "customerId": "string",
- "departmentId": "string",
- "paymentConditionId": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "poNumber": "string",
- "projectStatusId": "string",
- "opportunityId": "string",
- "isClosed": true,
- "timesheetsApprovedByClient": true,
- "timesheetApprovalContactIds": [
- "string"
], - "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "useInvoicingScheduleOnProjectLevel": true,
- "isProjectBudgetBasedOnAllocations": true,
- "revenueTypeId": "string",
- "nrOfDeliverables": null,
- "vatTypeId": "string",
- "priceListId": "string",
- "gAccountPercentage": 0,
- "useAlternativeInvoiceAddress": true,
- "invoiceAddress": "string",
- "invoiceAttention": "string",
- "invoiceCity": "string",
- "invoiceCountry": "string",
- "invoiceEmails": [
- "string"
], - "invoiceName": "string",
- "invoiceZipCode": "string",
- "invoiceNotes": "string",
- "isNoAllocationRequired": true,
- "projectTemplateId": "string",
- "templateDeliverables": [
- {
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}
]
}{- "id": "string",
- "name": "string",
- "clientId": "string",
- "currencyId": "string",
- "customerId": "string",
- "departmentId": "string",
- "paymentConditionId": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "poNumber": "string",
- "projectStatusId": "string",
- "opportunityId": "string",
- "isClosed": true,
- "timesheetsApprovedByClient": true,
- "timesheetApprovalContactIds": [
- "string"
], - "discountDescription": "string",
- "discountPercentage": 0,
- "surchargeDescription": "string",
- "surchargePercentage": 0,
- "useInvoicingScheduleOnProjectLevel": true,
- "isProjectBudgetBasedOnAllocations": true,
- "revenueTypeId": "string",
- "nrOfDeliverables": null,
- "vatTypeId": "string",
- "priceListId": "string",
- "gAccountPercentage": 0,
- "useAlternativeInvoiceAddress": true,
- "invoiceAddress": "string",
- "invoiceAttention": "string",
- "invoiceCity": "string",
- "invoiceCountry": "string",
- "invoiceEmails": [
- "string"
], - "invoiceName": "string",
- "invoiceZipCode": "string",
- "invoiceNotes": "string",
- "hasAllocatedResources": true,
- "isNoAllocationRequired": true,
- "projectTemplateId": "string",
- "templateDeliverables": [
- {
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}
]
}Return an external board connected to a project
| project_id required | string |
{- "id": "string",
- "name": "string",
- "lists": [
- {
- "id": "string",
- "name": "string",
- "cards": [
- {
- "id": "string",
- "name": "string",
- "memberIds": [
- "string"
], - "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "url": "string",
- "desc": "string",
- "comments": [
- {
- "id": "string",
- "name": "string",
- "fullName": "string",
- "avatarUrl": "string",
- "comment": "string",
- "cardId": "string",
- "date": "string"
}
]
}
]
}
], - "members": [
- {
- "id": "string",
- "name": "string",
- "avatarUrl": "string"
}
], - "backgroundImage": "string",
- "url": "string"
}Link an external board to a project
| project_id required | string |
| boardId | string or null |
{- "boardId": "string"
}{- "id": "string",
- "name": "string",
- "lists": [
- {
- "id": "string",
- "name": "string",
- "cards": [
- {
- "id": "string",
- "name": "string",
- "memberIds": [
- "string"
], - "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "url": "string",
- "desc": "string",
- "comments": [
- {
- "id": "string",
- "name": "string",
- "fullName": "string",
- "avatarUrl": "string",
- "comment": "string",
- "cardId": "string",
- "date": "string"
}
]
}
]
}
], - "members": [
- {
- "id": "string",
- "name": "string",
- "avatarUrl": "string"
}
], - "backgroundImage": "string",
- "url": "string"
}UnLink an external board from a project
| project_id required | string |
| boardId | string or null |
{- "boardId": "string"
}{- "id": "string",
- "name": "string",
- "lists": [
- {
- "id": "string",
- "name": "string",
- "cards": [
- {
- "id": "string",
- "name": "string",
- "memberIds": [
- "string"
], - "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "url": "string",
- "desc": "string",
- "comments": [
- {
- "id": "string",
- "name": "string",
- "fullName": "string",
- "avatarUrl": "string",
- "comment": "string",
- "cardId": "string",
- "date": "string"
}
]
}
]
}
], - "members": [
- {
- "id": "string",
- "name": "string",
- "avatarUrl": "string"
}
], - "backgroundImage": "string",
- "url": "string"
}Add an existing board to a project
| project_id required | string |
| name | string or null |
{- "name": "string"
}{- "id": "string",
- "name": "string",
- "lists": [
- {
- "id": "string",
- "name": "string",
- "cards": [
- {
- "id": "string",
- "name": "string",
- "memberIds": [
- "string"
], - "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "url": "string",
- "desc": "string",
- "comments": [
- {
- "id": "string",
- "name": "string",
- "fullName": "string",
- "avatarUrl": "string",
- "comment": "string",
- "cardId": "string",
- "date": "string"
}
]
}
]
}
], - "members": [
- {
- "id": "string",
- "name": "string",
- "avatarUrl": "string"
}
], - "backgroundImage": "string",
- "url": "string"
}Mark a billing period as invoiced
| billing_period_id required | string |
| id | string <id> |
| billingPeriodId | string <id> |
| invoiceAmount | number |
| invoiceDate | string <date> |
| invoiceDesc | string |
| status | string |
object (Options) | |
| canDelete | boolean |
| openingBalance | boolean |
{- "id": "string",
- "billingPeriodId": "string",
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": "string",
- "statusOption": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "canDelete": true,
- "openingBalance": true
}{- "id": "string",
- "billingPeriodId": "string",
- "invoiceAmount": 0,
- "invoiceDate": "2019-08-24",
- "invoiceDesc": "string",
- "status": "string",
- "statusOption": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "canDelete": true,
- "openingBalance": true
}Insert a template for a project
| overwrite | boolean or null |
| projectId | string or null <id> |
{- "overwrite": true,
- "projectId": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Get planning for projects
| year | integer or null Default: 0 |
| weekNr | integer or null Default: 0 |
| groupSize | integer or null Default: 1 |
| cursor | string or null |
| maxResults | integer or null |
| type | string or null Default: "days" |
| projectId | string or null <id> |
| departmentIds | Array of strings or null <id> [ items <id > ] |
| tagIds | Array of strings or null <id> [ items <id > ] |
| statusIds | Array of strings or null <id> [ items <id > ] |
| projectManagerIds | Array of strings or null <id> [ items <id > ] |
| myProjects | boolean or null |
| order | string or null |
{- "year": 0,
- "weekNr": 0,
- "groupSize": 1,
- "cursor": "string",
- "maxResults": 0,
- "type": "days",
- "projectId": "string",
- "departmentIds": [
- "string"
], - "tagIds": [
- "string"
], - "statusIds": [
- "string"
], - "projectManagerIds": [
- "string"
], - "myProjects": true,
- "order": "string"
}{- "order": "string",
- "more": true,
- "pageSize": 1,
- "projects": [
- {
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "weeks": [
- {
- "days": [
- {
- "dayInMonth": 0,
- "availableHours": 0,
- "isTimesheetEntry": true,
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "status": "string",
- "hasSoftBookings": true,
- "hasOpportunityBookings": true,
- "notWorking": true,
- "occupancyPercentage": 0
}
], - "finishDate": "2019-08-24",
- "isTimesheetEntry": true,
- "timesheetId": "string",
- "timeEntrySetId": "string",
- "planningId": "string",
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "startDate": "2019-08-24",
- "status": "string",
- "weekNr": 0,
- "year": 0,
- "notWorking": true,
- "occupancyPercentage": 0,
- "availableHours": 0,
- "hasSoftBookings": true,
- "hasOpportunityBookings": true
}
], - "isSoftBooking": true,
- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}
}
], - "type": "days",
- "cursor": "string"
}{- "projectManagers": [
- {
- "id": "string",
- "name": "string"
}
], - "departments": [
- {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
], - "statuses": [
- {
- "id": "string",
- "name": "string"
}
], - "tagOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Get planning for deliverables of a project
| project_id required | string |
| year | integer or null Default: 0 |
| weekNr | integer or null Default: 0 |
| groupSize | integer or null Default: 1 |
| type | string or null Default: "days" |
| planningOnly | boolean or null |
| timeOffOnly | boolean or null |
| showOpportunityBookings | boolean or null |
{- "year": 0,
- "weekNr": 0,
- "groupSize": 1,
- "type": "days",
- "planningOnly": true,
- "timeOffOnly": true,
- "showOpportunityBookings": true
}{- "deliverables": [
- {
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "weeks": [
- {
- "days": [
- {
- "dayInMonth": 0,
- "availableHours": 0,
- "isTimesheetEntry": true,
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "status": "string",
- "hasSoftBookings": true,
- "hasOpportunityBookings": true,
- "notWorking": true,
- "occupancyPercentage": 0
}
], - "finishDate": "2019-08-24",
- "isTimesheetEntry": true,
- "timesheetId": "string",
- "timeEntrySetId": "string",
- "planningId": "string",
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "startDate": "2019-08-24",
- "status": "string",
- "weekNr": 0,
- "year": 0,
- "notWorking": true,
- "occupancyPercentage": 0,
- "availableHours": 0,
- "hasSoftBookings": true,
- "hasOpportunityBookings": true
}
], - "isSoftBooking": true,
- "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
}
]
}Get planning for tasks of a project
| project_id required | string |
{- "tasks": [
- {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
]
}Get planning for calculated activities and tasks of a deliverable
| deliverable_id required | string |
| year | integer or null Default: 0 |
| weekNr | integer or null Default: 0 |
| groupSize | integer or null Default: 1 |
| type | string or null Default: "days" |
| planningOnly | boolean or null |
| timeOffOnly | boolean or null |
| showOpportunityBookings | boolean or null |
{- "year": 0,
- "weekNr": 0,
- "groupSize": 1,
- "type": "days",
- "planningOnly": true,
- "timeOffOnly": true,
- "showOpportunityBookings": true
}{- "calculatedActivitiesPlanningAndTasks": [
- {
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "weeks": [
- {
- "days": [
- {
- "dayInMonth": 0,
- "availableHours": 0,
- "isTimesheetEntry": true,
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "status": "string",
- "hasSoftBookings": true,
- "hasOpportunityBookings": true,
- "notWorking": true,
- "occupancyPercentage": 0
}
], - "finishDate": "2019-08-24",
- "isTimesheetEntry": true,
- "timesheetId": "string",
- "timeEntrySetId": "string",
- "planningId": "string",
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "startDate": "2019-08-24",
- "status": "string",
- "weekNr": 0,
- "year": 0,
- "notWorking": true,
- "occupancyPercentage": 0,
- "availableHours": 0,
- "hasSoftBookings": true,
- "hasOpportunityBookings": true
}
], - "isSoftBooking": true,
- "calculatedActivity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "allocationsPlanning": [
- {
- "id": "string",
- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": null,
- "amountWithDiscountSurcharge": null,
- "percentage": null,
- "percentageWithDiscountSurcharge": null,
- "hours": null
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": null,
- "amountWithDiscountSurcharge": null,
- "percentage": null,
- "percentageWithDiscountSurcharge": null
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": null,
- "amountWithDiscountSurcharge": null,
- "percentage": null,
- "percentageWithDiscountSurcharge": null
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": null,
- "name": null,
- "code": null,
- "decimals": null,
- "rate": null,
- "symbol": null,
- "isDefault": null,
- "inverse": null,
- "archived": null
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- null
], - "phoneNumbers": [
- null
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "calculatedActivity": {
- "id": "string",
- "name": "string"
}, - "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "isSoftBooking": true,
- "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "calculated": {
- "hours": 0
}, - "actual": {
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "finishDate": "string",
- "startDate": "string",
- "weeks": [
- {
- "days": [
- {
- "dayInMonth": 0,
- "availableHours": 0,
- "isTimesheetEntry": true,
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "status": "string",
- "hasSoftBookings": true,
- "hasOpportunityBookings": true
}
], - "finishDate": "2019-08-24",
- "isTimesheetEntry": true,
- "timesheetId": "string",
- "timeEntrySetId": "string",
- "planningId": "string",
- "plannedHours": 0,
- "plannedOrActualHours": 0,
- "startDate": "2019-08-24",
- "status": "string",
- "weekNr": 0,
- "year": 0
}
], - "tasks": [
- {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": null,
- "type": null
}
], - "phoneNumbers": [
- {
- "phone": null,
- "type": null
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- null
], - "phoneNumbers": [
- null
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": null,
- "type": null
}
], - "phoneNumbers": [
- {
- "phone": null,
- "type": null
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": null,
- "amountWithDiscountSurcharge": null,
- "percentage": null,
- "percentageWithDiscountSurcharge": null,
- "hours": null
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": null,
- "amountWithDiscountSurcharge": null,
- "percentage": null,
- "percentageWithDiscountSurcharge": null
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": null,
- "amountWithDiscountSurcharge": null,
- "percentage": null,
- "percentageWithDiscountSurcharge": null
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": null,
- "name": null,
- "code": null,
- "decimals": null,
- "rate": null,
- "symbol": null,
- "isDefault": null,
- "inverse": null,
- "archived": null
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": null,
- "type": null
}
], - "phoneNumbers": [
- {
- "phone": null,
- "type": null
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": null,
- "name": null
}, - "hoursCalculated": 0,
- "assignees": [
- null
], - "calculationLine": {
- "id": null
}, - "hasCalculationLimit": true
}
]
}
]
}
], - "unassignedTasks": [
- {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- null
], - "phoneNumbers": [
- null
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
]
}
]
}{- "resourceTypeList": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "activityList": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "companyWithDepartmentsList": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "seniorityList": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "skillList": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "skillAndSkillLevelList": [
- {
- "id": "string",
- "name": "string"
}
], - "tagList": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Approve a draft invoice by the draft number
| id | string or null <id> |
| draftNumber | integer or null |
| invoiceDate | string or null <date> The invoice date should not be more than 365 days in the future or past. |
| customInvoiceNumber | string or null A custom invoice number. This can be any alphanumeric string. |
{- "id": "string",
- "draftNumber": 0,
- "invoiceDate": "2019-08-24",
- "customInvoiceNumber": "string"
}{ }Return a list of draft invoices with draft invoice lines
| modifiedAfter | string <date-time> |
| companyCode | string |
| cursor | string <cursor> |
| maxResults | integer |
{- "items": [
- {
- "draftInvoice": {
- "id": "string",
- "draftNumber": "string",
- "customInvoiceNumber": "string",
- "draftDate": "string",
- "fileId": "string",
- "poNumber": "string",
- "totalAmount": 0,
- "lines": [
- {
- "id": "string",
- "description": "string",
- "quantity": 0,
- "originalQuantity": 0,
- "invoiceRemainderLater": true,
- "unitPrice": 0,
- "amount": 0,
- "lineType": "string",
- "deliverableId": "string",
- "manuallyCreated": true,
- "employeeCode": "string",
- "costCenterCode": "string",
- "companyCode": "string",
- "regionCode": "string",
- "itemCode": "string",
- "expensesDate": "2019-08-24",
- "expensesCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "amountInExpensesCurrency": 0,
- "taskTitle": "string"
}
], - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "attachments": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "invoiceType": "string",
- "invoiceDate": "2019-08-24",
- "invoiceDescription": "string",
- "manuallyCreated": true,
- "paymentConditionId": "string",
- "submitted": true,
- "projectId": "string",
- "lastModifiedAt": "string"
}, - "invoiceEmail": "string",
- "departmentName": "string",
- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "symbol": "string",
- "decimals": 0,
- "rate": 0,
- "inverse": true
}, - "department": {
- "id": "string",
- "name": "string"
}
}
], - "nextCursor": "string",
- "more": true
}Pay an Account Payable
| account_payable_id required | string |
| amount | number or null |
| rate | number or null |
{- "amount": 0,
- "rate": 0
}{- "id": "string",
- "amount": 0,
- "outstandingBalance": 0,
- "amountOtherCurrency": 0,
- "outstandingBalanceOtherCurrency": 0,
- "currency": "string",
- "otherCurrency": true,
- "department": "string",
- "type": "string",
- "supplierName": "string",
- "creditorInvoiceNumber": "string",
- "personName": "string",
- "expensesDesc": "string",
- "entityKind": null
}{- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}Return form for accounts payable
| account_payable_id required | string |
{- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}{- "payables": [
- {
- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}
]
}Insert or update accounts payable and purchase invoice
| id | string or null <id> |
| amount | number or null |
| amountOtherCurrency | number or null |
| amountInPaymentSet | number or null |
| amountInPaymentSetOtherCurrency | number or null |
object | |
| creditor_invoice_number | string or null |
object | |
| currency_code | string or null |
Array of objects (Currency) | |
Array of objects (MainEntityBase) | |
object | |
| due_date | string or null <date> |
| ibanAndBicAvailable | boolean or null |
| invoice_date | string or null <date> |
| invoice_number | integer or null |
| note | string or null |
| outstandingBalanceOtherCurrency | number or null |
| outstanding_balance | number or null |
| selectableForPayment | boolean or null |
object | |
object | |
| type | string or null |
Array of objects (AccountsPayableApprovers) | |
object |
{- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}{- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}Return all accounts payable
| account_payable_id required | string |
{- "payables": [
- {
- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}
]
}Insert or update accounts payable and purchase invoice
| account_payable_id required | string |
| id | string or null <id> |
| amount | number or null |
| amountOtherCurrency | number or null |
| amountInPaymentSet | number or null |
| amountInPaymentSetOtherCurrency | number or null |
object | |
| creditor_invoice_number | string or null |
object | |
| currency_code | string or null |
Array of objects (Currency) | |
Array of objects (MainEntityBase) | |
object | |
| due_date | string or null <date> |
| ibanAndBicAvailable | boolean or null |
| invoice_date | string or null <date> |
| invoice_number | integer or null |
| note | string or null |
| outstandingBalanceOtherCurrency | number or null |
| outstanding_balance | number or null |
| selectableForPayment | boolean or null |
object | |
object | |
| type | string or null |
Array of objects (AccountsPayableApprovers) | |
object |
{- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}{- "id": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountInPaymentSet": 0,
- "amountInPaymentSetOtherCurrency": 0,
- "creditor": {
- "id": "string",
- "name": "string"
}, - "creditor_invoice_number": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency_code": "string",
- "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "department_options": [
- {
- "id": "string",
- "name": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "due_date": "2019-08-24",
- "ibanAndBicAvailable": true,
- "invoice_date": "2019-08-24",
- "invoice_number": 0,
- "note": "string",
- "outstandingBalanceOtherCurrency": 0,
- "outstanding_balance": 0,
- "selectableForPayment": true,
- "status": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "status_approval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "type": "string",
- "approvers": [
- {
- "id": "string",
- "comment": "string",
- "date_status_changed": "2019-08-24",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "status": "string"
}
], - "submitter": {
- "id": "string",
- "email": "string",
- "first_name": "string",
- "first_surname": "string",
- "last_name": "string",
- "name": "string",
- "sent_for_approval_date": "2019-08-24"
}
}Pay an Account Payable
| account_receivable_id required | string |
| amount | number or null |
| rate | number or null |
{- "amount": 0,
- "rate": 0
}{- "id": "string",
- "customerName": "string",
- "invoiceNumber": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "outstandingBalance": 0,
- "outstandingBalanceOtherCurrency": 0,
- "currency": "string",
- "otherCurrency": true,
- "department": "string",
- "entityKind": null
}Insert or update a purchase invoice
| id | string or null <id> |
| invoice_number | integer or null |
| invoice_date | string or null <date> |
| due_date | string or null <date> |
| book_entry_number | integer or null |
| posting_date | string or null <date> |
object | |
object | |
object | |
object | |
| inclusiveAmountOtherCurrency | number or null |
| exclusiveAmountOtherCurrency | number or null |
| vatAmountOtherCurrency | number or null |
| secondVatAmountOtherCurrency | number or null |
| vat_distribute | boolean or null |
object | |
object | |
object | |
| different_periods | boolean or null |
| creditor_invoice_number | string or null |
| comment | string or null |
object | |
Array of objects (DriveFile) | |
| period_costs_distribution | integer or null |
object | |
| upload_folder_id | string or null |
object | |
object | |
object |
{- "id": "string",
- "invoice_number": 0,
- "invoice_date": "2019-08-24",
- "due_date": "2019-08-24",
- "book_entry_number": 0,
- "posting_date": "2019-08-24",
- "accounting_year": {
- "id": "string",
- "name": "string"
}, - "accounting_period": {
- "id": "string",
- "name": "string"
}, - "accounting_year_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "accounting_period_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "vat_distribute": true,
- "status": {
- "id": "string",
- "name": "string"
}, - "status_approval": {
- "id": "string",
- "name": "string"
}, - "reject_person": {
- "id": "string",
- "name": "string"
}, - "different_periods": true,
- "creditor_invoice_number": "string",
- "comment": "string",
- "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}, - "files": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "period_costs_distribution": 0,
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}, - "upload_folder_id": "string",
- "supplier": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "invoice_number": 0,
- "invoice_date": "2019-08-24",
- "due_date": "2019-08-24",
- "book_entry_number": 0,
- "posting_date": "2019-08-24",
- "accounting_year": {
- "id": "string",
- "name": "string"
}, - "accounting_period": {
- "id": "string",
- "name": "string"
}, - "accounting_year_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "accounting_period_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "vat_distribute": true,
- "imported": true,
- "status": {
- "id": "string",
- "name": "string"
}, - "status_options": [
- {
- "id": "string",
- "name": "string"
}
], - "statusApproval": {
- "id": "string",
- "name": "string"
}, - "canDelete": true,
- "reject_person": {
- "id": "string",
- "name": "string"
}, - "entries_invoice_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "entries_vat_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "different_periods": true,
- "creditor_invoice_number": "string",
- "comment": "string",
- "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "period_costs_distribution": 0,
- "upload_folder_id": "string",
- "supplier": {
- "id": "string",
- "name": "string"
}, - "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}, - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "department_options": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
]
}Insert or update a purchase invoice
| purchase_invoice_id required | string |
| id | string or null <id> |
| invoice_number | integer or null |
| invoice_date | string or null <date> |
| due_date | string or null <date> |
| book_entry_number | integer or null |
| posting_date | string or null <date> |
object | |
object | |
object | |
object | |
| inclusiveAmountOtherCurrency | number or null |
| exclusiveAmountOtherCurrency | number or null |
| vatAmountOtherCurrency | number or null |
| secondVatAmountOtherCurrency | number or null |
| vat_distribute | boolean or null |
object | |
object | |
object | |
| different_periods | boolean or null |
| creditor_invoice_number | string or null |
| comment | string or null |
object | |
Array of objects (DriveFile) | |
| period_costs_distribution | integer or null |
object | |
| upload_folder_id | string or null |
object | |
object | |
object |
{- "id": "string",
- "invoice_number": 0,
- "invoice_date": "2019-08-24",
- "due_date": "2019-08-24",
- "book_entry_number": 0,
- "posting_date": "2019-08-24",
- "accounting_year": {
- "id": "string",
- "name": "string"
}, - "accounting_period": {
- "id": "string",
- "name": "string"
}, - "accounting_year_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "accounting_period_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "vat_distribute": true,
- "status": {
- "id": "string",
- "name": "string"
}, - "status_approval": {
- "id": "string",
- "name": "string"
}, - "reject_person": {
- "id": "string",
- "name": "string"
}, - "different_periods": true,
- "creditor_invoice_number": "string",
- "comment": "string",
- "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}, - "files": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "period_costs_distribution": 0,
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}, - "upload_folder_id": "string",
- "supplier": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "invoice_number": 0,
- "invoice_date": "2019-08-24",
- "due_date": "2019-08-24",
- "book_entry_number": 0,
- "posting_date": "2019-08-24",
- "accounting_year": {
- "id": "string",
- "name": "string"
}, - "accounting_period": {
- "id": "string",
- "name": "string"
}, - "accounting_year_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "accounting_period_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "vat_distribute": true,
- "imported": true,
- "status": {
- "id": "string",
- "name": "string"
}, - "status_options": [
- {
- "id": "string",
- "name": "string"
}
], - "statusApproval": {
- "id": "string",
- "name": "string"
}, - "canDelete": true,
- "reject_person": {
- "id": "string",
- "name": "string"
}, - "entries_invoice_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "entries_vat_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "different_periods": true,
- "creditor_invoice_number": "string",
- "comment": "string",
- "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "period_costs_distribution": 0,
- "upload_folder_id": "string",
- "supplier": {
- "id": "string",
- "name": "string"
}, - "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}, - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "department_options": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
]
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "invoice_number": 0,
- "invoice_date": "2019-08-24",
- "due_date": "2019-08-24",
- "book_entry_number": 0,
- "posting_date": "2019-08-24",
- "accounting_year": {
- "id": "string",
- "name": "string"
}, - "accounting_period": {
- "id": "string",
- "name": "string"
}, - "accounting_year_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "accounting_period_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "vat_distribute": true,
- "imported": true,
- "status": {
- "id": "string",
- "name": "string"
}, - "status_options": [
- {
- "id": "string",
- "name": "string"
}
], - "statusApproval": {
- "id": "string",
- "name": "string"
}, - "canDelete": true,
- "reject_person": {
- "id": "string",
- "name": "string"
}, - "entries_invoice_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "entries_vat_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "different_periods": true,
- "creditor_invoice_number": "string",
- "comment": "string",
- "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "period_costs_distribution": 0,
- "upload_folder_id": "string",
- "supplier": {
- "id": "string",
- "name": "string"
}, - "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}, - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "department_options": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
]
}Return a purchase invoice form
| purchase_invoice_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "invoice_number": 0,
- "invoice_date": "2019-08-24",
- "due_date": "2019-08-24",
- "book_entry_number": 0,
- "posting_date": "2019-08-24",
- "accounting_year": {
- "id": "string",
- "name": "string"
}, - "accounting_period": {
- "id": "string",
- "name": "string"
}, - "accounting_year_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_period_costs_distribution_options": [
- {
- "id": "string",
- "name": "string"
}
], - "accounting_year_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "accounting_period_costs_distribution": {
- "id": "string",
- "name": "string"
}, - "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "vat_distribute": true,
- "imported": true,
- "status": {
- "id": "string",
- "name": "string"
}, - "status_options": [
- {
- "id": "string",
- "name": "string"
}
], - "statusApproval": {
- "id": "string",
- "name": "string"
}, - "canDelete": true,
- "reject_person": {
- "id": "string",
- "name": "string"
}, - "entries_invoice_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "entries_vat_distribution": [
- {
- "id": "string",
- "amount": 0,
- "salesAmountOtherCurrency": 0,
- "amountOtherCurrency": 0,
- "vatAmountOtherCurrency": 0,
- "secondVatAmountOtherCurrency": 0,
- "inclusiveAmountOtherCurrency": 0,
- "exclusiveAmountOtherCurrency": 0,
- "description": "string",
- "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}
}, - "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "ledger_account": {
- "id": "string",
- "name": "string",
- "ledger_account_number": "string",
- "distribute_to_project": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "department_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "cost_options": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
]
}
], - "different_periods": true,
- "creditor_invoice_number": "string",
- "comment": "string",
- "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "period_costs_distribution": 0,
- "upload_folder_id": "string",
- "supplier": {
- "id": "string",
- "name": "string"
}, - "vat_type": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}, - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "desc": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "secondDesc": "string",
- "different_regulation": true,
- "archived": true,
- "ledger_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "ledger_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_due": {
- "id": "string",
- "name": "string"
}, - "contra_account_vat_payable": {
- "id": "string",
- "name": "string"
}, - "vat_distribution": true,
- "canUseForSales": true,
- "canUseForPurchases": true,
- "translations": {
- "name": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "desc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "secondDesc": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
], - "invoiceText": [
- {
- "languageId": "string",
- "languageName": "string",
- "translation": "string"
}
]
}, - "label": "string"
}
], - "department": {
- "id": "string",
- "name": "string"
}, - "department_options": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
]
}[- {
- "id": "string",
- "invoiceNumber": 0,
- "inclusiveAmountOtherCurrency": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "imported": true,
- "statusApproval": {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}, - "supplier": {
- "id": "string",
- "name": "string"
}, - "purchaseOrder": {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
}
]Search for a purchase invoice
| supplierId | string or null <id> |
| creditorInvoiceNumber | string or null |
{- "supplierId": "string",
- "creditorInvoiceNumber": "string"
}{- "id": "string"
}Return a list of financial transactions
| modifiedAfter | string <date-time> |
| onlyRevenueLedgerAccounts | boolean |
| year | integer |
| period | integer |
| cursor | string <cursor> |
| maxResults | integer |
{- "items": [
- {
- "bookEntry": {
- "id": "string",
- "journal": {
- "id": "string",
- "name": "string",
- "JournalType": "string"
}, - "bookEntryNumber": "string",
- "date": "2019-08-24"
}, - "year": 0,
- "period": 0,
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "ledgerAccount": {
- "id": "string",
- "name": "string",
- "ledgerAccountNumber": "string",
- "accountType": "string",
- "isRevenueLedgerAccount": true
}, - "description": "string",
- "project": {
- "id": "string",
- "name": "string",
- "projectNumber": "string",
- "projectManager": {
- "id": "string",
- "name": "string",
- "employeeCode": "string"
}
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "costCenterCode": "string",
- "companyCode": "string",
- "regionCode": "string"
}, - "customer": {
- "id": "string",
- "name": "string",
- "customerCode": "string"
}, - "amounts_in_invoice_currency": {
- "amountDebit": 0,
- "amountCredit": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "rate": 0
}
}, - "amounts_in_project_local_currency": {
- "amountDebit": 0,
- "amountCredit": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "rate": 0
}
}, - "amounts_in_deliverable_local_currency": {
- "amountDebit": 0,
- "amountCredit": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "rate": 0
}
}, - "amounts_in_base_currency": {
- "amountDebit": 0,
- "amountCredit": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "rate": 0
}
}
}
], - "nextCursor": "string",
- "more": true
}Return an opportunity
| opportunity_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "opportunity": {
- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}, - "config": {
- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}
}, - "stageOptions": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}Update or insert an opportunity
| opportunity_id required | string |
| id | string <id> |
| name | string |
| desc | string |
| organizationId | string <id> |
| contactId | string <id> |
| accountManagerId | string <id> |
| sourceId | string or null <id> |
| typeId | string or null <id> |
| pipelineId | string <id> |
| stageId | string <id> |
| templateProjectId | string or null <id> |
| departmentId | string <id> |
| salesProbability | integer |
| revenue | number |
| recurringRevenue | number or null |
| opportunityCurrencyId | string <id> |
| date | string <date> |
| expectedOrderDate | string <date> |
| startDate | string or null <date> |
| completionDate | string or null <date> |
| revenueTypeId | string <id> |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "organizationId": "string",
- "contactId": "string",
- "accountManagerId": "string",
- "sourceId": "string",
- "typeId": "string",
- "pipelineId": "string",
- "stageId": "string",
- "templateProjectId": "string",
- "departmentId": "string",
- "salesProbability": 0,
- "revenue": 0,
- "recurringRevenue": 0,
- "opportunityCurrencyId": "string",
- "date": "2019-08-24",
- "expectedOrderDate": "2019-08-24",
- "startDate": "2019-08-24",
- "completionDate": "2019-08-24",
- "revenueTypeId": "string"
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Update or insert an opportunity
| id | string <id> |
| name | string |
| desc | string |
| organizationId | string <id> |
| contactId | string <id> |
| accountManagerId | string <id> |
| sourceId | string or null <id> |
| typeId | string or null <id> |
| pipelineId | string <id> |
| stageId | string <id> |
| templateProjectId | string or null <id> |
| departmentId | string <id> |
| salesProbability | integer |
| revenue | number |
| recurringRevenue | number or null |
| opportunityCurrencyId | string <id> |
| date | string <date> |
| expectedOrderDate | string <date> |
| startDate | string or null <date> |
| completionDate | string or null <date> |
| revenueTypeId | string <id> |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "organizationId": "string",
- "contactId": "string",
- "accountManagerId": "string",
- "sourceId": "string",
- "typeId": "string",
- "pipelineId": "string",
- "stageId": "string",
- "templateProjectId": "string",
- "departmentId": "string",
- "salesProbability": 0,
- "revenue": 0,
- "recurringRevenue": 0,
- "opportunityCurrencyId": "string",
- "date": "2019-08-24",
- "expectedOrderDate": "2019-08-24",
- "startDate": "2019-08-24",
- "completionDate": "2019-08-24",
- "revenueTypeId": "string"
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Get an opportunity bookings form
| opportunity_id required | string |
| opportunity_bookings_id required | string |
{- "activityOptions": {
- "id": "string",
- "name": "string"
}, - "seniorityOptions": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "companyWithDepartments": {
- "id": "string",
- "name": "string",
- "countryCode": "string",
- "nestedDepartments": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
}
}Get an opportunity bookings form
| opportunity_id required | string |
{- "activityOptions": {
- "id": "string",
- "name": "string"
}, - "seniorityOptions": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "companyWithDepartments": {
- "id": "string",
- "name": "string",
- "countryCode": "string",
- "nestedDepartments": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
}
}Get a list of opportunity bookings
| opportunity_id required | string |
{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Save opportunity bookings
| opportunity_id required | string |
| activityId | string or null <id> |
| seniorityIds | Array of strings or null <id> [ items <id > ] |
| skillsAndSkillLevelIds | Array of strings or null |
| skillIds | Array of strings or null <id> [ items <id > ] |
| resourceIds | Array of strings or null <id> [ items <id > ] |
| totalFte | number or null |
{- "activityId": "string",
- "seniorityIds": [
- "string"
], - "skillsAndSkillLevelIds": [
- "string"
], - "skillIds": [
- "string"
], - "resourceIds": [
- "string"
], - "totalFte": 0
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Delete opportunity bookings
| opportunity_id required | string |
| opportunity_bookings_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Save opportunity bookings
| opportunity_id required | string |
| opportunity_bookings_id required | string |
| activityId | string or null <id> |
| seniorityIds | Array of strings or null <id> [ items <id > ] |
| skillsAndSkillLevelIds | Array of strings or null |
| skillIds | Array of strings or null <id> [ items <id > ] |
| resourceIds | Array of strings or null <id> [ items <id > ] |
| totalFte | number or null |
{- "activityId": "string",
- "seniorityIds": [
- "string"
], - "skillsAndSkillLevelIds": [
- "string"
], - "skillIds": [
- "string"
], - "resourceIds": [
- "string"
], - "totalFte": 0
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Return an opportunity based on an external_id
| external_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "opportunity": {
- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}, - "config": {
- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}
}, - "stageOptions": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}Return an opportunity team form
| opportunity_id required | string |
{- "id": "string",
- "opportunity": {
- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}, - "employeeOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}Update an opportunity team
| opportunity_id required | string |
| teamIds | Array of strings or null <id> [ items <id > ] |
{- "teamIds": [
- "string"
]
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Return an opportunity form
| opportunity_id required | string |
| organizationId | string or null <id> |
| personId | string or null <id> |
| templateProjectId | string or null <id> |
{- "organizationId": "string",
- "personId": "string",
- "templateProjectId": "string"
}{- "opportunity": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "organizationId": "string",
- "contactId": "string",
- "accountManagerId": "string",
- "sourceId": "string",
- "typeId": "string",
- "pipelineId": "string",
- "stageId": "string",
- "templateProjectId": "string",
- "departmentId": "string",
- "salesProbability": 0,
- "revenue": 0,
- "recurringRevenue": 0,
- "opportunityCurrencyId": "string",
- "date": "2019-08-24",
- "expectedOrderDate": "2019-08-24",
- "startDate": "2019-08-24",
- "completionDate": "2019-08-24",
- "revenueTypeId": "string"
}, - "formConfiguration": {
- "formFields": [
- {
- "name": "string",
- "type": "string"
}
]
}, - "sourceOptions": {
- "id": "string",
- "name": "string"
}, - "typeOptions": {
- "id": "string",
- "name": "string"
}, - "pipelineOptions": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "departmentOptions": {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}, - "accountManagerOptions": {
- "id": "string",
- "name": "string"
}, - "contactOptions": {
- "id": "string",
- "name": "string"
}, - "revenueTypeOptions": {
- "id": "string",
- "name": "string"
}, - "currencyOptions": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "preFilledOpportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "leadPerson": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "departmentId": "string",
- "projectDuration": 0,
- "templateProjectId": "string",
- "sourceId": "string"
}, - "opportunityCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "isImported": true,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Return an opportunity form
| organizationId | string or null <id> |
| personId | string or null <id> |
| templateProjectId | string or null <id> |
{- "organizationId": "string",
- "personId": "string",
- "templateProjectId": "string"
}{- "opportunity": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "organizationId": "string",
- "contactId": "string",
- "accountManagerId": "string",
- "sourceId": "string",
- "typeId": "string",
- "pipelineId": "string",
- "stageId": "string",
- "templateProjectId": "string",
- "departmentId": "string",
- "salesProbability": 0,
- "revenue": 0,
- "recurringRevenue": 0,
- "opportunityCurrencyId": "string",
- "date": "2019-08-24",
- "expectedOrderDate": "2019-08-24",
- "startDate": "2019-08-24",
- "completionDate": "2019-08-24",
- "revenueTypeId": "string"
}, - "formConfiguration": {
- "formFields": [
- {
- "name": "string",
- "type": "string"
}
]
}, - "sourceOptions": {
- "id": "string",
- "name": "string"
}, - "typeOptions": {
- "id": "string",
- "name": "string"
}, - "pipelineOptions": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "departmentOptions": {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}, - "accountManagerOptions": {
- "id": "string",
- "name": "string"
}, - "contactOptions": {
- "id": "string",
- "name": "string"
}, - "revenueTypeOptions": {
- "id": "string",
- "name": "string"
}, - "currencyOptions": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "preFilledOpportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "leadPerson": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "departmentId": "string",
- "projectDuration": 0,
- "templateProjectId": "string",
- "sourceId": "string"
}, - "opportunityCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "isImported": true,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Return a list of opportunities
| maxResults | integer or null |
| cursor | string or null |
| organizationId | string or null <id> |
| projectId | string or null <id> |
{- "maxResults": 0,
- "cursor": "string",
- "organizationId": "string",
- "projectId": "string"
}{- "items": {
- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}, - "nextCursor": "string",
- "more": true,
- "startDate": "2019-08-24",
- "completionDate": "2019-08-24"
}Return a list of organization contacts
| organization_id required | string |
[- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]Insert an organization contact
| organization_id required | string |
| personId | string <id> |
{- "personId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Delete an organization contact
| contact_id required | string |
| organization_id required | string |
{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Return an organization
| organization_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}
}Update or insert an organization
| organization_id required | string |
| id | string <id> |
| name | string |
| desc | string |
string | |
| website | string |
| avatar | string |
| countryCode | string |
| coverImage | string |
| phoneNumber | string |
| marketSegmentId | string <id> |
| sourceId | string <id> |
| companyId | string |
| accountManagerId | string <id> |
| languageId | string <id> |
| isCustomer | boolean |
| isSupplier | boolean |
| paymentConditionId | string <id> |
| vatNumber | string |
| vatTypeId | string <id> |
| useDailyRates | boolean |
| stripeCustomerId | string |
| billingCountryId | string |
| debtorNumber | integer |
| invoiceEmails | Array of strings |
| invoiceAttn | string |
| invoiceCountry | string |
| invoiceAddress | string |
| invoiceCity | string |
| invoiceAddressName | string |
| invoiceZipcode | string |
| levelOfDetailInvoiceLinesId | string |
| combinePdfs | boolean |
| invoiceNotes | string |
| isTimesheetsApprovedByClientDefault | boolean |
| priceListId | string or null <id> |
| placeId | string |
| streetName | string |
| streetNumber | string |
| city | string |
| country | string |
| postalCode | string |
| supplierNumber | string |
| iban | string |
| bic | string |
| uploadedAvatarFileName | string |
| uploadedCoverFileName | string |
| uploadFolderId | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "email": "string",
- "website": "string",
- "avatar": "string",
- "countryCode": "string",
- "coverImage": "string",
- "phoneNumber": "string",
- "marketSegmentId": "string",
- "sourceId": "string",
- "companyId": "string",
- "accountManagerId": "string",
- "languageId": "string",
- "isCustomer": true,
- "isSupplier": true,
- "paymentConditionId": "string",
- "vatNumber": "string",
- "vatTypeId": "string",
- "useDailyRates": true,
- "stripeCustomerId": "string",
- "billingCountryId": "string",
- "debtorNumber": 0,
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceAddress": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "levelOfDetailInvoiceLinesId": "string",
- "combinePdfs": true,
- "invoiceNotes": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "priceListId": "string",
- "placeId": "string",
- "streetName": "string",
- "streetNumber": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "supplierNumber": "string",
- "iban": "string",
- "bic": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "uploadFolderId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Update or insert an organization
| id | string <id> |
| name | string |
| desc | string |
string | |
| website | string |
| avatar | string |
| countryCode | string |
| coverImage | string |
| phoneNumber | string |
| marketSegmentId | string <id> |
| sourceId | string <id> |
| companyId | string |
| accountManagerId | string <id> |
| languageId | string <id> |
| isCustomer | boolean |
| isSupplier | boolean |
| paymentConditionId | string <id> |
| vatNumber | string |
| vatTypeId | string <id> |
| useDailyRates | boolean |
| stripeCustomerId | string |
| billingCountryId | string |
| debtorNumber | integer |
| invoiceEmails | Array of strings |
| invoiceAttn | string |
| invoiceCountry | string |
| invoiceAddress | string |
| invoiceCity | string |
| invoiceAddressName | string |
| invoiceZipcode | string |
| levelOfDetailInvoiceLinesId | string |
| combinePdfs | boolean |
| invoiceNotes | string |
| isTimesheetsApprovedByClientDefault | boolean |
| priceListId | string or null <id> |
| placeId | string |
| streetName | string |
| streetNumber | string |
| city | string |
| country | string |
| postalCode | string |
| supplierNumber | string |
| iban | string |
| bic | string |
| uploadedAvatarFileName | string |
| uploadedCoverFileName | string |
| uploadFolderId | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "email": "string",
- "website": "string",
- "avatar": "string",
- "countryCode": "string",
- "coverImage": "string",
- "phoneNumber": "string",
- "marketSegmentId": "string",
- "sourceId": "string",
- "companyId": "string",
- "accountManagerId": "string",
- "languageId": "string",
- "isCustomer": true,
- "isSupplier": true,
- "paymentConditionId": "string",
- "vatNumber": "string",
- "vatTypeId": "string",
- "useDailyRates": true,
- "stripeCustomerId": "string",
- "billingCountryId": "string",
- "debtorNumber": 0,
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceAddress": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "levelOfDetailInvoiceLinesId": "string",
- "combinePdfs": true,
- "invoiceNotes": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "priceListId": "string",
- "placeId": "string",
- "streetName": "string",
- "streetNumber": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "supplierNumber": "string",
- "iban": "string",
- "bic": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "uploadFolderId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}When supplying a customerCode of an existing organization we perform an update instead of an insert.
| customerCode required | string Customer code |
| name required | string Customer name |
| paymentConditionId | string or null <id> Payment condition |
| vatTypeId | string or null <id> Sales tax code |
| invoiceAddress required | string Address |
| invoiceZipcode required | string Zip code |
| invoiceCity required | string City |
| country required | string Country |
| countryCode required | string Country flag |
| invoiceEmails required | Array of strings Invoicing emails |
{- "customerCode": "string",
- "name": "string",
- "paymentConditionId": "string",
- "vatTypeId": "string",
- "invoiceAddress": "string",
- "invoiceZipcode": "string",
- "invoiceCity": "string",
- "country": "string",
- "countryCode": "string",
- "invoiceEmails": [
- "string"
]
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Return an organization form
| organization_id required | string |
{- "organization": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "email": "string",
- "website": "string",
- "avatar": "string",
- "countryCode": "string",
- "coverImage": "string",
- "phoneNumber": "string",
- "marketSegmentId": "string",
- "sourceId": "string",
- "companyId": "string",
- "accountManagerId": "string",
- "languageId": "string",
- "isCustomer": true,
- "isSupplier": true,
- "paymentConditionId": "string",
- "vatNumber": "string",
- "vatTypeId": "string",
- "useDailyRates": true,
- "stripeCustomerId": "string",
- "billingCountryId": "string",
- "debtorNumber": 0,
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceAddress": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "levelOfDetailInvoiceLinesId": "string",
- "combinePdfs": true,
- "invoiceNotes": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "priceListId": "string",
- "placeId": "string",
- "streetName": "string",
- "streetNumber": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "supplierNumber": "string",
- "iban": "string",
- "bic": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "uploadFolderId": "string"
}, - "accountManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "languageOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "levelOfDetailInvoiceLinesOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "marketSegmentOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "paymentConditionOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "sourceOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "salesVatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "purchasesVatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "priceListOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "countryOptions": [
- {
- "calendarId": "string",
- "name": "string",
- "id": "string",
- "code": "string"
}
], - "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Return an organization team form
| organization_id required | string |
{- "organization": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "email": "string",
- "website": "string",
- "avatar": "string",
- "countryCode": "string",
- "coverImage": "string",
- "phoneNumber": "string",
- "marketSegmentId": "string",
- "sourceId": "string",
- "companyId": "string",
- "accountManagerId": "string",
- "languageId": "string",
- "isCustomer": true,
- "isSupplier": true,
- "paymentConditionId": "string",
- "vatNumber": "string",
- "vatTypeId": "string",
- "useDailyRates": true,
- "stripeCustomerId": "string",
- "billingCountryId": "string",
- "debtorNumber": 0,
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceAddress": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "levelOfDetailInvoiceLinesId": "string",
- "combinePdfs": true,
- "invoiceNotes": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "priceListId": "string",
- "placeId": "string",
- "streetName": "string",
- "streetNumber": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "supplierNumber": "string",
- "iban": "string",
- "bic": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "uploadFolderId": "string"
}, - "personOptions": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "roleOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Delete an organization team member
| team_member_id required | string |
| organization_id required | string |
{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Insert or update an organization team member
| team_member_id required | string |
| organization_id required | string |
| personId | string or null <id> |
| roleId | string or null <id> |
{- "personId": "string",
- "roleId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Insert or update an organization team member
| organization_id required | string |
| personId | string or null <id> |
| roleId | string or null <id> |
{- "personId": "string",
- "roleId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Delete an organization address
| address_id required | string |
| organization_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Insert or update an organization address
| address_id required | string |
| organization_id required | string |
| id | string or null <id> |
| line1 | string or null |
| line2 | string or null |
| line3 | string or null |
| line4 | string or null |
| line5 | string or null |
| typeId | string or null |
{- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "typeId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Insert or update an organization address
| organization_id required | string |
| id | string or null <id> |
| line1 | string or null |
| line2 | string or null |
| line3 | string or null |
| line4 | string or null |
| line5 | string or null |
| typeId | string or null |
{- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "typeId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "organization": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "email": "string",
- "website": "string",
- "avatar": "string",
- "countryCode": "string",
- "coverImage": "string",
- "phoneNumber": "string",
- "marketSegmentId": "string",
- "sourceId": "string",
- "companyId": "string",
- "accountManagerId": "string",
- "languageId": "string",
- "isCustomer": true,
- "isSupplier": true,
- "paymentConditionId": "string",
- "vatNumber": "string",
- "vatTypeId": "string",
- "useDailyRates": true,
- "stripeCustomerId": "string",
- "billingCountryId": "string",
- "debtorNumber": 0,
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceAddress": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "levelOfDetailInvoiceLinesId": "string",
- "combinePdfs": true,
- "invoiceNotes": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "priceListId": "string",
- "placeId": "string",
- "streetName": "string",
- "streetNumber": "string",
- "city": "string",
- "country": "string",
- "postalCode": "string",
- "supplierNumber": "string",
- "iban": "string",
- "bic": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "uploadFolderId": "string"
}, - "accountManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "languageOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "levelOfDetailInvoiceLinesOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "marketSegmentOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "paymentConditionOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "sourceOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "salesVatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "purchasesVatTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "priceListOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "countryOptions": [
- {
- "calendarId": "string",
- "name": "string",
- "id": "string",
- "code": "string"
}
], - "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}
}Return a list of invoices for a customer
| customer_id required | string |
| filter | string or null |
{- "filter": "string"
}{- "context": {
- "canSendReminder": true
}, - "totalInvoicedAmount": 0,
- "totalOutstandingAmount": 0,
- "averageDaysOutstanding": 0,
- "averageDaysPastDueDate": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "invoices": [
- {
- "id": "string",
- "name": "string",
- "amount": 0,
- "amountOtherCurrency": 0,
- "amountDue": 0,
- "amountDueOtherCurrency": 0,
- "daysOutstanding": 0,
- "daysOverdue": 0,
- "isOverdue": true,
- "isPaid": true,
- "isProjectInvoice": true,
- "date": "2019-08-24",
- "dueDate": "2019-08-24",
- "document": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "nrOfRemindersSent": 0,
- "lastReminderDate": "2019-08-24",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "project": {
- "id": "string",
- "name": "string"
}
}
]
}Return a list of organizations to add the contact to
string or null |
{- "email": "string"
}[- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string",
- "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "addressTypes": [
- {
- "id": "string",
- "name": "string"
}
], - "addressInvoice": "string",
- "addresses": [
- {
- "id": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "line4": "string",
- "line5": "string",
- "type": {
- "id": "string",
- "name": "string"
}
}
], - "marketSegment": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "companyId": "string",
- "contacts": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "language": {
- "id": "string",
- "name": "string",
- "isArchived": true,
- "code": "string",
- "createdAt": "string",
- "creditInvoiceHeading": "string",
- "reminderInvoiceHeading": "string",
- "intercompanyInvoiceHeading": "string",
- "isDefault": true,
- "invoiceHeading": "string",
- "lastModifiedAt": "string"
}, - "lastModifiedAt": "string",
- "mailing": "string",
- "invoiceEmails": [
- "string"
], - "invoiceAttn": "string",
- "invoiceCountry": "string",
- "invoiceCity": "string",
- "invoiceAddressName": "string",
- "invoiceZipcode": "string",
- "invoiceNotes": "string",
- "team": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "priceList": {
- "id": "string",
- "name": "string"
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveProjects": 0,
- "nrOfActiveOpportunities": 0,
- "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}
]Sends the request to the client containing the timesheets that need approval
| project_id required | string |
Array of objects (SendRequestForClientApprovalTimesheetEntrySet) | |
| startDate | string or null <date> |
| finishDate | string or null <date> |
| approverIds | Array of strings or null <id> [ items <id > ] |
| message | string or null |
{- "timeEntrySets": [
- {
- "timeEntrySetId": "string",
- "days": [
- {
- "timeEntryIds": [
- "string"
], - "hours": 0
}
]
}
], - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "approverIds": [
- "string"
], - "message": "string"
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Insert or update a person
| id | string <id> |
| name | string |
| firstName | string |
| lastName | string |
string | |
| salutation | string |
| jobTitle | string |
| jobRoleId | string or null <id> |
| address | string |
| city | string |
| postcode | string |
| country | string |
| isEmployee | boolean |
| uploadFolderId | string |
| uploadedAvatarFileName | string |
| uploadedCoverFileName | string |
| avatar | string |
| coverImage | string |
Array of objects (ExtraEmail) | |
Array of objects (PhoneNumber) | |
| sourceId | string or null <id> |
| leadStageId | string or null <id> |
| leadDescription | string |
| isLead | boolean |
| organizationId | string or null <id> |
{- "id": "string",
- "name": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "salutation": "string",
- "jobTitle": "string",
- "jobRoleId": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "uploadFolderId": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "avatar": "string",
- "coverImage": "string",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "sourceId": "string",
- "leadStageId": "string",
- "leadDescription": "string",
- "isLead": true,
- "organizationId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "jobTitle": "string",
- "jobRole": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "leadStage": {
- "id": "string",
- "name": "string"
}, - "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string",
- "organizations": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}
], - "roles": [
- {
- "id": "string",
- "name": "string"
}
], - "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "lastModifiedAt": "string",
- "salutation": "string",
- "skillLevel": {
- "id": "string",
- "name": "string"
}, - "seniority": {
- "id": "string",
- "name": "string"
}, - "isLead": true,
- "leadOpportunityIds": [
- "string"
], - "leadDescription": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveOpportunities": 0,
- "nrOfTotalOpportunities": 0,
- "isAutoSubmitTimeEntriesActive": true,
- "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "jobTitle": "string",
- "jobRole": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "leadStage": {
- "id": "string",
- "name": "string"
}, - "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string",
- "organizations": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}
], - "roles": [
- {
- "id": "string",
- "name": "string"
}
], - "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "lastModifiedAt": "string",
- "salutation": "string",
- "skillLevel": {
- "id": "string",
- "name": "string"
}, - "seniority": {
- "id": "string",
- "name": "string"
}, - "isLead": true,
- "leadOpportunityIds": [
- "string"
], - "leadDescription": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveOpportunities": 0,
- "nrOfTotalOpportunities": 0,
- "isAutoSubmitTimeEntriesActive": true,
- "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}
}Insert or update a person
| person_id required | string |
| id | string <id> |
| name | string |
| firstName | string |
| lastName | string |
string | |
| salutation | string |
| jobTitle | string |
| jobRoleId | string or null <id> |
| address | string |
| city | string |
| postcode | string |
| country | string |
| isEmployee | boolean |
| uploadFolderId | string |
| uploadedAvatarFileName | string |
| uploadedCoverFileName | string |
| avatar | string |
| coverImage | string |
Array of objects (ExtraEmail) | |
Array of objects (PhoneNumber) | |
| sourceId | string or null <id> |
| leadStageId | string or null <id> |
| leadDescription | string |
| isLead | boolean |
| organizationId | string or null <id> |
{- "id": "string",
- "name": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "salutation": "string",
- "jobTitle": "string",
- "jobRoleId": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "uploadFolderId": "string",
- "uploadedAvatarFileName": "string",
- "uploadedCoverFileName": "string",
- "avatar": "string",
- "coverImage": "string",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "sourceId": "string",
- "leadStageId": "string",
- "leadDescription": "string",
- "isLead": true,
- "organizationId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "jobTitle": "string",
- "jobRole": {
- "id": "string",
- "name": "string"
}, - "source": {
- "id": "string",
- "name": "string"
}, - "leadStage": {
- "id": "string",
- "name": "string"
}, - "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string",
- "organizations": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}
], - "roles": [
- {
- "id": "string",
- "name": "string"
}
], - "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "lastModifiedAt": "string",
- "salutation": "string",
- "skillLevel": {
- "id": "string",
- "name": "string"
}, - "seniority": {
- "id": "string",
- "name": "string"
}, - "isLead": true,
- "leadOpportunityIds": [
- "string"
], - "leadDescription": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfActiveOpportunities": 0,
- "nrOfTotalOpportunities": 0,
- "isAutoSubmitTimeEntriesActive": true,
- "tags": [
- {
- "id": "string",
- "name": "string"
}
]
}Submit a quote
| quote_id required | string |
| opportunity_id required | string |
| approverIds | Array of strings or null <id> [ items <id > ] |
{- "approverIds": [
- "string"
]
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Approve a quote by manager
| quote_id required | string |
| opportunity_id required | string |
| eventPerSubscriptionId | string or null <id> |
| comment | string or null |
{- "eventPerSubscriptionId": "string",
- "comment": "string"
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Approve a quote
| quote_id required | string |
| opportunity_id required | string |
| eventPerSubscriptionId | string or null <id> |
| comment | string or null |
{- "eventPerSubscriptionId": "string",
- "comment": "string"
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Reject a quote
| quote_id required | string |
| opportunity_id required | string |
| eventPerSubscriptionId | string or null <id> |
| comment | string or null |
{- "eventPerSubscriptionId": "string",
- "comment": "string"
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Send a quote
| quote_id required | string |
| opportunity_id required | string |
| eventPerSubscriptionId | string or null <id> |
| comment | string or null |
{- "eventPerSubscriptionId": "string",
- "comment": "string"
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Get a quote form
| quote_id required | string |
| opportunity_id required | string |
{- "approverOptions": {
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "selected": true
}, - "quote": {
- "id": "string",
- "name": "string",
- "approvers": {
- "approver": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "comment": "string",
- "dateStatusChanged": "string",
- "status": {
- "id": "string",
- "name": "string"
}
}, - "canDelete": true,
- "entityKind": null,
- "editor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "fileModified": "string",
- "status": {
- "id": "string",
- "name": "string"
}
}
}Delete a quote
| quote_id required | string |
| opportunity_id required | string |
{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Get a quote
| quote_id required | string |
| opportunity_id required | string |
{- "id": "string",
- "name": "string",
- "approvers": {
- "approver": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "comment": "string",
- "dateStatusChanged": "string",
- "status": {
- "id": "string",
- "name": "string"
}
}, - "canDelete": true,
- "entityKind": null,
- "editor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "fileModified": "string",
- "status": {
- "id": "string",
- "name": "string"
}
}{- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}Get the quotes of an opportunity
| opportunity_id required | string |
[- {
- "id": "string",
- "name": "string",
- "approvers": {
- "approver": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "comment": "string",
- "dateStatusChanged": "string",
- "status": {
- "id": "string",
- "name": "string"
}
}, - "canDelete": true,
- "entityKind": null,
- "editor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "fileModified": "string",
- "status": {
- "id": "string",
- "name": "string"
}
}
]Start a new timer
| timesheetEntrySetId | string or null <id> |
| taskId | string or null <id> |
| calculationLineId | string or null <id> |
| issueId | string or null |
| issueKey | string or null |
{- "timesheetEntrySetId": "string",
- "taskId": "string",
- "calculationLineId": "string",
- "issueId": "string",
- "issueKey": "string"
}{- "id": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "entityKind": "string",
- "finishDate": "string",
- "startDate": "string",
- "week": 0,
- "year": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "totalHours": 0,
- "permalink": "string",
- "isOvertimeFullySpecified": true,
- "hasOvertime": true,
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "string",
- "totalHours": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "isSubmitted": true,
- "isPublicHoliday": true,
- "totalOvertimeHours": 0,
- "statusOvertime": {
- "id": "string",
- "name": "string"
}, - "isOvertimeFullySpecified": true
}
], - "activities": [
- {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true
}
], - "calculatedActivityId": "string",
- "calculationLine": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true
}, - "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "reference": "string",
- "useReferencePerDay": true,
- "setId": "string",
- "availableWorkingHours": 0
}
], - "isSubmitted": true,
- "timesheetsLockedUntil": "string",
- "useReferencePerDay": true
}Return a list of timesheets
| cursor | string |
| maxResults | integer |
| personId | string <id> |
{- "timesheets": [
- {
- "id": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "entityKind": "string",
- "finishDate": "string",
- "startDate": "string",
- "week": 0,
- "year": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "totalHours": 0,
- "permalink": "string",
- "isOvertimeFullySpecified": true,
- "hasOvertime": true
}
], - "nextCursor": "string",
- "more": true
}Return a timesheet
| timesheet_id required | string |
{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "timesheet": {
- "id": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "entityKind": "string",
- "finishDate": "string",
- "startDate": "string",
- "week": 0,
- "year": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "totalHours": 0,
- "permalink": "string",
- "isOvertimeFullySpecified": true,
- "hasOvertime": true,
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "string",
- "totalHours": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "isSubmitted": true,
- "isPublicHoliday": true,
- "totalOvertimeHours": 0,
- "statusOvertime": {
- "id": "string",
- "name": "string"
}, - "isOvertimeFullySpecified": true
}
], - "activities": [
- {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true
}
], - "calculatedActivityId": "string",
- "calculationLine": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true
}, - "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "reference": "string",
- "useReferencePerDay": true,
- "setId": "string",
- "availableWorkingHours": 0
}
], - "isSubmitted": true,
- "timesheetsLockedUntil": "string",
- "useReferencePerDay": true
}
}Submits a timesheet
| timesheet_id required | string |
| id | string or null <id> |
| name | string or null |
| date | string or null <date> |
| hours | number or null |
| reference | string or null |
| isSubmitted | boolean or null |
| isPublicHoliday | boolean or null |
[- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "string",
- "isSubmitted": true,
- "isPublicHoliday": true
}
]{- "id": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "entityKind": "string",
- "finishDate": "string",
- "startDate": "string",
- "week": 0,
- "year": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "totalHours": 0,
- "permalink": "string",
- "isOvertimeFullySpecified": true,
- "hasOvertime": true,
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "string",
- "totalHours": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "isSubmitted": true,
- "isPublicHoliday": true,
- "totalOvertimeHours": 0,
- "statusOvertime": {
- "id": "string",
- "name": "string"
}, - "isOvertimeFullySpecified": true
}
], - "activities": [
- {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true
}
], - "calculatedActivityId": "string",
- "calculationLine": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true
}, - "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "reference": "string",
- "useReferencePerDay": true,
- "setId": "string",
- "availableWorkingHours": 0
}
], - "isSubmitted": true,
- "timesheetsLockedUntil": "string",
- "useReferencePerDay": true
}Return a list of time entries for an approval request
| request_id required | string |
{- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": "string",
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string",
- "hasAlternativeInvoiceAddress": true,
- "client": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "canReschedule": true,
- "customer": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "deliverables": [
- {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}
], - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "discountDescription": "string",
- "discountPercentage": 0,
- "evaluationFormId": "string",
- "googleCalendarId": "string",
- "evaluationsDisabled": true,
- "useInvoicingScheduleOnProjectLevel": true,
- "revenueType": {
- "id": "string",
- "name": "string"
}, - "gAccountPercentage": 0,
- "lastModifiedAt": "string",
- "lastActionDatetime": "string",
- "lockTextConfirmation": "string",
- "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfOpportunities": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "opportunityPending": true,
- "opportunity": {
- "id": "string",
- "name": "string"
}, - "orderDate": "string",
- "paymentCondition": {
- "id": "string",
- "name": "string"
}, - "poNumber": "string",
- "preambleConfirmation": "string",
- "progressionMethodFixedPrice": {
- "id": "string",
- "name": "string"
}, - "projectMembers": [
- {
- "id": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "role": {
- "id": "string",
- "name": "string"
}
}
], - "projectStatus": {
- "id": "string",
- "name": "string",
- "code": 0
}, - "surchargeDescription": "string",
- "surchargePercentage": 0,
- "target": "string",
- "useCompletionIndicator": true,
- "schedulePercentage": 0,
- "completePercentage": 0,
- "budgetPercentage": 0,
- "invoiceNotes": "string",
- "tags": [
- {
- "id": "string",
- "name": "string"
}
], - "isProjectBudgetBasedOnAllocations": true
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "approvers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "timeEntrySets": {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true,
- "hoursToApprove": 0
}
], - "calculatedActivityId": "string",
- "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "reference": "string",
- "setId": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "week": 0,
- "year": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "salesAmount": 0,
- "hours": 0,
- "hoursToApprove": 0,
- "salesRate": 0,
- "approvalStatus": "string",
- "availableWorkingHoursForEmployeeOnProject": 0,
- "verifiedBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "verifiedDatetime": "2019-08-24T14:15:22Z",
- "rejectComment": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "verified": true,
- "currentUser": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "customerLogo": "string",
- "customerColor": "string",
- "useWorkingHoursCheck": true
}Submit the timesheets of a month
| year | integer or null |
| month | integer or null |
{- "year": 0,
- "month": 0
}{- "year": 0,
- "month": 0
}Get list of overtime entries
| timesheet_id required | string |
| weekday required | string |
{- "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
], - "overtimeCategoryOptions": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "budgetLeftHours": 0
}
]
}Insert or update an overtime entry
| timesheet_id required | string |
| weekday required | string |
Array of objects (OvertimeEntry) |
{- "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}{- "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
], - "overtimeCategoryOptions": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "budgetLeftHours": 0
}
]
}Return a time-entry set form
| set_id required | string |
| timesheet_id required | string |
| resourceAllocationId | string or null <id> |
| absenceTypeId | string or null <id> |
| issueId | string or null |
{- "resourceAllocationId": "string",
- "absenceTypeId": "string",
- "issueId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "timeEntrySet": {
- "setId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "deliverableId": "string",
- "projectId": "string",
- "taskId": "string",
- "absenceTypeId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "string",
- "isSubmitted": true,
- "isPublicHoliday": true
}
], - "reference": "string",
- "personId": "string",
- "timesheetId": "string",
- "useReferencePerDay": true,
- "issueId": "string",
- "issueKey": "string"
}, - "absenceTypeOptions": [
- {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}
], - "timesheetsLockedUntil": "2019-08-24",
- "timesheetAllocatedHoursCheck": "string",
- "totalHours": 0,
- "workingHours": [
- 0
], - "availableWorkingHours": 0,
- "hasCalculationLimit": true
}Return a time-entry set form
| timesheet_id required | string |
| resourceAllocationId | string or null <id> |
| absenceTypeId | string or null <id> |
| issueId | string or null |
{- "resourceAllocationId": "string",
- "absenceTypeId": "string",
- "issueId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "timeEntrySet": {
- "setId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "deliverableId": "string",
- "projectId": "string",
- "taskId": "string",
- "absenceTypeId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "string",
- "isSubmitted": true,
- "isPublicHoliday": true
}
], - "reference": "string",
- "personId": "string",
- "timesheetId": "string",
- "useReferencePerDay": true,
- "issueId": "string",
- "issueKey": "string"
}, - "absenceTypeOptions": [
- {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}
], - "timesheetsLockedUntil": "2019-08-24",
- "timesheetAllocatedHoursCheck": "string",
- "totalHours": 0,
- "workingHours": [
- 0
], - "availableWorkingHours": 0,
- "hasCalculationLimit": true
}Return a time-entry set based on a year, week, employee and calculation
| week | integer or null |
| year | integer or null |
| employeeId | string or null <id> |
| calculationLineId | string or null <id> |
| issueId | string or null |
{- "week": 0,
- "year": 0,
- "employeeId": "string",
- "calculationLineId": "string",
- "issueId": "string"
}{- "timesheetEntrySetId": "string",
- "timesheetId": "string"
}Reject a set of timesheet entries
| timesheet_submit_set_id required | string |
"string"{- "responseMessage": "string"
}Approve a set of overtime entries
| timesheet_overtime_submit_set_id required | string |
"string"{- "responseMessage": "string"
}Reject a set of overtime entries
| timesheet_overtime_submit_set_id required | string |
"string"{- "responseMessage": "string"
}Approve a set of timesheet entries
| timesheet_submit_set_id required | string |
"string"{- "responseMessage": "string"
}Insert or update a time-entry set
| set_id required | string |
| setId | string or null |
| calculatedActivityId | string or null <id> |
| resourceAllocationId | string or null <id> |
| deliverableId | string or null <id> |
| projectId | string or null <id> |
| taskId | string or null <id> |
| absenceTypeId | string or null <id> |
Array of objects (TimesheetEntryDaySchemaV3) | |
| reference | string or null |
| personId | string or null <id> |
| timesheetId | string or null |
| useReferencePerDay | boolean or null |
| issueId | string or null |
| issueKey | string or null |
{- "setId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "deliverableId": "string",
- "projectId": "string",
- "taskId": "string",
- "absenceTypeId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "string",
- "isSubmitted": true,
- "isPublicHoliday": true
}
], - "reference": "string",
- "personId": "string",
- "timesheetId": "string",
- "useReferencePerDay": true,
- "issueId": "string",
- "issueKey": "string"
}{- "id": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "entityKind": "string",
- "finishDate": "string",
- "startDate": "string",
- "week": 0,
- "year": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "totalHours": 0,
- "permalink": "string",
- "isOvertimeFullySpecified": true,
- "hasOvertime": true,
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "string",
- "totalHours": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "isSubmitted": true,
- "isPublicHoliday": true,
- "totalOvertimeHours": 0,
- "statusOvertime": {
- "id": "string",
- "name": "string"
}, - "isOvertimeFullySpecified": true
}
], - "activities": [
- {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true
}
], - "calculatedActivityId": "string",
- "calculationLine": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true
}, - "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "reference": "string",
- "useReferencePerDay": true,
- "setId": "string",
- "availableWorkingHours": 0
}
], - "isSubmitted": true,
- "timesheetsLockedUntil": "string",
- "useReferencePerDay": true
}Insert or update a time-entry set
| setId | string or null |
| calculatedActivityId | string or null <id> |
| resourceAllocationId | string or null <id> |
| deliverableId | string or null <id> |
| projectId | string or null <id> |
| taskId | string or null <id> |
| absenceTypeId | string or null <id> |
Array of objects (TimesheetEntryDaySchemaV3) | |
| reference | string or null |
| personId | string or null <id> |
| timesheetId | string or null |
| useReferencePerDay | boolean or null |
| issueId | string or null |
| issueKey | string or null |
{- "setId": "string",
- "calculatedActivityId": "string",
- "resourceAllocationId": "string",
- "deliverableId": "string",
- "projectId": "string",
- "taskId": "string",
- "absenceTypeId": "string",
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0,
- "reference": "string",
- "isSubmitted": true,
- "isPublicHoliday": true
}
], - "reference": "string",
- "personId": "string",
- "timesheetId": "string",
- "useReferencePerDay": true,
- "issueId": "string",
- "issueKey": "string"
}{- "id": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "entityKind": "string",
- "finishDate": "string",
- "startDate": "string",
- "week": 0,
- "year": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "totalHours": 0,
- "permalink": "string",
- "isOvertimeFullySpecified": true,
- "hasOvertime": true,
- "days": [
- {
- "id": "string",
- "name": "string",
- "date": "string",
- "totalHours": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "isSubmitted": true,
- "isPublicHoliday": true,
- "totalOvertimeHours": 0,
- "statusOvertime": {
- "id": "string",
- "name": "string"
}, - "isOvertimeFullySpecified": true
}
], - "activities": [
- {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true
}
], - "calculatedActivityId": "string",
- "calculationLine": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true
}, - "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "reference": "string",
- "useReferencePerDay": true,
- "setId": "string",
- "availableWorkingHours": 0
}
], - "isSubmitted": true,
- "timesheetsLockedUntil": "string",
- "useReferencePerDay": true
}Retrieve a list of pending timesheet client approval requests
[- {
- "id": "string",
- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "approvers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "timeEntrySets": {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true,
- "hoursToApprove": 0
}
], - "calculatedActivityId": "string",
- "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "reference": "string",
- "setId": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "week": 0,
- "year": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "salesAmount": 0,
- "hours": 0,
- "hoursToApprove": 0,
- "salesRate": 0,
- "approvalStatus": "string",
- "availableWorkingHoursForEmployeeOnProject": 0,
- "verifiedBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "verifiedDatetime": "2019-08-24T14:15:22Z",
- "rejectComment": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "verified": true,
- "hours": 0,
- "hoursToApprove": 0
}
]Retrieve a single pending timesheet client approval request
| pending_request_id required | string |
{- "id": "string",
- "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "approvers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "timeEntrySets": {
- "resourceAllocation": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "cap": {
- "availableHours": 0,
- "isExceededByTimesheetEntry": true,
- "isActive": true
}, - "deliverableId": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "absenceType": {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "budgetLeftHours": 0
}, - "days": [
- {
- "hours": 0,
- "date": "2019-08-24",
- "name": "string",
- "status": {
- "id": "string",
- "name": "string"
}, - "isFromPlanning": true,
- "reference": "string",
- "timeEntryIds": "string",
- "isPublicHoliday": true,
- "hoursToApprove": 0
}
], - "calculatedActivityId": "string",
- "task": {
- "id": "string",
- "title": "string",
- "description": "string",
- "dueDate": "string",
- "startDate": "string",
- "statusId": "string"
}, - "reference": "string",
- "setId": "string",
- "employee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "week": 0,
- "year": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "salesAmount": 0,
- "hours": 0,
- "hoursToApprove": 0,
- "salesRate": 0,
- "approvalStatus": "string",
- "availableWorkingHoursForEmployeeOnProject": 0,
- "verifiedBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "verifiedDatetime": "2019-08-24T14:15:22Z",
- "rejectComment": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "verified": true,
- "hours": 0,
- "hoursToApprove": 0
}Approve a set of timesheet entries from an approval request by the client
| set_id required | string |
| request_id required | string |
{- "success": true,
- "error": "string",
- "setId": "string"
}Approve a set of timesheet entries from an approval request by the client
| set_id required | string |
| request_id required | string |
| comment | string or null |
{- "comment": "string"
}{- "success": true,
- "error": "string",
- "setId": "string"
}[- {
- "id": "string",
- "name": "string",
- "entityKind": "string",
- "description": "string",
- "type": "string",
- "valueString": "string",
- "valueDate": "2019-08-24",
- "valueFloat": 0,
- "valueBoolean": true,
- "validOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}
]Update custom fields
| entity_id required | string |
| id | string or null <id> |
| name | string or null |
Array of objects (CustomField) |
{- "id": "string",
- "name": "string",
- "customFields": [
- {
- "id": "string",
- "name": "string",
- "entityKind": "string",
- "description": "string",
- "type": "string",
- "valueString": "string",
- "valueDate": "2019-08-24",
- "valueFloat": 0,
- "valueBoolean": true,
- "validOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}
]
}[- {
- "id": "string",
- "name": "string",
- "entityKind": "string",
- "description": "string",
- "type": "string",
- "valueString": "string",
- "valueDate": "2019-08-24",
- "valueFloat": 0,
- "valueBoolean": true,
- "validOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}
][- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]{- "id": "string",
- "name": "string",
- "departments": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "department": {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "notes": "string"
}
], - "rates": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "costRate": 0,
- "salesRate": 0,
- "internalRate": 0,
- "notes": "string"
}
], - "workingHours": [
- {
- "id": "string",
- "date": "2019-08-24",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hoursPerWeekday": [
- 0
], - "notes": "string"
}
], - "billabilityPercentages": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "billabilityPercentage": 100,
- "notes": "string"
}
], - "skills": [
- {
- "id": "string",
- "skill": {
- "id": "string",
- "name": "string"
}, - "skillLevel": {
- "id": "string",
- "name": "string"
}
}
], - "leaveBudgets": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
], - "iban": "string",
- "bic": "string",
- "userType": "string",
- "archived": true,
- "roleIds": [
- "string"
], - "activeDepartmentId": "string",
- "seniorityId": "string",
- "holidayCalendarId": "string",
- "activityIds": [
- "string"
], - "absenceTypeIds": [
- "string"
], - "absenceApprovalId": "string",
- "overtimePolicyId": "string",
- "managerId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "googlePlusId": "string",
- "idProvider": "string",
- "lastLoginDate": "2019-08-24",
- "avatar": "string",
- "isPlaceholder": true,
- "canInsertAndSubmitTimeFromOtherUsers": true,
- "isAutoSubmitTimeEntriesActive": true,
- "fillTimeEntriesFromPlanning": true,
- "showFinancialProjectData": true,
- "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "hasPendingInvite": true,
- "employeeCode": "string",
- "isSupportUser": true,
- "isExternal": true,
- "canChangeContractor": true,
- "userTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "roleOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string",
- "lightUserAllowed": true
}
], - "absenceApprovalOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "absenceTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "seniorityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "managerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "holidayCalendarOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "customFields": [
- {
- "id": "string",
- "name": "string",
- "entityKind": "string",
- "description": "string",
- "type": "string",
- "valueString": "string",
- "valueDate": "2019-08-24",
- "valueFloat": 0,
- "valueBoolean": true,
- "validOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}
], - "overtimePolicyOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Get an employee form
| employee_id required | string |
{- "id": "string",
- "name": "string",
- "departments": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "department": {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "notes": "string"
}
], - "rates": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "costRate": 0,
- "salesRate": 0,
- "internalRate": 0,
- "notes": "string"
}
], - "workingHours": [
- {
- "id": "string",
- "date": "2019-08-24",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hoursPerWeekday": [
- 0
], - "notes": "string"
}
], - "billabilityPercentages": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "billabilityPercentage": 100,
- "notes": "string"
}
], - "skills": [
- {
- "id": "string",
- "skill": {
- "id": "string",
- "name": "string"
}, - "skillLevel": {
- "id": "string",
- "name": "string"
}
}
], - "leaveBudgets": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
], - "iban": "string",
- "bic": "string",
- "userType": "string",
- "archived": true,
- "roleIds": [
- "string"
], - "activeDepartmentId": "string",
- "seniorityId": "string",
- "holidayCalendarId": "string",
- "activityIds": [
- "string"
], - "absenceTypeIds": [
- "string"
], - "absenceApprovalId": "string",
- "overtimePolicyId": "string",
- "managerId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "googlePlusId": "string",
- "idProvider": "string",
- "lastLoginDate": "2019-08-24",
- "avatar": "string",
- "isPlaceholder": true,
- "canInsertAndSubmitTimeFromOtherUsers": true,
- "isAutoSubmitTimeEntriesActive": true,
- "fillTimeEntriesFromPlanning": true,
- "showFinancialProjectData": true,
- "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "hasPendingInvite": true,
- "employeeCode": "string",
- "isSupportUser": true,
- "isExternal": true,
- "canChangeContractor": true,
- "userTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "roleOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string",
- "lightUserAllowed": true
}
], - "absenceApprovalOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "absenceTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
], - "seniorityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "managerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "holidayCalendarOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "customFields": [
- {
- "id": "string",
- "name": "string",
- "entityKind": "string",
- "description": "string",
- "type": "string",
- "valueString": "string",
- "valueDate": "2019-08-24",
- "valueFloat": 0,
- "valueBoolean": true,
- "validOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}
], - "overtimePolicyOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Update or insert an employee
| id | string <id> |
| name | string |
| iban | string |
| bic | string |
| userType | string |
| archived | boolean |
| roleIds | Array of strings |
| activeDepartmentId | string or null <id> |
| seniorityId | string or null <id> |
| holidayCalendarId | string or null <id> |
| activityIds | Array of strings or null <id> [ items <id > ] |
| absenceTypeIds | Array of strings or null <id> [ items <id > ] |
| absenceApprovalId | string |
| overtimePolicyId | string or null <id> |
| managerId | string or null <id> |
| firstName | string |
| lastName | string |
string | |
| googlePlusId | string or null |
| idProvider | string |
| lastLoginDate | string <date> |
| avatar | string or null |
| isPlaceholder | boolean |
| canInsertAndSubmitTimeFromOtherUsers | boolean |
| isAutoSubmitTimeEntriesActive | boolean |
| fillTimeEntriesFromPlanning | boolean |
| showFinancialProjectData | boolean |
Array of objects (PhoneNumber) | |
| hasPendingInvite | boolean |
| employeeCode | string |
{- "id": "string",
- "name": "string",
- "iban": "string",
- "bic": "string",
- "userType": "string",
- "archived": true,
- "roleIds": [
- "string"
], - "activeDepartmentId": "string",
- "seniorityId": "string",
- "holidayCalendarId": "string",
- "activityIds": [
- "string"
], - "absenceTypeIds": [
- "string"
], - "absenceApprovalId": "string",
- "overtimePolicyId": "string",
- "managerId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "googlePlusId": "string",
- "idProvider": "string",
- "lastLoginDate": "2019-08-24",
- "avatar": "string",
- "isPlaceholder": true,
- "canInsertAndSubmitTimeFromOtherUsers": true,
- "isAutoSubmitTimeEntriesActive": true,
- "fillTimeEntriesFromPlanning": true,
- "showFinancialProjectData": true,
- "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "hasPendingInvite": true,
- "employeeCode": "string"
}{- "id": "string",
- "name": "string",
- "departments": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "department": {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "notes": "string"
}
], - "rates": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "costRate": 0,
- "salesRate": 0,
- "internalRate": 0,
- "notes": "string"
}
], - "workingHours": [
- {
- "id": "string",
- "date": "2019-08-24",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hoursPerWeekday": [
- 0
], - "notes": "string"
}
], - "billabilityPercentages": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "billabilityPercentage": 100,
- "notes": "string"
}
], - "skills": [
- {
- "id": "string",
- "skill": {
- "id": "string",
- "name": "string"
}, - "skillLevel": {
- "id": "string",
- "name": "string"
}
}
], - "leaveBudgets": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
], - "iban": "string",
- "bic": "string",
- "userType": "string",
- "archived": true,
- "roleIds": [
- "string"
], - "activeDepartmentId": "string",
- "seniorityId": "string",
- "holidayCalendarId": "string",
- "activityIds": [
- "string"
], - "absenceTypeIds": [
- "string"
], - "absenceApprovalId": "string",
- "overtimePolicyId": "string",
- "managerId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "googlePlusId": "string",
- "idProvider": "string",
- "lastLoginDate": "2019-08-24",
- "avatar": "string",
- "isPlaceholder": true,
- "canInsertAndSubmitTimeFromOtherUsers": true,
- "isAutoSubmitTimeEntriesActive": true,
- "fillTimeEntriesFromPlanning": true,
- "showFinancialProjectData": true,
- "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "hasPendingInvite": true,
- "employeeCode": "string",
- "isSupportUser": true,
- "isExternal": true,
- "canChangeContractor": true
}Update or insert an employee
| employee_id required | string |
| id | string <id> |
| name | string |
| iban | string |
| bic | string |
| userType | string |
| archived | boolean |
| roleIds | Array of strings |
| activeDepartmentId | string or null <id> |
| seniorityId | string or null <id> |
| holidayCalendarId | string or null <id> |
| activityIds | Array of strings or null <id> [ items <id > ] |
| absenceTypeIds | Array of strings or null <id> [ items <id > ] |
| absenceApprovalId | string |
| overtimePolicyId | string or null <id> |
| managerId | string or null <id> |
| firstName | string |
| lastName | string |
string | |
| googlePlusId | string or null |
| idProvider | string |
| lastLoginDate | string <date> |
| avatar | string or null |
| isPlaceholder | boolean |
| canInsertAndSubmitTimeFromOtherUsers | boolean |
| isAutoSubmitTimeEntriesActive | boolean |
| fillTimeEntriesFromPlanning | boolean |
| showFinancialProjectData | boolean |
Array of objects (PhoneNumber) | |
| hasPendingInvite | boolean |
| employeeCode | string |
{- "id": "string",
- "name": "string",
- "iban": "string",
- "bic": "string",
- "userType": "string",
- "archived": true,
- "roleIds": [
- "string"
], - "activeDepartmentId": "string",
- "seniorityId": "string",
- "holidayCalendarId": "string",
- "activityIds": [
- "string"
], - "absenceTypeIds": [
- "string"
], - "absenceApprovalId": "string",
- "overtimePolicyId": "string",
- "managerId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "googlePlusId": "string",
- "idProvider": "string",
- "lastLoginDate": "2019-08-24",
- "avatar": "string",
- "isPlaceholder": true,
- "canInsertAndSubmitTimeFromOtherUsers": true,
- "isAutoSubmitTimeEntriesActive": true,
- "fillTimeEntriesFromPlanning": true,
- "showFinancialProjectData": true,
- "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "hasPendingInvite": true,
- "employeeCode": "string"
}{- "id": "string",
- "name": "string",
- "departments": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "department": {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}, - "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "notes": "string"
}
], - "rates": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "costRate": 0,
- "salesRate": 0,
- "internalRate": 0,
- "notes": "string"
}
], - "workingHours": [
- {
- "id": "string",
- "date": "2019-08-24",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hoursPerWeekday": [
- 0
], - "notes": "string"
}
], - "billabilityPercentages": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "billabilityPercentage": 100,
- "notes": "string"
}
], - "skills": [
- {
- "id": "string",
- "skill": {
- "id": "string",
- "name": "string"
}, - "skillLevel": {
- "id": "string",
- "name": "string"
}
}
], - "leaveBudgets": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
], - "iban": "string",
- "bic": "string",
- "userType": "string",
- "archived": true,
- "roleIds": [
- "string"
], - "activeDepartmentId": "string",
- "seniorityId": "string",
- "holidayCalendarId": "string",
- "activityIds": [
- "string"
], - "absenceTypeIds": [
- "string"
], - "absenceApprovalId": "string",
- "overtimePolicyId": "string",
- "managerId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "googlePlusId": "string",
- "idProvider": "string",
- "lastLoginDate": "2019-08-24",
- "avatar": "string",
- "isPlaceholder": true,
- "canInsertAndSubmitTimeFromOtherUsers": true,
- "isAutoSubmitTimeEntriesActive": true,
- "fillTimeEntriesFromPlanning": true,
- "showFinancialProjectData": true,
- "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "hasPendingInvite": true,
- "employeeCode": "string",
- "isSupportUser": true,
- "isExternal": true,
- "canChangeContractor": true
}Update or insert an employee leave budget
| employee_id required | string |
| id | string <id> |
| startDate required | string <date> |
| finishDate required | string <date> |
| icon required | string |
| name required | string |
| absenceTypeId required | string <id> |
| startBudgetHours required | number |
| allowOvertime required | boolean |
| allowExceedingBudget required | boolean |
| note required | string |
{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "absenceTypeId": "string",
- "startBudgetHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "note": "string"
}{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}Get the form of an employee leave budget
| employee_id required | string |
{- "id": "string",
- "employeeLeaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "absenceTypeId": "string",
- "startBudgetHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "note": "string"
}, - "absenceTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Delete an employee leave budget
| employee_leave_budget_id required | string |
| employee_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Update or insert an employee leave budget
| employee_leave_budget_id required | string |
| employee_id required | string |
| id | string <id> |
| startDate required | string <date> |
| finishDate required | string <date> |
| icon required | string |
| name required | string |
| absenceTypeId required | string <id> |
| startBudgetHours required | number |
| allowOvertime required | boolean |
| allowExceedingBudget required | boolean |
| note required | string |
{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "absenceTypeId": "string",
- "startBudgetHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "note": "string"
}{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}Get the form of an employee leave budget
| employee_leave_budget_id required | string |
| employee_id required | string |
{- "id": "string",
- "employeeLeaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "absenceTypeId": "string",
- "startBudgetHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "note": "string"
}, - "absenceTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Get a list of employee leave budgets
| employee_id required | string |
{- "leaveBudgets": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
}Get a list of employee leave requests
| employee_id required | string |
{- "pendingLeaveRequests": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}, - "desc": "string",
- "status": "string",
- "reasonForRejection": "string",
- "rejectedByPerson": {
- "id": "string",
- "name": "string"
}, - "approvedByPerson": {
- "id": "string",
- "name": "string"
}, - "dateTimeOfStatusChange": "2019-08-24T14:15:22Z",
- "requestedHours": 0,
- "requestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "canApproveAndReject": true,
- "canRevoke": true
}
], - "approvedLeaveRequests": [
- {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}, - "desc": "string",
- "status": "string",
- "reasonForRejection": "string",
- "rejectedByPerson": {
- "id": "string",
- "name": "string"
}, - "approvedByPerson": {
- "id": "string",
- "name": "string"
}, - "dateTimeOfStatusChange": "2019-08-24T14:15:22Z",
- "requestedHours": 0,
- "requestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "canApproveAndReject": true,
- "canRevoke": true
}
]
}Get the total requested hours of a period of an employee
| employee_id required | string |
| id | string <id> |
| startDate required | string <date> |
| finishDate required | string <date> |
{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24"
}{- "id": "string",
- "desc": "string",
- "status": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "requestedHours": 0,
- "budgetLeftExRequested": 0,
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
}Update or insert an employee leave request
| employee_leave_budget_id required | string |
| id | string <id> |
| desc | string |
| startDate required | string <date> |
| finishDate required | string <date> |
| hours required | number |
{- "id": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hours": 0
}{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}, - "desc": "string",
- "status": "string",
- "reasonForRejection": "string",
- "rejectedByPerson": {
- "id": "string",
- "name": "string"
}, - "approvedByPerson": {
- "id": "string",
- "name": "string"
}, - "dateTimeOfStatusChange": "2019-08-24T14:15:22Z",
- "requestedHours": 0,
- "requestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "canApproveAndReject": true,
- "canRevoke": true
}Get the form of an employee leave request
| employee_leave_budget_id required | string |
{- "id": "string",
- "desc": "string",
- "status": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "requestedHours": 0,
- "budgetLeftExRequested": 0,
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
}Delete an employee leave request
| employee_leave_budget_id required | string |
| employee_leave_request_id required | string |
{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Update or insert an employee leave request
| employee_leave_budget_id required | string |
| employee_leave_request_id required | string |
| id | string <id> |
| desc | string |
| startDate required | string <date> |
| finishDate required | string <date> |
| hours required | number |
{- "id": "string",
- "desc": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hours": 0
}{- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}, - "desc": "string",
- "status": "string",
- "reasonForRejection": "string",
- "rejectedByPerson": {
- "id": "string",
- "name": "string"
}, - "approvedByPerson": {
- "id": "string",
- "name": "string"
}, - "dateTimeOfStatusChange": "2019-08-24T14:15:22Z",
- "requestedHours": 0,
- "requestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "canApproveAndReject": true,
- "canRevoke": true
}Get the form of an employee leave request
| employee_leave_budget_id required | string |
| employee_leave_request_id required | string |
{- "id": "string",
- "desc": "string",
- "status": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "requestedHours": 0,
- "budgetLeftExRequested": 0,
- "leaveBudget": {
- "id": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "icon": "string",
- "name": "string",
- "employee": {
- "id": "string",
- "name": "string"
}, - "absenceType": {
- "id": "string",
- "name": "string"
}, - "startBudgetHours": 0,
- "takenLeaveHours": 0,
- "plannedLeaveHours": 0,
- "pendingRequestsHours": 0,
- "budgetLeftHours": 0,
- "overtimeHours": 0,
- "allowOvertime": true,
- "allowExceedingBudget": true,
- "takenLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "plannedLeaveDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "pendingRequestedDateHours": [
- {
- "id": "string",
- "name": "string",
- "date": "2019-08-24",
- "hours": 0
}
], - "overtimeEntries": [
- {
- "id": "string",
- "hours": 0,
- "overtimeCategoryId": "string",
- "reference": "string",
- "status": "string",
- "date": "2019-08-24"
}
]
}
}Reject an employee leave request
| leave_request_id required | string |
"string"{- "responseMessage": "string"
}Update or insert an employee skill
| employee_id required | string |
| id | string or null <id> |
| skillId | string or null <id> |
| skillLevelId | string or null <id> |
{- "id": "string",
- "skillId": "string",
- "skillLevelId": "string"
}{- "id": "string",
- "skill": {
- "id": "string",
- "name": "string"
}, - "skillLevel": {
- "id": "string",
- "name": "string"
}
}Get the form of an employee skill
| employee_id required | string |
{- "id": "string",
- "employeeSkill": {
- "id": "string",
- "skillId": "string",
- "skillLevelId": "string"
}, - "skillLevelOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Update or insert an employee skill
| employee_skill_id required | string |
| employee_id required | string |
| id | string or null <id> |
| skillId | string or null <id> |
| skillLevelId | string or null <id> |
{- "id": "string",
- "skillId": "string",
- "skillLevelId": "string"
}{- "id": "string",
- "skill": {
- "id": "string",
- "name": "string"
}, - "skillLevel": {
- "id": "string",
- "name": "string"
}
}Get the form of an employee skill
| employee_skill_id required | string |
| employee_id required | string |
{- "id": "string",
- "employeeSkill": {
- "id": "string",
- "skillId": "string",
- "skillLevelId": "string"
}, - "skillLevelOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Return the expenses form
| expenses_id required | string |
{- "expenses": {
- "id": "string",
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "date": "2019-08-24",
- "amount": 0,
- "currencyId": "string",
- "expensesTypeId": "string",
- "desc": "string",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "salesAmount": 0,
- "personId": "string",
- "projectId": "string",
- "statusId": "string",
- "vatTypeId": "string",
- "costId": "string",
- "deliverableId": "string",
- "reimburse": true,
- "folderId": "string"
}, - "uploadFolderId": "string",
- "deliverableOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "expensesTypeOptions": [
- {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}
], - "projectOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "secondPercentage": 0
}
], - "driveIntegrationEnabled": true,
- "specifySalesTax": true,
- "verificationBySupportStaff": true
}Approve expenses
| expenses_id required | string |
"string"{- "responseMessage": "string"
}Reject expenses
| expenses_id required | string |
"string"{- "responseMessage": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "expenses": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "amount": 0,
- "comment": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "string",
- "desc": "string",
- "entityKind": "string",
- "permalink": "string",
- "folderId": "string",
- "expensesType": {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}, - "numberOfFiles": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reimburse": true,
- "netAmountProjectLocalCurrency": 0,
- "salesAmount": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "reimbursedDate": "2019-08-24",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "vatType": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "personReject": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}
}Update or insert expenses
| expenses_id required | string |
| id | string or null <id> |
object | |
| date | string or null <date> |
| amount | number or null |
| currencyId | string or null <id> |
| expensesTypeId | string or null <id> |
| desc | string or null |
| vatAmount | number or null |
| secondVatAmount | number or null |
| salesAmount | number or null |
| personId | string or null <id> |
| projectId | string or null <id> |
| statusId | string or null |
| vatTypeId | string or null <id> |
| costId | string or null <id> |
| deliverableId | string or null <id> |
| reimburse | boolean or null |
| folderId | string or null |
| uploadFolderId | string or null |
{- "id": "string",
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "date": "2019-08-24",
- "amount": 0,
- "currencyId": "string",
- "expensesTypeId": "string",
- "desc": "string",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "salesAmount": 0,
- "personId": "string",
- "projectId": "string",
- "statusId": "string",
- "vatTypeId": "string",
- "costId": "string",
- "deliverableId": "string",
- "reimburse": true,
- "folderId": "string",
- "uploadFolderId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "amount": 0,
- "comment": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "string",
- "desc": "string",
- "entityKind": "string",
- "permalink": "string",
- "folderId": "string",
- "expensesType": {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}, - "numberOfFiles": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reimburse": true,
- "netAmountProjectLocalCurrency": 0,
- "salesAmount": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "reimbursedDate": "2019-08-24",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "vatType": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "personReject": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}Return the expenses list
| cursor | string or null |
| maxResults | integer or null |
| status | string or null |
{- "cursor": "string",
- "maxResults": 0,
- "status": "string"
}{- "items": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "amount": 0,
- "comment": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "string",
- "desc": "string",
- "entityKind": "string",
- "permalink": "string",
- "folderId": "string",
- "expensesType": {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}, - "numberOfFiles": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reimburse": true,
- "netAmountProjectLocalCurrency": 0,
- "salesAmount": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "reimbursedDate": "2019-08-24",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "vatType": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "personReject": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}
], - "cursor": "string",
- "more": true,
- "statusOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}{- "expenses": {
- "id": "string",
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "date": "2019-08-24",
- "amount": 0,
- "currencyId": "string",
- "expensesTypeId": "string",
- "desc": "string",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "salesAmount": 0,
- "personId": "string",
- "projectId": "string",
- "statusId": "string",
- "vatTypeId": "string",
- "costId": "string",
- "deliverableId": "string",
- "reimburse": true,
- "folderId": "string"
}, - "uploadFolderId": "string",
- "deliverableOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "expensesTypeOptions": [
- {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}
], - "projectOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "vatTypeOptions": [
- {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "secondPercentage": 0
}
], - "driveIntegrationEnabled": true,
- "specifySalesTax": true,
- "verificationBySupportStaff": true
}Update or insert expenses
| id | string or null <id> |
object | |
| date | string or null <date> |
| amount | number or null |
| currencyId | string or null <id> |
| expensesTypeId | string or null <id> |
| desc | string or null |
| vatAmount | number or null |
| secondVatAmount | number or null |
| salesAmount | number or null |
| personId | string or null <id> |
| projectId | string or null <id> |
| statusId | string or null |
| vatTypeId | string or null <id> |
| costId | string or null <id> |
| deliverableId | string or null <id> |
| reimburse | boolean or null |
| folderId | string or null |
| uploadFolderId | string or null |
{- "id": "string",
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}, - "date": "2019-08-24",
- "amount": 0,
- "currencyId": "string",
- "expensesTypeId": "string",
- "desc": "string",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "salesAmount": 0,
- "personId": "string",
- "projectId": "string",
- "statusId": "string",
- "vatTypeId": "string",
- "costId": "string",
- "deliverableId": "string",
- "reimburse": true,
- "folderId": "string",
- "uploadFolderId": "string"
}{- "id": "string",
- "name": "string",
- "avatar": "string",
- "amount": 0,
- "comment": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "string",
- "desc": "string",
- "entityKind": "string",
- "permalink": "string",
- "folderId": "string",
- "expensesType": {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}, - "numberOfFiles": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reimburse": true,
- "netAmountProjectLocalCurrency": 0,
- "salesAmount": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "reimbursedDate": "2019-08-24",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "vatType": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "personReject": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}Verify expenses
| expenses_id required | string |
| id | string |
| name | string |
| verified required | boolean |
{- "id": "string",
- "name": "string",
- "verified": true
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}{- "expenses": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "isFavorite": true,
- "folderId": "string",
- "amount": 0,
- "amountFormatted": "string",
- "comment": "string",
- "cost": {
- "id": "string",
- "name": "string"
}, - "cost_id": "string",
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "2019-08-24",
- "dateFormatted": "string",
- "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_id": "string",
- "desc": "string",
- "details": {
- "amount": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "symbol": "string",
- "decimals": 0,
- "rate": 0,
- "inverse": true
}, - "description": "string",
- "date": "2019-08-24"
}, - "entityName": "string",
- "expenses_type": {
- "id": "string",
- "name": "string",
- "distribute_to_project": true
}, - "expenses_type_id": "string",
- "follow": true,
- "google_customer_domain": "string",
- "is_verifier": true,
- "number_of_files": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "person_id": "string",
- "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string",
- "avatar": "string"
}, - "project_id": "string",
- "reimburse": true,
- "reject_person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reject_person_id": "string",
- "salesAmount": 0,
- "status": {
- "id": "string",
- "label": "string"
}, - "vat_amount": 0,
- "second_vat_amount": 0,
- "vat_type": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "vat_type_id": "string",
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
}, - "expenses_type_options": [
- {
- "id": "string",
- "name": "string",
- "distribute_to_project": true
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "different_regulation": true
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "projectOptions": [
- {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}
], - "deliverableOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "upload_folder_id": "string",
- "is_verifier": true,
- "manager_found": true,
- "message": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department_name": "string",
- "folderId": "string"
}Get expenses with the form options
| expenses_id required | string |
{- "expenses": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "isFavorite": true,
- "folderId": "string",
- "amount": 0,
- "amountFormatted": "string",
- "comment": "string",
- "cost": {
- "id": "string",
- "name": "string"
}, - "cost_id": "string",
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "2019-08-24",
- "dateFormatted": "string",
- "deliverable": {
- "id": "string",
- "name": "string"
}, - "deliverable_id": "string",
- "desc": "string",
- "details": {
- "amount": 0,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "symbol": "string",
- "decimals": 0,
- "rate": 0,
- "inverse": true
}, - "description": "string",
- "date": "2019-08-24"
}, - "entityName": "string",
- "expenses_type": {
- "id": "string",
- "name": "string",
- "distribute_to_project": true
}, - "expenses_type_id": "string",
- "follow": true,
- "google_customer_domain": "string",
- "is_verifier": true,
- "number_of_files": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "person_id": "string",
- "project": {
- "id": "string",
- "name": "string",
- "organizationName": "string",
- "avatar": "string"
}, - "project_id": "string",
- "reimburse": true,
- "reject_person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reject_person_id": "string",
- "salesAmount": 0,
- "status": {
- "id": "string",
- "label": "string"
}, - "vat_amount": 0,
- "second_vat_amount": 0,
- "vat_type": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "vat_type_id": "string",
- "file": {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
}, - "expenses_type_options": [
- {
- "id": "string",
- "name": "string",
- "distribute_to_project": true
}
], - "vat_type_options": [
- {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "secondPercentage": 0,
- "different_regulation": true
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "projectOptions": [
- {
- "id": "string",
- "name": "string",
- "organizationName": "string"
}
], - "deliverableOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "upload_folder_id": "string",
- "is_verifier": true,
- "manager_found": true,
- "message": "string",
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department_name": "string",
- "folderId": "string"
}{- "items": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "amount": 0,
- "comment": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "date": "string",
- "desc": "string",
- "entityKind": "string",
- "permalink": "string",
- "folderId": "string",
- "expensesType": {
- "id": "string",
- "name": "string",
- "distributeToProject": true,
- "costId": "string"
}, - "numberOfFiles": 0,
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "reimburse": true,
- "netAmountProjectLocalCurrency": 0,
- "salesAmount": 0,
- "status": {
- "id": "string",
- "name": "string"
}, - "reimbursedDate": "2019-08-24",
- "vatAmount": 0,
- "secondVatAmount": 0,
- "vatType": {
- "id": "string",
- "name": "string",
- "percentage": 0,
- "differentRegulation": true
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "personReject": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}
], - "cursor": "string",
- "more": true,
- "statusOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Update or insert a board
| name | string or null |
| desc | string or null |
| coverImage | string or null |
{- "name": "string",
- "desc": "string",
- "coverImage": "string"
}{- "id": "string",
- "name": "string",
- "coverImage": "string",
- "coverImageSmall": "string",
- "desc": "string",
- "lastUpdated": "2019-08-24",
- "entityKind": "string",
- "permalink": "string",
- "actions": [
- {
- "label": "string",
- "type": "string"
}
], - "folderId": "string",
- "sharedWithPersons": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "isArchived": true,
- "isOwner": true,
- "nrOfFiles": 0,
- "owner": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "board": {
- "id": "string",
- "name": "string",
- "coverImage": "string",
- "coverImageSmall": "string",
- "desc": "string",
- "lastUpdated": "2019-08-24",
- "entityKind": "string",
- "permalink": "string",
- "actions": [
- {
- "label": "string",
- "type": "string"
}
], - "folderId": "string",
- "sharedWithPersons": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "isArchived": true,
- "isOwner": true,
- "nrOfFiles": 0,
- "owner": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}
}Update or insert a board
| board_id required | string |
| name | string or null |
| desc | string or null |
| coverImage | string or null |
{- "name": "string",
- "desc": "string",
- "coverImage": "string"
}{- "id": "string",
- "name": "string",
- "coverImage": "string",
- "coverImageSmall": "string",
- "desc": "string",
- "lastUpdated": "2019-08-24",
- "entityKind": "string",
- "permalink": "string",
- "actions": [
- {
- "label": "string",
- "type": "string"
}
], - "folderId": "string",
- "sharedWithPersons": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "isArchived": true,
- "isOwner": true,
- "nrOfFiles": 0,
- "owner": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}Add a custom board item
| board_id required | string |
| title | string or null |
| desc | string or null |
| source | string or null |
{- "title": "string",
- "desc": "string",
- "source": "string"
}{- "id": "string",
- "title": "string",
- "entityKind": null,
- "desc": "string",
- "source": "string"
}Add a custom board item
| custom_board_item_id required | string |
| board_id required | string |
| title | string or null |
| desc | string or null |
| source | string or null |
{- "title": "string",
- "desc": "string",
- "source": "string"
}{- "id": "string",
- "title": "string",
- "entityKind": null,
- "desc": "string",
- "source": "string"
}Return board items in a paged list
| board_id required | string |
| cursor | integer or null |
| maxResults | integer or null |
{- "cursor": 0,
- "maxResults": 0
}{- "items": [
- {
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "entity": null,
- "options": {
- "departmentIds": [
- "string"
], - "customerIds": [
- "string"
], - "revenueTypeIds": [
- "string"
], - "skillLevelIds": [
- "string"
], - "seniorityIds": [
- "string"
], - "activityIds": [
- "string"
], - "tagIds": [
- "string"
], - "skillIds": [
- "string"
], - "skillAndSkillLevelIds": [
- "string"
], - "accountManagerIds": [
- "string"
], - "projectManagerIds": [
- "string"
], - "projectStatusIds": [
- "string"
], - "select": "string",
- "selectedResourceFilter": "string",
- "selectedYears": "string",
- "period": "string",
- "sortOrder": "string",
- "sortField": "string",
- "ytd": true,
- "valueType": "string",
- "units": "string",
- "scale": "string",
- "yoy": true,
- "showForecast": true,
- "showWeightedPipeline": true,
- "minimalSalesProbability": 0,
- "useLocalCurrency": true,
- "metaCompanyId": "string",
- "pipelineId": "string",
- "dimension": "string"
}
}
], - "nextCursor": 0,
- "more": true
}Pin an entity to a board
| entity_id required | string |
| board_id required | string |
object |
{- "options": {
- "departmentIds": [
- "string"
], - "customerIds": [
- "string"
], - "revenueTypeIds": [
- "string"
], - "skillLevelIds": [
- "string"
], - "seniorityIds": [
- "string"
], - "activityIds": [
- "string"
], - "tagIds": [
- "string"
], - "skillIds": [
- "string"
], - "skillAndSkillLevelIds": [
- "string"
], - "accountManagerIds": [
- "string"
], - "projectManagerIds": [
- "string"
], - "projectStatusIds": [
- "string"
], - "select": "string",
- "selectedResourceFilter": "string",
- "selectedYears": "string",
- "period": "string",
- "sortOrder": "string",
- "sortField": "string",
- "ytd": true,
- "valueType": "string",
- "units": "string",
- "scale": "string",
- "yoy": true,
- "showForecast": true,
- "showWeightedPipeline": true,
- "minimalSalesProbability": 0,
- "useLocalCurrency": true,
- "metaCompanyId": "string",
- "pipelineId": "string",
- "dimension": "string"
}
}{- "message": "string",
- "error_messages": "string",
- "error": {
- "code": 0,
- "message": "string",
- "error_code": "string"
}
}Return board items in a paged list
| type | string or null |
| cursor | string or null |
| maxResults | integer or null |
{- "type": "string",
- "cursor": "string",
- "maxResults": 0
}{- "items": [
- {
- "id": "string",
- "name": "string",
- "coverImage": "string",
- "coverImageSmall": "string",
- "desc": "string",
- "lastUpdated": "2019-08-24",
- "entityKind": "string",
- "permalink": "string",
- "actions": [
- {
- "label": "string",
- "type": "string"
}
], - "folderId": "string",
- "sharedWithPersons": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "isArchived": true,
- "isOwner": true,
- "nrOfFiles": 0,
- "owner": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
}
], - "nextCursor": "string",
- "more": true
}Return board items for pinning the chart
| entityId | string or null <id> |
{- "entityId": "string"
}{- "items": [
- {
- "id": "string",
- "name": "string",
- "coverImage": "string",
- "coverImageSmall": "string",
- "desc": "string",
- "lastUpdated": "2019-08-24",
- "entityKind": null,
- "permalink": "string",
- "isPinned": true
}
]
}Return a list containing the charts
| cursor | integer or null |
| maxResults | integer or null |
{- "cursor": 0,
- "maxResults": 0
}{- "metaCompanyOptions": [
- {
- "id": "string",
- "name": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "countryCode": "string",
- "departments": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}
], - "nextCursor": 0,
- "more": true,
- "items": [
- {
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "chart": {
- "id": "string",
- "title": "string",
- "entityKind": "string",
- "type": "string",
- "data": null,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "filters": {
- "opportunityStageOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "accountManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectStatusOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
], - "customerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "resourceFilterOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "seniorityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "tagOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "skillAndSkillLevelOptions": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "sortOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "sortOrder": "string",
- "pipelineOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "config": {
- "kind": "string",
- "showTotals": true,
- "snapshot": true,
- "periodSetting": "string",
- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}, - "marginTarget": 0,
- "showActualMargin": true
}
}
}
]
}Return the sales pipeline progression chart
| chart_id required | string |
| selectedDepartmentIds | Array of strings or null <id> [ items <id > ] |
| selectedCustomerIds | Array of strings or null <id> [ items <id > ] |
| selectedRevenueTypeIds | Array of strings or null <id> [ items <id > ] |
| selectedAccountManagerIds | Array of strings or null <id> [ items <id > ] |
| selectedProjectManagerIds | Array of strings or null <id> [ items <id > ] |
| selectedProjectStatusIds | Array of strings or null <id> [ items <id > ] |
| selectedActivityIds | Array of strings or null <id> [ items <id > ] |
| selectedSeniorityIds | Array of strings or null <id> [ items <id > ] |
| selectedResourceFilter | string or null |
| selectedTagIds | Array of strings or null <id> [ items <id > ] |
| selectedSkillIds | Array of strings or null <id> [ items <id > ] |
| selectedSkillAndSkillLevelIds | Array of strings or null |
| selectedMetaCompanyId | string or null <id> |
| selectedPipelineId | string or null <id> |
| useLocalCurrency | boolean or null |
| personId | string or null <id> |
| year | integer or null |
| month | integer or null |
| offset | integer or null |
| ytd | boolean or null |
| yoy | boolean or null |
| startMonthYtd | integer or null |
| sortOrder | string or null |
| sortField | string or null |
| periodId | string or null |
| nextCursor | string or null |
| pageSize | integer or null |
| unit | string or null |
| scale | string or null |
| today | string or null <date> |
| cacheId | string or null |
{- "selectedDepartmentIds": [
- "string"
], - "selectedCustomerIds": [
- "string"
], - "selectedRevenueTypeIds": [
- "string"
], - "selectedAccountManagerIds": [
- "string"
], - "selectedProjectManagerIds": [
- "string"
], - "selectedProjectStatusIds": [
- "string"
], - "selectedActivityIds": [
- "string"
], - "selectedSeniorityIds": [
- "string"
], - "selectedResourceFilter": "string",
- "selectedTagIds": [
- "string"
], - "selectedSkillIds": [
- "string"
], - "selectedSkillAndSkillLevelIds": [
- "string"
], - "selectedMetaCompanyId": "string",
- "selectedPipelineId": "string",
- "useLocalCurrency": true,
- "personId": "string",
- "year": 0,
- "month": 0,
- "offset": 0,
- "ytd": true,
- "yoy": true,
- "startMonthYtd": 0,
- "sortOrder": "string",
- "sortField": "string",
- "periodId": "string",
- "nextCursor": "string",
- "pageSize": 0,
- "unit": "string",
- "scale": "string",
- "today": "2019-08-24",
- "cacheId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "chart": {
- "id": "string",
- "title": "string",
- "entityKind": "string",
- "type": "string",
- "data": null,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "filters": {
- "opportunityStageOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "accountManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectStatusOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
], - "customerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "resourceFilterOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "seniorityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "tagOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "skillAndSkillLevelOptions": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "sortOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "sortOrder": "string",
- "pipelineOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "config": {
- "kind": "string",
- "showTotals": true,
- "snapshot": true,
- "periodSetting": "string",
- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}, - "marginTarget": 0,
- "showActualMargin": true
}
}
}Return the stages for the sales pipeline progression chart
| chart_id required | string |
| periodId | string or null |
| pipelineId | string or null <id> |
| opportunityStageId | string or null <id> |
| departmentIds | Array of strings or null <id> [ items <id > ] |
| accountManagerIds | Array of strings or null <id> [ items <id > ] |
| periodSetting | string or null |
| useLocalCurrency | boolean or null |
{- "periodId": "string",
- "pipelineId": "string",
- "opportunityStageId": "string",
- "departmentIds": [
- "string"
], - "accountManagerIds": [
- "string"
], - "periodSetting": "string",
- "useLocalCurrency": true
}{- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}, - "opportunities": [
- {
- "opportunityBookings": {
- "id": "string",
- "activity": {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "hasCalculationLimit": true,
- "costRate": 0,
- "desc": "string",
- "hours": 0,
- "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "remark": "string",
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "type": "string",
- "amountPerTerm": 0,
- "quantity": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfDoingTasks": 0,
- "purchaseOrders": [
- {
- "id": "string",
- "purchaseOrderNumber": 0,
- "project": {
- "id": "string",
- "name": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "deliverableCalculationId": "string",
- "supplier": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "contact": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "purchaseOrderAmount": 0,
- "purchaseInvoiceAmount": 0,
- "desc": "string"
}
]
}, - "resources": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "entityKind": null,
- "isEmployee": true,
- "isPlaceholder": true,
- "availableHours": 0,
- "costRate": 0,
- "salesRate": 0,
- "salesRateInvoiceCurrency": 0,
- "costRateEmployeeCurrency": 0,
- "salesRateEmployeeCurrency": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "seniority": "string",
- "activeDepartment": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "currentFteRate": 0
}, - "seniorityList": {
- "id": "string",
- "name": "string"
}, - "skillsAndSkillLevels": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "skills": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "totalFte": 0
}, - "grandTotalFtes": 0,
- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": "string",
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string",
- "nrOfConversations": 0,
- "nrOfDoingTasks": 0,
- "nrOfEmails": 0,
- "nrOfNotes": 0,
- "nrOfTasks": 0,
- "nrOfTodoTasks": 0,
- "nrOfFiles": 0,
- "recurringRevenueWeighted": 0,
- "recurringRevenueWeightedLocalCurrency": 0,
- "revenueWeighted": 0,
- "revenueWeightedLocalCurrency": 0,
- "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "team": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "contact": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "accountManager": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "pipeline": {
- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "opportunityStages": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}, - "stage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}, - "source": {
- "id": "string",
- "name": "string"
}, - "type": {
- "id": "string",
- "name": "string"
}, - "revenueType": {
- "id": "string",
- "name": "string"
}, - "externalCRMService": {
- "serviceId": "string",
- "serviceName": "string",
- "url": "string"
}, - "tags": {
- "id": "string",
- "name": "string"
}
}
]
}Return the opportunity weather chart
| chart_id required | string |
| selectedDepartmentIds | Array of strings or null <id> [ items <id > ] |
| selectedCustomerIds | Array of strings or null <id> [ items <id > ] |
| selectedRevenueTypeIds | Array of strings or null <id> [ items <id > ] |
| selectedAccountManagerIds | Array of strings or null <id> [ items <id > ] |
| selectedProjectManagerIds | Array of strings or null <id> [ items <id > ] |
| selectedProjectStatusIds | Array of strings or null <id> [ items <id > ] |
| selectedActivityIds | Array of strings or null <id> [ items <id > ] |
| selectedSeniorityIds | Array of strings or null <id> [ items <id > ] |
| selectedResourceFilter | string or null |
| selectedTagIds | Array of strings or null <id> [ items <id > ] |
| selectedSkillIds | Array of strings or null <id> [ items <id > ] |
| selectedSkillAndSkillLevelIds | Array of strings or null |
| selectedMetaCompanyId | string or null <id> |
| selectedPipelineId | string or null <id> |
| useLocalCurrency | boolean or null |
| personId | string or null <id> |
| year | integer or null |
| month | integer or null |
| offset | integer or null |
| ytd | boolean or null |
| yoy | boolean or null |
| startMonthYtd | integer or null |
| sortOrder | string or null |
| sortField | string or null |
| periodId | string or null |
| nextCursor | string or null |
| pageSize | integer or null |
| unit | string or null |
| scale | string or null |
| today | string or null <date> |
| cacheId | string or null |
{- "selectedDepartmentIds": [
- "string"
], - "selectedCustomerIds": [
- "string"
], - "selectedRevenueTypeIds": [
- "string"
], - "selectedAccountManagerIds": [
- "string"
], - "selectedProjectManagerIds": [
- "string"
], - "selectedProjectStatusIds": [
- "string"
], - "selectedActivityIds": [
- "string"
], - "selectedSeniorityIds": [
- "string"
], - "selectedResourceFilter": "string",
- "selectedTagIds": [
- "string"
], - "selectedSkillIds": [
- "string"
], - "selectedSkillAndSkillLevelIds": [
- "string"
], - "selectedMetaCompanyId": "string",
- "selectedPipelineId": "string",
- "useLocalCurrency": true,
- "personId": "string",
- "year": 0,
- "month": 0,
- "offset": 0,
- "ytd": true,
- "yoy": true,
- "startMonthYtd": 0,
- "sortOrder": "string",
- "sortField": "string",
- "periodId": "string",
- "nextCursor": "string",
- "pageSize": 0,
- "unit": "string",
- "scale": "string",
- "today": "2019-08-24",
- "cacheId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "chart": {
- "id": "string",
- "title": "string",
- "entityKind": "string",
- "type": "string",
- "data": null,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "filters": {
- "opportunityStageOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "accountManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectStatusOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
], - "customerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "resourceFilterOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "seniorityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "tagOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "skillAndSkillLevelOptions": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "sortOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "sortOrder": "string",
- "pipelineOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "config": {
- "kind": "string",
- "showTotals": true,
- "snapshot": true,
- "periodSetting": "string",
- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}, - "marginTarget": 0,
- "showActualMargin": true
}
}
}Return the sales funnel chart
| chart_id required | string |
| selectedDepartmentIds | Array of strings or null <id> [ items <id > ] |
| selectedCustomerIds | Array of strings or null <id> [ items <id > ] |
| selectedRevenueTypeIds | Array of strings or null <id> [ items <id > ] |
| selectedAccountManagerIds | Array of strings or null <id> [ items <id > ] |
| selectedProjectManagerIds | Array of strings or null <id> [ items <id > ] |
| selectedProjectStatusIds | Array of strings or null <id> [ items <id > ] |
| selectedActivityIds | Array of strings or null <id> [ items <id > ] |
| selectedSeniorityIds | Array of strings or null <id> [ items <id > ] |
| selectedResourceFilter | string or null |
| selectedTagIds | Array of strings or null <id> [ items <id > ] |
| selectedSkillIds | Array of strings or null <id> [ items <id > ] |
| selectedSkillAndSkillLevelIds | Array of strings or null |
| selectedMetaCompanyId | string or null <id> |
| selectedPipelineId | string or null <id> |
| useLocalCurrency | boolean or null |
| personId | string or null <id> |
| year | integer or null |
| month | integer or null |
| offset | integer or null |
| ytd | boolean or null |
| yoy | boolean or null |
| startMonthYtd | integer or null |
| sortOrder | string or null |
| sortField | string or null |
| periodId | string or null |
| nextCursor | string or null |
| pageSize | integer or null |
| unit | string or null |
| scale | string or null |
| today | string or null <date> |
| cacheId | string or null |
{- "selectedDepartmentIds": [
- "string"
], - "selectedCustomerIds": [
- "string"
], - "selectedRevenueTypeIds": [
- "string"
], - "selectedAccountManagerIds": [
- "string"
], - "selectedProjectManagerIds": [
- "string"
], - "selectedProjectStatusIds": [
- "string"
], - "selectedActivityIds": [
- "string"
], - "selectedSeniorityIds": [
- "string"
], - "selectedResourceFilter": "string",
- "selectedTagIds": [
- "string"
], - "selectedSkillIds": [
- "string"
], - "selectedSkillAndSkillLevelIds": [
- "string"
], - "selectedMetaCompanyId": "string",
- "selectedPipelineId": "string",
- "useLocalCurrency": true,
- "personId": "string",
- "year": 0,
- "month": 0,
- "offset": 0,
- "ytd": true,
- "yoy": true,
- "startMonthYtd": 0,
- "sortOrder": "string",
- "sortField": "string",
- "periodId": "string",
- "nextCursor": "string",
- "pageSize": 0,
- "unit": "string",
- "scale": "string",
- "today": "2019-08-24",
- "cacheId": "string"
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "chart": {
- "id": "string",
- "title": "string",
- "entityKind": "string",
- "type": "string",
- "data": null,
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "filters": {
- "opportunityStageOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "accountManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectManagerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "projectStatusOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "departmentOptions": [
- {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}
], - "customerOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "resourceFilterOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "seniorityOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "revenueTypeOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "tagOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "skillAndSkillLevelOptions": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "sortOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "sortOrder": "string",
- "pipelineOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}, - "config": {
- "kind": "string",
- "showTotals": true,
- "snapshot": true,
- "periodSetting": "string",
- "showFormFields": {
- "accountManagerKey": true,
- "completionDate": true,
- "defaultAccountManager": true,
- "recurringRevenue": true,
- "startDate": true
}, - "marginTarget": 0,
- "showActualMargin": true
}
}
}Insert a comment and a conversation
true{- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}Insert a comment on a conversation
| conversation_id required | string |
true{- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}Like a notification
| entityId | string or null <id> |
{- "entityId": "string"
}{- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}{- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}Get a paged list of conversations
| entity_id required | string |
| cursor | string or null <cursor> |
| maxResults | integer or null |
{- "cursor": "string",
- "maxResults": 0
}{- "toCursor": "string",
- "more": true,
- "items": [
- {
- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": null,
- "type": null
}
], - "phoneNumbers": [
- {
- "phone": null,
- "type": null
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}
]
}Insert a conversation
| entity_id required | string |
true{- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}Get a paged list of conversations
| cursor | string or null <cursor> |
| maxResults | integer or null |
{- "cursor": "string",
- "maxResults": 0
}{- "toCursor": "string",
- "more": true,
- "items": [
- {
- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": null,
- "type": null
}
], - "phoneNumbers": [
- {
- "phone": null,
- "type": null
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}
]
}Insert a conversation
true{- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}{- "id": "string",
- "title": "string",
- "text": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "avatar": "string",
- "entity": null,
- "createdBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "isFavorite": true,
- "folderId": "string",
- "desc": "string",
- "details": {
- "departments": "string",
- "is_employee": true,
- "organization": "string"
}, - "email": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "permalink": "string"
}
}Update note
| note_id required | string |
| entityId | string <id> The id of the entity to which the note is attached. |
| entityKind | string |
| title | string or null The title of the note. |
| text | string The text of the note |
{- "entityId": "string",
- "entityKind": "string",
- "title": "string",
- "text": "string"
}{- "id": "string",
- "title": "string",
- "text": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "avatar": "string",
- "entity": null,
- "createdBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "isFavorite": true,
- "folderId": "string",
- "desc": "string",
- "details": {
- "departments": "string",
- "is_employee": true,
- "organization": "string"
}, - "email": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "permalink": "string"
}
}Update note
| entityId | string <id> The id of the entity to which the note is attached. |
| entityKind | string |
| title | string or null The title of the note. |
| text | string The text of the note |
{- "entityId": "string",
- "entityKind": "string",
- "title": "string",
- "text": "string"
}{- "id": "string",
- "title": "string",
- "text": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "avatar": "string",
- "entity": null,
- "createdBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "isFavorite": true,
- "folderId": "string",
- "desc": "string",
- "details": {
- "departments": "string",
- "is_employee": true,
- "organization": "string"
}, - "email": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "permalink": "string"
}
}Get notes
| cursor | string or null |
| maxResults | integer or null |
| entityId | string or null <id> |
{- "cursor": "string",
- "maxResults": 0,
- "entityId": "string"
}{- "cursor": "string",
- "more": true,
- "items": [
- {
- "id": "string",
- "title": "string",
- "text": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "avatar": "string",
- "entity": null,
- "createdBy": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "isFavorite": true,
- "folderId": "string",
- "desc": "string",
- "details": {
- "departments": "string",
- "is_employee": true,
- "organization": "string"
}, - "email": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "permalink": "string"
}
}
]
}Update or insert a price list
| id | string or null <id> |
| name | string or null |
| desc | string or null |
| archived | boolean or null |
| currencyId | string or null <id> |
object | |
Array of objects (PriceListPeriodWrite) | |
Array of objects (Currency) | |
Array of objects (MainEntityBase) |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "priceListName": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
]
}Update or insert a price list
| price_list_id required | string |
| id | string or null <id> |
| name | string or null |
| desc | string or null |
| archived | boolean or null |
| currencyId | string or null <id> |
object | |
Array of objects (PriceListPeriodWrite) | |
Array of objects (Currency) | |
Array of objects (MainEntityBase) |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}[- {
- "id": "string",
- "name": "string",
- "archived": true,
- "desc": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "priceListName": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
]
}
]Return a price list form
| price_list_id required | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Update or insert a price list period
| price_list_id required | string |
| periodId | integer or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
Array of objects (PriceListActivityWrite) |
{- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Delete a price list period
| price_list_id required | string |
| period_id required | string |
| periodId | integer or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
Array of objects (PriceListActivityWrite) |
{- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Update or insert a price list period
| price_list_id required | string |
| period_id required | string |
| periodId | integer or null |
| startDate | string or null <date> |
| finishDate | string or null <date> |
Array of objects (PriceListActivityWrite) |
{- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Update the calculated sales rates
| price_list_id required | string |
| period_id required | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true,
- "currencyId": "string",
- "currency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "periods": [
- {
- "periodId": 0,
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "activities": [
- {
- "activityId": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hourlySalesRate": 0,
- "dailySalesRate": 0
}
]
}
], - "currencyOptions": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}
], - "activityOptions": [
- {
- "id": "string",
- "name": "string"
}
]
}Insert or update a task
| id | string or null <id> |
| name | string or null |
| title | string or null |
| description | string or null |
| hoursCalculated | number or null |
| startDate | string or null <date> |
| dueDate | string or null <date> |
| dueDateTime | string or null <date-time> |
| assigneeId | string or null <id> |
| statusId | string or null <id> |
| status | string or null |
| statusType | string or null |
| entityId | string or null <id> |
| entityKind | string or null |
| deliverableId | string or null <id> |
| calculatedActivityId | string or null <id> |
| gmailMessageId | string or null <id> |
Array of objects (DriveFile) | |
Array of objects (TaskCalculationLinesWrite) | |
| hasCalculationLimit | boolean or null |
{- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hoursCalculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "assigneeId": "string",
- "statusId": "string",
- "status": "string",
- "statusType": "string",
- "entityId": "string",
- "entityKind": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "gmailMessageId": "string",
- "files": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "taskCalculationLines": [
- {
- "id": "string",
- "activityId": "string",
- "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}
], - "hasCalculationLimit": true
}{- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}{- "context": {
- "isFavorite": true,
- "iFollow": true,
- "canCreateProject": true,
- "canEditOrganization": true,
- "canEdit": true,
- "canCreate": true,
- "canDelete": true,
- "canView": true,
- "canClose": true,
- "canReopen": true,
- "canUpdateWip": true,
- "hasDmsAccess": true,
- "calculatedSalesAmountForActivitiesInvoiceCurrency": 0,
- "calculatedSalesAmountForActivitiesDeliverableLocalCurrency": 0,
- "calculatedSalesAmountInvoiceCurrency": 0,
- "calculatedSalesAmountDeliverableLocalCurrency": 0,
- "canChangeSalesRate": true,
- "canChangeCostRate": true,
- "canChangeComponent": true,
- "autoApproveTimesheetsSettingEnabled": true,
- "useWorkingHoursCheck": true,
- "canCapBeAdded": true,
- "employeeCanBeUnset": true
}, - "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}Insert or update a task
| task_id required | string |
| id | string or null <id> |
| name | string or null |
| title | string or null |
| description | string or null |
| hoursCalculated | number or null |
| startDate | string or null <date> |
| dueDate | string or null <date> |
| dueDateTime | string or null <date-time> |
| assigneeId | string or null <id> |
| statusId | string or null <id> |
| status | string or null |
| statusType | string or null |
| entityId | string or null <id> |
| entityKind | string or null |
| deliverableId | string or null <id> |
| calculatedActivityId | string or null <id> |
| gmailMessageId | string or null <id> |
Array of objects (DriveFile) | |
Array of objects (TaskCalculationLinesWrite) | |
| hasCalculationLimit | boolean or null |
{- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hoursCalculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "assigneeId": "string",
- "statusId": "string",
- "status": "string",
- "statusType": "string",
- "entityId": "string",
- "entityKind": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "gmailMessageId": "string",
- "files": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "taskCalculationLines": [
- {
- "id": "string",
- "activityId": "string",
- "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}
], - "hasCalculationLimit": true
}{- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}Get a task with the form options
| task_id required | string |
{- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hoursCalculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "assigneeId": "string",
- "statusId": "string",
- "status": "string",
- "statusType": "string",
- "entityId": "string",
- "entityKind": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "departmentId": "string",
- "gmailMessageId": "string",
- "files": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "taskCalculationLines": [
- {
- "id": "string",
- "activityId": "string",
- "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}
], - "hasCalculationLimit": true,
- "isBudgetTask": true
}, - "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "entity": null,
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculationLine": {
- "id": "string",
- "name": "string"
}, - "taskCalculationLines": [
- {
- "id": "string",
- "activityId": "string",
- "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}
], - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "conversation": {
- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}, - "taskStatusOptions": [
- {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}
], - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "folderId": "string",
- "nrOfHours": 0,
- "uploadFolderId": "string",
- "canDelete": true,
- "hasTimesheetEntry": true,
- "hasCalculationLimit": true,
- "isCalculationLimitEnabled": true
}{- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hoursCalculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "assigneeId": "string",
- "statusId": "string",
- "status": "string",
- "statusType": "string",
- "entityId": "string",
- "entityKind": "string",
- "deliverableId": "string",
- "calculatedActivityId": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "departmentId": "string",
- "gmailMessageId": "string",
- "files": [
- {
- "id": "string",
- "name": "string",
- "iconUrl": "string",
- "viewUrl": "string",
- "folderId": "string",
- "isUploaded": true,
- "size": 0
}
], - "taskCalculationLines": [
- {
- "id": "string",
- "activityId": "string",
- "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}
], - "hasCalculationLimit": true,
- "isBudgetTask": true
}, - "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "entity": null,
- "activity": {
- "id": "string",
- "name": "string"
}, - "calculationLine": {
- "id": "string",
- "name": "string"
}, - "taskCalculationLines": [
- {
- "id": "string",
- "activityId": "string",
- "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
]
}
], - "deliverable": {
- "id": "string",
- "name": "string",
- "createdAt": "string",
- "desc": "string",
- "finishDate": "string",
- "hasCalculationLimit": true,
- "calculationLimit": 0,
- "invoiceMethodId": "string",
- "poNumber": "string",
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "hasTasks": true
}, - "conversation": {
- "id": "string",
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "subject": "string",
- "text": "string",
- "datetime": "2019-08-24T14:15:22Z",
- "comments": [
- {
- "author": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "text": "string",
- "datetime": "2019-08-24T14:15:22Z"
}
], - "likers": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "gmailMessageId": "string",
- "task": {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
}, - "taskStatusOptions": [
- {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}
], - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "folderId": "string",
- "nrOfHours": 0,
- "uploadFolderId": "string",
- "canDelete": true,
- "hasTimesheetEntry": true,
- "hasCalculationLimit": true,
- "isCalculationLimitEnabled": true
}Get a list of tasks
| deliverableId | string or null <id> |
| calculationLineId | string or null <id> |
| assigneeId | string or null <id> |
| employeeId | string or null <id> |
{- "deliverableId": "string",
- "calculationLineId": "string",
- "assigneeId": "string",
- "employeeId": "string"
}[- {
- "id": "string",
- "name": "string",
- "title": "string",
- "description": "string",
- "hours_calculated": 0,
- "startDate": "2019-08-24",
- "dueDate": "2019-08-24",
- "dueDateTime": "2019-08-24T14:15:22Z",
- "entityKind": "string",
- "createdAt": "2019-08-24",
- "lastEditedAt": "2019-08-24",
- "permalink": "string",
- "status": {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}, - "associatedEntity": null,
- "assignee": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "creator": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "project": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "organizationName": "string",
- "folderId": "string",
- "nrOfDeliverables": null,
- "isClosed": true,
- "desc": "string",
- "projectNumber": 0,
- "permalink": "string",
- "stateIndicator": 0,
- "startDate": "string",
- "finishDate": "string"
}, - "deliverable": {
- "id": "string",
- "name": "string",
- "budgetPercentage": 0,
- "canReschedule": true,
- "completePercentage": 0,
- "createdAt": "string",
- "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "desc": "string",
- "discountSurcharge": {
- "discountDescription": "string",
- "discountPercentage": 0,
- "surchargePercentage": 0,
- "surchargeDescription": "string",
- "projectDiscountPercentage": 0,
- "projectDiscountDescription": "string",
- "projectSurchargePercentage": 0,
- "projectSurchargeDescription": "string"
}, - "finishDate": "string",
- "hasCalculation": true,
- "hasCalculationLimit": true,
- "hasTasks": true,
- "calculationLimit": 0,
- "calculationLimitOtherCurrency": 0,
- "calculationLimitLocalCurrency": 0,
- "invoiceMethod": {
- "id": "string",
- "name": "string"
}, - "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "forecast": {
- "cost": 0,
- "sales": 0,
- "hours": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "isPending": true
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "poNumber": "string",
- "remainingDays": 0,
- "schedulePercentage": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "isClosed": true,
- "canClose": true,
- "isAutoExtend": true,
- "canUpdateWip": true
}, - "deliverableCalculation": {
- "id": "string",
- "name": "string",
- "startDate": "2019-08-24",
- "finishDate": "2019-08-24",
- "assigneeIds": [
- "string"
]
}, - "timer": {
- "isActive": true,
- "startedAtDatetime": "string",
- "elapsedSeconds": 0,
- "hours": 0,
- "maxHours": 0
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "opportunity": {
- "id": "string",
- "name": "string",
- "age": 0,
- "avatar": "string",
- "coverImage": "string",
- "completionDate": "string",
- "expectedOrderDate": "string",
- "date": "string",
- "desc": "string",
- "entityKind": null,
- "folderId": "string",
- "hasProject": true,
- "lastModifiedAt": "string",
- "recurringRevenue": 0,
- "recurringRevenueLocalCurrency": 0,
- "revenue": 0,
- "revenueLocalCurrency": 0,
- "localCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "salesProbability": 0,
- "startDate": "string",
- "stateIndicator": 0,
- "permalink": "string"
}, - "department": {
- "id": "string",
- "name": "string",
- "countryCode": "string"
}, - "organization": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "desc": "string",
- "email": "string",
- "folderId": "string",
- "folderResourceString": "string",
- "isCustomer": true,
- "isSupplier": true,
- "useDailyRates": true,
- "accountManagerId": "string",
- "nrOfContacts": null,
- "nrOfOpportunities": 0,
- "nrOfProjects": 0,
- "nrOfInvoices": 0,
- "nrOfDueInvoices": 0,
- "permalink": "string",
- "phone": "string",
- "website": "string",
- "priceListId": "string",
- "countryCode": "string",
- "isTimesheetsApprovedByClientDefault": true,
- "customerCode": "string"
}, - "lastEditor": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "actual": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0
}, - "salesPercentage": 0,
- "salesPercentageWithDiscountSurcharge": 0,
- "costPercentage": 0,
- "costPercentageWithDiscountSurcharge": 0,
- "amountInvoiced": 0,
- "amountInvoicedWithDiscountSurcharge": 0,
- "manuallyAmountInvoiced": 0,
- "manuallyAmountInvoicedWithDiscountSurcharge": 0,
- "hours": 0,
- "hoursDraft": 0,
- "hoursPlanned": 0,
- "hoursToPlan": 0
}, - "calculated": {
- "cost": 0,
- "sales": 0,
- "salesWithDiscountSurcharge": 0,
- "orderValue": 0,
- "orderValueWithDiscountSurcharge": 0,
- "margin": {
- "amount": 0,
- "amountWithDiscountSurcharge": 0,
- "percentage": 0,
- "percentageWithDiscountSurcharge": 0,
- "hours": 0
}, - "hours": 0
}, - "taskCalculationLines": [
- {
- "id": "string",
- "name": "string",
- "activity": {
- "id": "string",
- "name": "string"
}, - "hoursCalculated": 0,
- "assignees": [
- {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}
], - "calculationLine": {
- "id": "string"
}, - "hasCalculationLimit": true
}
]
}
]Get the time entries for a task
| task_id required | string |
{- "contributors": [
- {
- "person": {
- "id": "string",
- "name": "string",
- "avatar": "string",
- "coverImage": "string",
- "entityKind": null,
- "jobTitle": "string",
- "jobRole": null,
- "source": null,
- "leadStage": null,
- "folderId": "string",
- "firstName": "string",
- "lastName": "string",
- "email": "string",
- "address": "string",
- "city": "string",
- "postcode": "string",
- "country": "string",
- "isEmployee": true,
- "isPlaceholder": true,
- "isContact": true,
- "isExternal": true,
- "googlePlusId": "string",
- "permalink": "string",
- "lastPlannedDate": "2019-08-24",
- "extraEmails": [
- {
- "email": "string",
- "type": "string"
}
], - "phoneNumbers": [
- {
- "phone": "string",
- "type": "string"
}
], - "archived": true,
- "activeDepartmentId": "string",
- "countryCode": "string",
- "isSupportUser": true,
- "employeeCode": "string"
}, - "timeEntries": [
- {
- "id": "string",
- "name": "string",
- "hours": 0,
- "date": "2019-08-24",
- "salesRate": 0,
- "costRate": 0,
- "employeeCurrency": {
- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "rate": 0,
- "symbol": "string",
- "isDefault": true,
- "inverse": true,
- "archived": true
}, - "costRateEmployeeCurrency": 0,
- "reference": "string",
- "status": "string"
}
], - "totalHours": 0
}
], - "openingBalanceHours": 0
}Return the result from the search as a suggest. This can be used to find an item and check if something exists.
| search | string |
| cursor | string |
| maxResults | integer |
| entityKind | string |
| sort | string |
| accountManagerIds | any |
| activityIds | any |
| departmentIds | any |
| isActive | boolean |
| isArchived | boolean |
| isContact | boolean |
| isCustomer | boolean |
| organizationOfProjectIsCustomer | boolean |
| isEmployee | boolean |
| isUser | boolean |
| isFullUser | boolean |
| isMine | boolean |
| isSupplier | boolean |
| isLead | boolean |
| marketSegmentIds | any |
| newSince | any |
| employeeSince | any |
| opportunityStageIds | any |
| pipelineIds | any |
| projectManagerIds | any |
| projectStatusIds | any |
| leadStageIds | any |
| seniorityIds | any |
| skillIds | any |
| skillsAndSkillLevelIds | any |
| tagIds | any |
| fromExpectedOrderDate | string <date> |
| toExpectedOrderDate | string <date> |
| assigneeIds | any |
| entityId | string |
| leadId | string |
| fromDueDate | string <date> |
| toDueDate | string <date> |
| isAssignedToMe | boolean |
| isAssociatedWithOpportunity | boolean |
| isAssociatedWithOrganization | boolean |
| isAssociatedWithProject | boolean |
| isAssociatedWithLead | boolean |
| isCreatedByMe | boolean |
| statusType | string |
| taskStatusIds | string |
| opportunityIds | any |
| organizationIds | any |
| projectIds | any |
| account_type | string |
| closed | string |
| customer | string |
| employee | string |
| finishDate | string <date> |
| isInvoicedOnProjectLevel | boolean |
| projectMemberIds | any |
| isNoAllocationRequired | boolean |
| isPayed | boolean |
| organizationId | string <id> |
| deliverableId | string <id> |
| resourcePlanningActive | boolean |
| startDate | string <date> |
| supplier | string |
{- "items": null
}Search in the main entities
| search | string or null |
| cursor | string or null |
| maxResults | integer or null |
| entityKind | string or null |
| sort | string or null |
| accountManagerIds | null |
| activityIds | null |
| departmentIds | null |
| isActive | boolean or null |
| isArchived | boolean or null |
| isContact | boolean or null |
| isCustomer | boolean or null |
| organizationOfProjectIsCustomer | boolean or null |
| isEmployee | boolean or null |
| isUser | boolean or null |
| isFullUser | boolean or null |
| isMine | boolean or null |
| isSupplier | boolean or null |
| isLead | boolean or null |
| marketSegmentIds | null |
| newSince | null |
| employeeSince | null |
| opportunityStageIds | null |
| pipelineIds | null |
| projectManagerIds | null |
| projectStatusIds | null |
| leadStageIds | null |
| seniorityIds | null |
| skillIds | null |
| skillsAndSkillLevelIds | null |
| tagIds | null |
| fromExpectedOrderDate | string or null <date> |
| toExpectedOrderDate | string or null <date> |
| assigneeIds | null |
| entityId | string or null |
| leadId | string or null |
| fromDueDate | string or null <date> |
| toDueDate | string or null <date> |
| isAssignedToMe | boolean or null |
| isAssociatedWithOpportunity | boolean or null |
| isAssociatedWithOrganization | boolean or null |
| isAssociatedWithProject | boolean or null |
| isAssociatedWithLead | boolean or null |
| isCreatedByMe | boolean or null |
| statusType | string or null |
| taskStatusIds | string or null |
| opportunityIds | null |
| organizationIds | null |
| projectIds | null |
{- "search": "string",
- "cursor": "string",
- "maxResults": 0,
- "entityKind": "string",
- "sort": "string",
- "accountManagerIds": null,
- "activityIds": null,
- "departmentIds": null,
- "isActive": true,
- "isArchived": true,
- "isContact": true,
- "isCustomer": true,
- "organizationOfProjectIsCustomer": true,
- "isEmployee": true,
- "isUser": true,
- "isFullUser": true,
- "isMine": true,
- "isSupplier": true,
- "isLead": true,
- "marketSegmentIds": null,
- "newSince": null,
- "employeeSince": null,
- "opportunityStageIds": null,
- "pipelineIds": null,
- "projectManagerIds": null,
- "projectStatusIds": null,
- "leadStageIds": null,
- "seniorityIds": null,
- "skillIds": null,
- "skillsAndSkillLevelIds": null,
- "tagIds": null,
- "fromExpectedOrderDate": "2019-08-24",
- "toExpectedOrderDate": "2019-08-24",
- "assigneeIds": null,
- "entityId": "string",
- "leadId": "string",
- "fromDueDate": "2019-08-24",
- "toDueDate": "2019-08-24",
- "isAssignedToMe": true,
- "isAssociatedWithOpportunity": true,
- "isAssociatedWithOrganization": true,
- "isAssociatedWithProject": true,
- "isAssociatedWithLead": true,
- "isCreatedByMe": true,
- "statusType": "string",
- "taskStatusIds": "string",
- "opportunityIds": null,
- "organizationIds": null,
- "projectIds": null
}{- "items": null,
- "filters": {
- "activeResourcePlanning": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isActive": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isContact": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isCustomer": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isUser": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isMine": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isArchived": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isNotArchived": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isSupplier": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "accountManagers": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "activities": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "departments": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "marketSegments": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "opportunityStages": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "pipelines": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "projectManagers": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "projectStatuses": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "leadStages": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "seniorities": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "skills": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "skillsAndSkillLevels": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "tags": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "entityId": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isAssignedToMe": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isAssociatedWithOpportunity": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isAssociatedWithOrganization": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isAssociatedWithProject": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isAssociatedWithLead": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "isCreatedByMe": {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}, - "opportunities": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "organizations": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "persons": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
], - "projects": [
- {
- "bucketName": "string",
- "name": "string",
- "id": "string",
- "count": 0,
- "selected": true,
- "revenue": 0,
- "recurringRevenue": 0
}
]
}, - "more": true,
- "nextCursor": "string"
}{- "id": "string",
- "name": "string",
- "expensesVerifiersOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "expensesVerifiers": [
- {
- "id": "string",
- "name": "string"
}
], - "specifySalesTax": true,
- "approvalMethod": "string",
- "verificationBySupportStaff": true
}Return a list of expenses settings for verifiers
| id | string or null <id> |
| name | string or null |
Array of objects or null (MainEntityBase) | |
Array of objects or null (MainEntityBase) | |
| specifySalesTax | boolean or null |
| approvalMethod | string or null |
| verificationBySupportStaff | boolean or null |
{- "id": "string",
- "name": "string",
- "expensesVerifiersOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "expensesVerifiers": [
- {
- "id": "string",
- "name": "string"
}
], - "specifySalesTax": true,
- "approvalMethod": "string",
- "verificationBySupportStaff": true
}{- "id": "string",
- "name": "string",
- "expensesVerifiersOptions": [
- {
- "id": "string",
- "name": "string"
}
], - "expensesVerifiers": [
- {
- "id": "string",
- "name": "string"
}
], - "specifySalesTax": true,
- "approvalMethod": "string",
- "verificationBySupportStaff": true
}Update timesheet settings
| lockedUntil | string or null <date> |
| roundToQuarters | boolean or null |
| useWorkingHoursCheck | boolean or null |
| createTimeEntriesForDueTasksEnabled | boolean or null |
| leaveRequestsEnabled | boolean or null |
{- "lockedUntil": "2019-08-24",
- "roundToQuarters": true,
- "useWorkingHoursCheck": true,
- "createTimeEntriesForDueTasksEnabled": true,
- "leaveRequestsEnabled": true
}{- "lockedUntil": "2019-08-24",
- "roundToQuarters": true,
- "useWorkingHoursCheck": true,
- "createTimeEntriesForDueTasksEnabled": true,
- "leaveRequestsEnabled": true
}Reads and writes a given absence type
| absence_type_id required | string |
| id | string or null <id> |
| name | string or null |
| desc | string or null |
| planLeaveHours | string or null |
| isTimeOff | boolean or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "planLeaveHours": "string",
- "isTimeOff": true,
- "archived": true
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "planLeaveHours": "string",
- "isTimeOff": true,
- "archived": true
}Reads and writes a given absence type
| id | string or null <id> |
| name | string or null |
| desc | string or null |
| planLeaveHours | string or null |
| isTimeOff | boolean or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "planLeaveHours": "string",
- "isTimeOff": true,
- "archived": true
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "planLeaveHours": "string",
- "isTimeOff": true,
- "archived": true
}Update or insert a currency
| id | string or null <id> |
| name | string or null |
| code required | string or null |
| decimals required | integer or null |
| symbol required | string or null |
| rate required | number or null |
required | object |
| inverse required | boolean or null |
| exchangeDifferenceLedgerAccount | null |
| roundingDifferenceLedgerAccount | null |
| archived required | boolean or null |
{- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "symbol": "string",
- "rate": 0,
- "rateUnit": {
- "id": "string",
- "name": "string",
- "rate": 0
}, - "inverse": true,
- "exchangeDifferenceLedgerAccount": null,
- "roundingDifferenceLedgerAccount": null,
- "archived": true
}{- "id": "string",
- "name": "string",
- "code": "string",
- "codeOptions": [
- "string"
], - "decimals": 0,
- "symbol": "string",
- "rate": 0,
- "lastRateChangedDate": "2019-08-24",
- "rateUnit": {
- "id": "string",
- "name": "string",
- "rate": 0
}, - "rateUnitOptions": [
- {
- "id": "string",
- "name": "string",
- "rate": 0
}
], - "inverse": true,
- "exchangeDifferenceLedgerAccount": null,
- "roundingDifferenceLedgerAccount": null,
- "baseCurrencyId": "string",
- "archived": true
}Update or insert a currency
| currency_id required | string |
| id | string or null <id> |
| name | string or null |
| code required | string or null |
| decimals required | integer or null |
| symbol required | string or null |
| rate required | number or null |
required | object |
| inverse required | boolean or null |
| exchangeDifferenceLedgerAccount | null |
| roundingDifferenceLedgerAccount | null |
| archived required | boolean or null |
{- "id": "string",
- "name": "string",
- "code": "string",
- "decimals": 0,
- "symbol": "string",
- "rate": 0,
- "rateUnit": {
- "id": "string",
- "name": "string",
- "rate": 0
}, - "inverse": true,
- "exchangeDifferenceLedgerAccount": null,
- "roundingDifferenceLedgerAccount": null,
- "archived": true
}{- "id": "string",
- "name": "string",
- "code": "string",
- "codeOptions": [
- "string"
], - "decimals": 0,
- "symbol": "string",
- "rate": 0,
- "lastRateChangedDate": "2019-08-24",
- "rateUnit": {
- "id": "string",
- "name": "string",
- "rate": 0
}, - "rateUnitOptions": [
- {
- "id": "string",
- "name": "string",
- "rate": 0
}
], - "inverse": true,
- "exchangeDifferenceLedgerAccount": null,
- "roundingDifferenceLedgerAccount": null,
- "baseCurrencyId": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "code": "string",
- "codeOptions": [
- "string"
], - "decimals": 0,
- "symbol": "string",
- "rate": 0,
- "lastRateChangedDate": "2019-08-24",
- "rateUnit": {
- "id": "string",
- "name": "string",
- "rate": 0
}, - "rateUnitOptions": [
- {
- "id": "string",
- "name": "string",
- "rate": 0
}
], - "inverse": true,
- "exchangeDifferenceLedgerAccount": null,
- "roundingDifferenceLedgerAccount": null,
- "baseCurrencyId": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "code": "string",
- "codeOptions": [
- "string"
], - "decimals": 0,
- "symbol": "string",
- "rate": 0,
- "lastRateChangedDate": "2019-08-24",
- "rateUnit": {
- "id": "string",
- "name": "string",
- "rate": 0
}, - "rateUnitOptions": [
- {
- "id": "string",
- "name": "string",
- "rate": 0
}
], - "inverse": true,
- "exchangeDifferenceLedgerAccount": null,
- "roundingDifferenceLedgerAccount": null,
- "baseCurrencyId": "string",
- "archived": true
}Converts an amount from one currency to another
| fromCurrencyId | null |
| toCurrencyId | null |
| amount | number or null |
{- "fromCurrencyId": null,
- "toCurrencyId": null,
- "amount": 0
}{- "fromCurrencyId": null,
- "toCurrencyId": null,
- "amount": 0
}| expenses_type_id required | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "distributeToProject": true,
- "ledgerAccount": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "archived": true,
- "costOptions": {
- "id": "string",
- "name": "string"
}, - "itemCode": "string"
}| expenses_type_id required | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "distributeToProject": true,
- "ledgerAccount": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "archived": true,
- "costOptions": {
- "id": "string",
- "name": "string"
}, - "itemCode": "string"
}| expenses_type_id required | string |
| desc | string or null |
| name | string or null |
| distributeToProject | boolean or null |
| ledgerAccount | null |
| cost | null |
| itemCode | string or null |
{- "desc": "string",
- "name": "string",
- "distributeToProject": true,
- "ledgerAccount": null,
- "cost": null,
- "itemCode": "string"
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "distributeToProject": true,
- "ledgerAccount": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "archived": true,
- "costOptions": {
- "id": "string",
- "name": "string"
}, - "itemCode": "string"
}| expenses_type_id required | string |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "distributeToProject": true,
- "ledgerAccount": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "archived": true,
- "costOptions": {
- "id": "string",
- "name": "string"
}, - "itemCode": "string"
}| desc | string or null |
| name | string or null |
| distributeToProject | boolean or null |
| ledgerAccount | null |
| cost | null |
| itemCode | string or null |
{- "desc": "string",
- "name": "string",
- "distributeToProject": true,
- "ledgerAccount": null,
- "cost": null,
- "itemCode": "string"
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "distributeToProject": true,
- "ledgerAccount": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "archived": true,
- "costOptions": {
- "id": "string",
- "name": "string"
}, - "itemCode": "string"
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "distributeToProject": true,
- "ledgerAccount": {
- "id": "string",
- "name": "string"
}, - "cost": {
- "id": "string",
- "name": "string"
}, - "archived": true,
- "costOptions": {
- "id": "string",
- "name": "string"
}, - "itemCode": "string"
}Insert or update a job role
| job_role_id required | string |
| id | string or null <id> |
| name | string or null |
| desc | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true
}Insert or update a job role
| id | string or null <id> |
| name | string or null |
| desc | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "desc": "string",
- "archived": true
}Update or insert a label
| id | string or null <id> |
| name | string or null |
| isForOpportunity | boolean or null |
| isForOrganization | boolean or null |
| isForPerson | boolean or null |
| isForProject | boolean or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "isForOpportunity": true,
- "isForOrganization": true,
- "isForPerson": true,
- "isForProject": true,
- "archived": true
}{- "id": "string",
- "name": "string",
- "isForOpportunity": true,
- "isForOrganization": true,
- "isForPerson": true,
- "isForProject": true,
- "archived": true
}Update or insert a label
| tag_id required | string |
| id | string or null <id> |
| name | string or null |
| isForOpportunity | boolean or null |
| isForOrganization | boolean or null |
| isForPerson | boolean or null |
| isForProject | boolean or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "isForOpportunity": true,
- "isForOrganization": true,
- "isForPerson": true,
- "isForProject": true,
- "archived": true
}{- "id": "string",
- "name": "string",
- "isForOpportunity": true,
- "isForOrganization": true,
- "isForPerson": true,
- "isForProject": true,
- "archived": true
}Insert or update a lead stage
| lead_stage_id required | string |
| id | string or null <id> |
| name | string or null |
| description | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "description": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "archived": true
}Insert or update a lead stage
| id | string or null <id> |
| name | string or null |
| description | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "description": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "archived": true
}Insert or update an opportunity stage
| pipeline_id required | string |
| id | string or null <id> |
| name | string or null |
| salesProbability | integer or null |
| desc | string or null |
| isShownInSalesFunnel | boolean or null |
| pipelineId | string or null <id> |
| archived | boolean or null |
| win | boolean or null |
| lost | boolean or null |
{- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}{- "lostAvailable": true,
- "winAvailable": true,
- "opportunityStage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}Return the form output of an opportunity stage
| pipeline_id required | string |
{- "lostAvailable": true,
- "winAvailable": true,
- "opportunityStage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}Return a list of opportunity stages
| pipeline_id required | string |
| includeArchived | boolean or null |
| pipelineId | string or null <id> |
{- "includeArchived": true,
- "pipelineId": "string"
}[- {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
]Insert or update an opportunity stage
| pipeline_id required | string |
| opportunity_stage_id required | string |
| id | string or null <id> |
| name | string or null |
| salesProbability | integer or null |
| desc | string or null |
| isShownInSalesFunnel | boolean or null |
| pipelineId | string or null <id> |
| archived | boolean or null |
| win | boolean or null |
| lost | boolean or null |
{- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}{- "lostAvailable": true,
- "winAvailable": true,
- "opportunityStage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}Return the form output of an opportunity stage
| pipeline_id required | string |
| opportunity_stage_id required | string |
{- "lostAvailable": true,
- "winAvailable": true,
- "opportunityStage": {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
}Archive an opportunity stage
| pipeline_id required | string |
| opportunity_stage_id required | string |
{- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}Restore a opportunity stage
| pipeline_id required | string |
| opportunity_stage_id required | string |
{- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}Return a list of opportunity stages
| includeArchived | boolean or null |
| pipelineId | string or null <id> |
{- "includeArchived": true,
- "pipelineId": "string"
}[- {
- "id": "string",
- "name": "string",
- "salesProbability": 0,
- "desc": "string",
- "isShownInSalesFunnel": true,
- "pipelineId": "string",
- "archived": true,
- "win": true,
- "lost": true
}
]Get a form for an overtime category
| overtime_category_id required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "absenceTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Insert or update a overtime category
| overtime_category_id required | string |
| id | string <id> |
| name required | string |
| description | string |
| absenceTypeId | string or null <id> |
| isTimeOffInLieu | boolean |
| externalPayrollCode | string |
| archived | boolean |
{- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "budgetLeftHours": 0
}{- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "absenceTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Insert or update a overtime category
| id | string <id> |
| name required | string |
| description | string |
| absenceTypeId | string or null <id> |
| isTimeOffInLieu | boolean |
| externalPayrollCode | string |
| archived | boolean |
{- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "budgetLeftHours": 0
}[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "absenceTypeId": "string",
- "isTimeOffInLieu": true,
- "externalPayrollCode": "string",
- "archived": true,
- "budgetLeftHours": 0
}
]Get a form for an overtime policy
| overtime_policy_id required | string |
{- "id": "string",
- "name": "string",
- "description": "string",
- "overtimePolicyCategories": [
- {
- "overtimeCategoryId": "string",
- "approvalRequired": true
}
], - "archived": true,
- "overtimeCategoryOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Insert or update a overtime policy
| overtime_policy_id required | string |
| id | string <id> |
| name required | string |
| description | string |
Array of objects (OvertimePolicyCategory) | |
| archived | boolean |
{- "id": "string",
- "name": "string",
- "description": "string",
- "overtimePolicyCategories": [
- {
- "overtimeCategoryId": "string",
- "approvalRequired": true
}
], - "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "overtimePolicyCategories": [
- {
- "overtimeCategoryId": "string",
- "approvalRequired": true
}
], - "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "overtimePolicyCategories": [
- {
- "overtimeCategoryId": "string",
- "approvalRequired": true
}
], - "archived": true,
- "overtimeCategoryOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Insert or update a overtime policy
| id | string <id> |
| name required | string |
| description | string |
Array of objects (OvertimePolicyCategory) | |
| archived | boolean |
{- "id": "string",
- "name": "string",
- "description": "string",
- "overtimePolicyCategories": [
- {
- "overtimeCategoryId": "string",
- "approvalRequired": true
}
], - "archived": true
}{- "id": "string",
- "name": "string",
- "description": "string",
- "overtimePolicyCategories": [
- {
- "overtimeCategoryId": "string",
- "approvalRequired": true
}
], - "archived": true
}Update or insert a seniority
| id | string or null <id> |
| name | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "archived": true
}Update or insert a seniority
| seniority_id required | string |
| id | string or null <id> |
| name | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "archived": true
}Update or insert a skill
| id | string or null <id> |
| name | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "archived": true
}Update or insert a skill
| skill_id required | string |
| id | string or null <id> |
| name | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "archived": true
}Get a list of skills
| search | string or null |
| cursor | string or null |
| maxResults | integer or null |
| entityKind | string or null |
| sort | string or null |
| accountManagerIds | null |
| activityIds | null |
| departmentIds | null |
| isActive | boolean or null |
| isArchived | boolean or null |
| isContact | boolean or null |
| isCustomer | boolean or null |
| organizationOfProjectIsCustomer | boolean or null |
| isEmployee | boolean or null |
| isUser | boolean or null |
| isFullUser | boolean or null |
| isMine | boolean or null |
| isSupplier | boolean or null |
| isLead | boolean or null |
| marketSegmentIds | null |
| newSince | null |
| employeeSince | null |
| opportunityStageIds | null |
| pipelineIds | null |
| projectManagerIds | null |
| projectStatusIds | null |
| leadStageIds | null |
| seniorityIds | null |
| skillIds | null |
| skillsAndSkillLevelIds | null |
| tagIds | null |
| fromExpectedOrderDate | string or null <date> |
| toExpectedOrderDate | string or null <date> |
| assigneeIds | null |
| entityId | string or null |
| leadId | string or null |
| fromDueDate | string or null <date> |
| toDueDate | string or null <date> |
| isAssignedToMe | boolean or null |
| isAssociatedWithOpportunity | boolean or null |
| isAssociatedWithOrganization | boolean or null |
| isAssociatedWithProject | boolean or null |
| isAssociatedWithLead | boolean or null |
| isCreatedByMe | boolean or null |
| statusType | string or null |
| taskStatusIds | string or null |
| opportunityIds | null |
| organizationIds | null |
| projectIds | null |
{- "search": "string",
- "cursor": "string",
- "maxResults": 0,
- "entityKind": "string",
- "sort": "string",
- "accountManagerIds": null,
- "activityIds": null,
- "departmentIds": null,
- "isActive": true,
- "isArchived": true,
- "isContact": true,
- "isCustomer": true,
- "organizationOfProjectIsCustomer": true,
- "isEmployee": true,
- "isUser": true,
- "isFullUser": true,
- "isMine": true,
- "isSupplier": true,
- "isLead": true,
- "marketSegmentIds": null,
- "newSince": null,
- "employeeSince": null,
- "opportunityStageIds": null,
- "pipelineIds": null,
- "projectManagerIds": null,
- "projectStatusIds": null,
- "leadStageIds": null,
- "seniorityIds": null,
- "skillIds": null,
- "skillsAndSkillLevelIds": null,
- "tagIds": null,
- "fromExpectedOrderDate": "2019-08-24",
- "toExpectedOrderDate": "2019-08-24",
- "assigneeIds": null,
- "entityId": "string",
- "leadId": "string",
- "fromDueDate": "2019-08-24",
- "toDueDate": "2019-08-24",
- "isAssignedToMe": true,
- "isAssociatedWithOpportunity": true,
- "isAssociatedWithOrganization": true,
- "isAssociatedWithProject": true,
- "isAssociatedWithLead": true,
- "isCreatedByMe": true,
- "statusType": "string",
- "taskStatusIds": "string",
- "opportunityIds": null,
- "organizationIds": null,
- "projectIds": null
}[- {
- "id": "string",
- "name": "string",
- "archived": true
}
]Update or insert a skill level
| id | string or null <id> |
| name | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "archived": true
}Update or insert a skill level
| skill_level_id required | string |
| id | string or null <id> |
| name | string or null |
| archived | boolean or null |
{- "id": "string",
- "name": "string",
- "archived": true
}{- "id": "string",
- "name": "string",
- "archived": true
}Create or update a task status
| id | string or null <id> |
| name | string or null |
| statusTypeId | string or null |
| archived | boolean or null |
| setId | string or null |
{- "id": "string",
- "name": "string",
- "statusTypeId": "string",
- "archived": true,
- "setId": "string"
}{- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}Create or update a task status
| status_id required | string |
| id | string or null <id> |
| name | string or null |
| statusTypeId | string or null |
| archived | boolean or null |
| setId | string or null |
{- "id": "string",
- "name": "string",
- "statusTypeId": "string",
- "archived": true,
- "setId": "string"
}{- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}Return a form for a task status
| status_id required | string |
{- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string",
- "statusTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}{- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string",
- "statusTypeOptions": [
- {
- "id": "string",
- "archived": true,
- "name": "string",
- "label": "string"
}
]
}Return a list of task statuses
| setId | string or null |
| archivedIncluded | boolean or null |
{- "setId": "string",
- "archivedIncluded": true
}[- {
- "id": "string",
- "name": "string",
- "archived": true,
- "statusType": {
- "id": "string",
- "name": "string"
}, - "statusTypeId": "string"
}
]