Download OpenAPI specification:
APIs for communicating with Zirius+
Provides Access token for given Api Key & Secret Key
| Api-Key required | string Api Key of the user |
| Secret-Key required | string Secret Key of the user |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "accessToken": {
- "token": "string"
}
}Updates the ledger with given details and document
| date | string <date-time> |
| description | string |
| totalAmount | number |
| documentFormat | string |
| documentContent | string |
Array of objects (LedgerLine) | |
| documentId | string |
| companyId | integer <int32> |
{- "date": "2019-08-24T14:15:22Z",
- "description": "string",
- "totalAmount": 0,
- "documentFormat": "string",
- "documentContent": "string",
- "lines": [
- {
- "date": "2019-08-24T14:15:22Z",
- "description": "string",
- "currencyCode": "string",
- "amount": 0,
- "debitAccountNumber": 0,
- "debitAccountName": "string",
- "vatCode": 0,
- "creditAccountNumber": 0,
- "creditAccountName": "string",
- "creditVatCode": 0
}
], - "documentId": "string",
- "companyId": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
]
}Updates the ledger with given details for Rubic
| settlementKey | string |
| settlementComplete | boolean |
| reconciliationStatusID | integer <int32> |
| startPeriod | string <date-time> |
| endPeriod | string <date-time> |
| expectedPayoutDate | string <date-time> |
| paidAmount | number |
| feeAmount | number |
| feeVatAmount | number |
| payoutAmount | number |
| transactionType | integer <int32> |
| transactionTypeName | string |
Array of objects (GrossTransactionDto) |
{- "settlementKey": "string",
- "settlementComplete": true,
- "reconciliationStatusID": 0,
- "startPeriod": "2019-08-24T14:15:22Z",
- "endPeriod": "2019-08-24T14:15:22Z",
- "expectedPayoutDate": "2019-08-24T14:15:22Z",
- "paidAmount": 0,
- "feeAmount": 0,
- "feeVatAmount": 0,
- "payoutAmount": 0,
- "transactionType": 0,
- "transactionTypeName": "string",
- "grossTransactions": [
- {
- "accountCode": "string",
- "accountName": "string",
- "feeAccountCode": "string",
- "bankAccountCode": "string",
- "departmentCode": "string",
- "departmentName": "string",
- "projectCode": "string",
- "projectName": "string",
- "organizationID": 0,
- "organizationCode": "string",
- "organizationName": "string",
- "quantity": 0,
- "amount": 0,
- "vatAmount": 0,
- "vatCode": 0,
- "feeAmount": 0,
- "feeVatAmount": 0,
- "feeVatCode": 0
}
]
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
]
}Provides Ledger transactions for a particular account number within given date range
| accountNumber required | integer <int32> Account number for which you need entries |
| fromDate required | string From date in the form of yyyy-MM-dd |
| toDate required | string To date in the form of yyyy-MM-dd |
| projectId | string Project Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "ledgerTransactionList": [
- {
- "date": "2019-08-24T14:15:22Z",
- "month": "string",
- "documentNumber": 0,
- "text": "string",
- "amount": 0,
- "vatCode": "string",
- "vatType": "string",
- "vatPercent": 0,
- "vatAmount": 0,
- "documentId": "string",
- "searchId": "string",
- "project": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string",
- "projectId": "string"
}, - "activity": {
- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}, - "departmentId": "string",
- "dimension1Id": "string",
- "dimension2Id": "string"
}
]
}Provides the Document's url
| documentId required | string Id of the document you want to look |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "documentList": [
- {
- "name": "string",
- "format": "string",
- "url": "string"
}
]
}Provides balance sheet for the given date or between two dates
| date required | string Date in the format of yyyy-MM-dd |
| toDate | string Date in the format of yyyy-MM-dd |
| accountNumber | integer <int32> Account number for which you need balance |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "balanceList": [
- {
- "accountNumber": 0,
- "accountName": "string",
- "balance": 0,
- "credit": 0,
- "debit": 0,
- "inbound": 0,
- "outbound": 0,
- "year": 0
}
]
}Returns single User
| id required | string User ID |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "companyUser": {
- "name": "string",
- "email": "string",
- "mobile": "string",
- "phone": "string",
- "id": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
}
}updated and returns the given User
| id required | string User id |
| name required | string |
| email required | string |
| mobile | string |
| phone | string |
| id | string |
object (Address) |
{- "name": "string",
- "email": "string",
- "mobile": "string",
- "phone": "string",
- "id": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "companyUser": {
- "name": "string",
- "email": "string",
- "mobile": "string",
- "phone": "string",
- "id": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
}
}Returns list of users
| search | string string for search |
| count required | integer <int64> count denotes how many records need to fetch |
| offset required | integer <int64> offset denotes from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "companyUsers": [
- {
- "name": "string",
- "email": "string",
- "mobile": "string",
- "phone": "string",
- "id": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
}
]
}create new User
| name required | string |
| email required | string |
| mobile | string |
| phone | string |
| id | string |
object (Address) |
{- "name": "string",
- "email": "string",
- "mobile": "string",
- "phone": "string",
- "id": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "companyUser": {
- "name": "string",
- "email": "string",
- "mobile": "string",
- "phone": "string",
- "id": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
}
}Return Time entry by id
| id required | integer <int64> time entry id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "timeEntry": {
- "id": 0,
- "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}, - "salaryCode": {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "companyId": 0,
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "quantity": 0.1,
- "invoiceTime": 0.1,
- "actualTime": 0.1,
- "remarks": "string",
- "approved": 0,
- "journalId": 0,
- "discountPercent": 0.1,
- "amount": 0.1,
- "amountInclVat": 0.1,
- "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "asset": {
- "id": "string",
- "name": "string"
}
}
}Update Time entry by id
| id required | integer <int64> time entry id |
| id | integer <int64> |
object (Order) | |
object (SalaryCode) | |
object (TimeEntryUser) | |
object (Customer) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
| companyId | integer <int64> |
| fromTime | string <date-time> |
| toTime | string <date-time> |
| createdDate | string <date-time> |
| modifiedDate | string <date-time> |
| quantity | number <double> |
| invoiceTime | number <double> |
| actualTime | number <double> |
| remarks | string |
| approved | integer <int32> |
| journalId | integer <int64> |
| discountPercent | number <double> |
| amount | number <double> |
| amountInclVat | number <double> |
object (Dimension) | |
object (Dimension) | |
object (Dimension) |
{- "id": 0,
- "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}, - "salaryCode": {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "companyId": 0,
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "quantity": 0.1,
- "invoiceTime": 0.1,
- "actualTime": 0.1,
- "remarks": "string",
- "approved": 0,
- "journalId": 0,
- "discountPercent": 0.1,
- "amount": 0.1,
- "amountInclVat": 0.1,
- "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "asset": {
- "id": "string",
- "name": "string"
}
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "timeEntry": {
- "id": 0,
- "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}, - "salaryCode": {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "companyId": 0,
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "quantity": 0.1,
- "invoiceTime": 0.1,
- "actualTime": 0.1,
- "remarks": "string",
- "approved": 0,
- "journalId": 0,
- "discountPercent": 0.1,
- "amount": 0.1,
- "amountInclVat": 0.1,
- "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "asset": {
- "id": "string",
- "name": "string"
}
}
}Returns list of time entries
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
| stage | string Enum: "forApproval" "approved" "history" filter by stage |
| salaryCodeId | string filter by salary code id |
| fromDate | string fromDate in dd-MM-yyyy format |
| toDate | string toDate in dd-MM-yyyy format |
| projectId | string filter by project |
| sortBy | string Enum: "date" "salaryCode" "amount" sorting field |
| sortType | string Enum: "asc" "desc" sorting type |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "timeEntries": [
- {
- "id": 0,
- "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}, - "salaryCode": {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "companyId": 0,
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "quantity": 0.1,
- "invoiceTime": 0.1,
- "actualTime": 0.1,
- "remarks": "string",
- "approved": 0,
- "journalId": 0,
- "discountPercent": 0.1,
- "amount": 0.1,
- "amountInclVat": 0.1,
- "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "asset": {
- "id": "string",
- "name": "string"
}
}
], - "count": 0
}Create new time entry
| id | integer <int64> |
object (Order) | |
object (SalaryCode) | |
object (TimeEntryUser) | |
object (Customer) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
| companyId | integer <int64> |
| fromTime | string <date-time> |
| toTime | string <date-time> |
| createdDate | string <date-time> |
| modifiedDate | string <date-time> |
| quantity | number <double> |
| invoiceTime | number <double> |
| actualTime | number <double> |
| remarks | string |
| approved | integer <int32> |
| journalId | integer <int64> |
| discountPercent | number <double> |
| amount | number <double> |
| amountInclVat | number <double> |
object (Dimension) | |
object (Dimension) | |
object (Dimension) |
{- "id": 0,
- "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}, - "salaryCode": {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "companyId": 0,
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "quantity": 0.1,
- "invoiceTime": 0.1,
- "actualTime": 0.1,
- "remarks": "string",
- "approved": 0,
- "journalId": 0,
- "discountPercent": 0.1,
- "amount": 0.1,
- "amountInclVat": 0.1,
- "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "asset": {
- "id": "string",
- "name": "string"
}
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "timeEntry": {
- "id": 0,
- "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}, - "salaryCode": {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}, - "user": {
- "id": "string",
- "name": "string"
}, - "customer": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "companyId": 0,
- "fromTime": "2019-08-24T14:15:22Z",
- "toTime": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "modifiedDate": "2019-08-24T14:15:22Z",
- "quantity": 0.1,
- "invoiceTime": 0.1,
- "actualTime": 0.1,
- "remarks": "string",
- "approved": 0,
- "journalId": 0,
- "discountPercent": 0.1,
- "amount": 0.1,
- "amountInclVat": 0.1,
- "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "asset": {
- "id": "string",
- "name": "string"
}
}
}Delete Time entries by id
| ids required | Array of integers <int64> [ 1 .. 2147483647 ] items [ items <int64 > ] ID of time entries that needs to be deleted |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
]
}Return single supplier
| id required | integer <int64> supplier Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "supplierDetails": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}
}Update supplier by id
| id required | integer <int64> supplier Id |
| id | integer <int32> |
| name | string |
object (Address) | |
| organizationNumber | string |
| mobileNumber | string |
| telephoneNumber | string |
string | |
object (Address) | |
object (PaymentCondition) | |
object (Currency) | |
object (DeliveryCondition) | |
object (DeliveryMethod) | |
| vatCode | integer <int32> |
{- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "supplierDetails": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}
}Return all suppliers
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "suppliers": [
- {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}
]
}Create a new supplier
| id | integer <int32> |
| name | string |
object (Address) | |
| organizationNumber | string |
| mobileNumber | string |
| telephoneNumber | string |
string | |
object (Address) | |
object (PaymentCondition) | |
object (Currency) | |
object (DeliveryCondition) | |
object (DeliveryMethod) | |
| vatCode | integer <int32> |
{- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "supplierDetails": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}
}Return single section
| id required | string section Id |
| projectId required | string project id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "section": {
- "id": "string",
- "name": "string",
- "projectId": "string"
}
}Update section by id
| id required | string section Id |
| projectId required | string project id |
| id | string |
| name | string |
| projectId | string |
{- "id": "string",
- "name": "string",
- "projectId": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "section": {
- "id": "string",
- "name": "string",
- "projectId": "string"
}
}Return all sections
| projectId required | string project id |
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "sections": [
- {
- "id": "string",
- "name": "string",
- "projectId": "string"
}
]
}Create a new section
| projectId required | string project id |
| id | string |
| name | string |
| projectId | string |
{- "id": "string",
- "name": "string",
- "projectId": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "section": {
- "id": "string",
- "name": "string",
- "projectId": "string"
}
}Return all salary run logs
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "salaryRunLogs": [
- {
- "getaMessageId": 0,
- "bankListLogs": [
- {
- "bankListLineItemLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "companyBankAccountNumber": 0,
- "summaryBankListLineItemsLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "totalAbroad": 0,
- "totalAmount": 0,
- "totalBankPay": 0,
- "totalCash": 0,
- "totalCashPaidSalary": 0,
- "totalClaimants": 0,
- "totalHolidayPay": 0,
- "totalPaidSalary": 0,
- "totalPayroll": 0,
- "totalTax": 0,
- "userName": "string"
}
], - "bankListLog": {
- "bankListLineItemLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "companyBankAccountNumber": 0,
- "summaryBankListLineItemsLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "totalAbroad": 0,
- "totalAmount": 0,
- "totalBankPay": 0,
- "totalCash": 0,
- "totalCashPaidSalary": 0,
- "totalClaimants": 0,
- "totalHolidayPay": 0,
- "totalPaidSalary": 0,
- "totalPayroll": 0,
- "totalTax": 0,
- "userName": "string"
}, - "companyId": 0,
- "companyName": "string",
- "createdBy": 0,
- "ledgerAccountLog": {
- "createdBy": "string",
- "createdUserId": 0,
- "ledgerAccountLineItems": [
- {
- "accountId": 0,
- "accountName": "string",
- "accountNo": 0,
- "ledgerAccountLineItemAmount": 0
}
], - "ledgerSalaryReportingCodeDetailsItems": [
- {
- "ledgerAccountNo": 0,
- "ledgerAccountSalaryReportingCodeLineItemLogId": 0,
- "amount": 0,
- "count": 0,
- "rate": 0,
- "salaryReportingCode": 0,
- "salaryReportingCodeId": 0,
- "salaryReportingCodeName": "string",
- "tableTax": true,
- "percentageTax": true,
- "tax": true
}
], - "paymentDate": "2019-08-24T14:15:22Z",
- "salaryRunLogId": 0,
- "totalAmount": 0,
- "totalSalary": 0,
- "totalTax": 0
}, - "month": 0,
- "paySlipLogs": [
- {
- "employeeId": "string",
- "holidayCashBasis": 0,
- "holidayPayPercent": 0,
- "paySlipLogId": 0,
- "payrollWithHoldingTax": 0,
- "salaryWithAdvance": 0,
- "companyId": 0,
- "userId": "string",
- "userName": "string",
- "salaryRunDate": 0,
- "paymentDate": "2019-08-24",
- "sampleNo": "string",
- "periodText": "string",
- "month": 0,
- "taxes": 0,
- "paidAmount": 0,
- "paySlipLineItems": [
- {
- "amount": 0,
- "count": 0,
- "paySlipLineItemId": 0,
- "rate": 0,
- "personTaxAmount": 0,
- "salaryReportingCode": "string",
- "salaryReportingCodeId": 0,
- "salaryReportingCodeName": "string",
- "taxType": "string",
- "activeDepartmentInLineItem": true,
- "tableTax": true,
- "percentageTax": true,
- "tax": true
}
], - "payWithSalary": true
}
], - "paymentDate": "2019-08-24T14:15:22Z",
- "periodText": "string",
- "reInitiatePRAvailable": true,
- "salaryRunDate": 0,
- "salaryRunLogId": 0,
- "salaryRunNo": 0,
- "taxes": 0,
- "permission": true,
- "update": true,
- "variable": true,
- "employeeInfoUpdate": true,
- "employeeAdded": true,
- "regenerate": true,
- "emailSent": true,
- "holidayPayRun": true,
- "savedSalaryRun": true,
- "clearSalaryRun": true,
- "selectedUserGenerate": true,
- "usersAdded": true,
- "reset": true,
- "halfTax": true,
- "delete": true,
- "noTax": true
}
]
}Return all ledger account logs
| ids required | Array of integers <int64> [ items <int64 > ] SalaryRun log ids |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "ledgerAccountLogs": [
- {
- "createdBy": "string",
- "createdUserId": 0,
- "ledgerAccountLineItems": [
- {
- "accountId": 0,
- "accountName": "string",
- "accountNo": 0,
- "ledgerAccountLineItemAmount": 0
}
], - "ledgerSalaryReportingCodeDetailsItems": [
- {
- "ledgerAccountNo": 0,
- "ledgerAccountSalaryReportingCodeLineItemLogId": 0,
- "amount": 0,
- "count": 0,
- "rate": 0,
- "salaryReportingCode": 0,
- "salaryReportingCodeId": 0,
- "salaryReportingCodeName": "string",
- "tableTax": true,
- "percentageTax": true,
- "tax": true
}
], - "paymentDate": "2019-08-24T14:15:22Z",
- "salaryRunLogId": 0,
- "totalAmount": 0,
- "totalSalary": 0,
- "totalTax": 0
}
]
}Return reports for salary run log
| id required | integer <int64> salary run log Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "salaryRunReportDetails": {
- "createdUserId": 0,
- "createdBy": "string",
- "reports": [
- {
- "report": {
- "dataSource": {
- "contentType": "string",
- "outputStream": { },
- "name": "string",
- "inputStream": { }
}, - "contentType": "string",
- "outputStream": { },
- "name": "string",
- "inputStream": { },
- "content": { },
- "commandMap": {
- "mimeTypes": [
- "string"
]
}, - "transferDataFlavors": [
- {
- "mimeType": "string",
- "humanPresentableName": "string"
}
], - "allCommands": [
- {
- "commandClass": "string",
- "commandName": "string"
}
], - "preferredCommands": [
- {
- "commandClass": "string",
- "commandName": "string"
}
]
}, - "jrxmlReport": {
- "dataSource": {
- "contentType": "string",
- "outputStream": { },
- "name": "string",
- "inputStream": { }
}, - "contentType": "string",
- "outputStream": { },
- "name": "string",
- "inputStream": { },
- "content": { },
- "commandMap": {
- "mimeTypes": [
- "string"
]
}, - "transferDataFlavors": [
- {
- "mimeType": "string",
- "humanPresentableName": "string"
}
], - "allCommands": [
- {
- "commandClass": "string",
- "commandName": "string"
}
], - "preferredCommands": [
- {
- "commandClass": "string",
- "commandName": "string"
}
]
}, - "reportName": "string"
}
], - "documents": [
- {
- "name": "string",
- "format": "string",
- "url": "string"
}
]
}
}Return all ledger account logs
| id required | integer <int64> salary run log Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "ledgerAccountLogs": [
- {
- "createdBy": "string",
- "createdUserId": 0,
- "ledgerAccountLineItems": [
- {
- "accountId": 0,
- "accountName": "string",
- "accountNo": 0,
- "ledgerAccountLineItemAmount": 0
}
], - "ledgerSalaryReportingCodeDetailsItems": [
- {
- "ledgerAccountNo": 0,
- "ledgerAccountSalaryReportingCodeLineItemLogId": 0,
- "amount": 0,
- "count": 0,
- "rate": 0,
- "salaryReportingCode": 0,
- "salaryReportingCodeId": 0,
- "salaryReportingCodeName": "string",
- "tableTax": true,
- "percentageTax": true,
- "tax": true
}
], - "paymentDate": "2019-08-24T14:15:22Z",
- "salaryRunLogId": 0,
- "totalAmount": 0,
- "totalSalary": 0,
- "totalTax": 0
}
]
}Return all non sync salary run logs
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "salaryRunLogs": [
- {
- "getaMessageId": 0,
- "bankListLogs": [
- {
- "bankListLineItemLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "companyBankAccountNumber": 0,
- "summaryBankListLineItemsLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "totalAbroad": 0,
- "totalAmount": 0,
- "totalBankPay": 0,
- "totalCash": 0,
- "totalCashPaidSalary": 0,
- "totalClaimants": 0,
- "totalHolidayPay": 0,
- "totalPaidSalary": 0,
- "totalPayroll": 0,
- "totalTax": 0,
- "userName": "string"
}
], - "bankListLog": {
- "bankListLineItemLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "companyBankAccountNumber": 0,
- "summaryBankListLineItemsLogs": [
- {
- "accountNo": 0,
- "bankListLineItemLogId": 0,
- "amount": 0,
- "userCompanyId": 0,
- "userId": 0,
- "userName": "string",
- "cashList": true
}
], - "totalAbroad": 0,
- "totalAmount": 0,
- "totalBankPay": 0,
- "totalCash": 0,
- "totalCashPaidSalary": 0,
- "totalClaimants": 0,
- "totalHolidayPay": 0,
- "totalPaidSalary": 0,
- "totalPayroll": 0,
- "totalTax": 0,
- "userName": "string"
}, - "companyId": 0,
- "companyName": "string",
- "createdBy": 0,
- "ledgerAccountLog": {
- "createdBy": "string",
- "createdUserId": 0,
- "ledgerAccountLineItems": [
- {
- "accountId": 0,
- "accountName": "string",
- "accountNo": 0,
- "ledgerAccountLineItemAmount": 0
}
], - "ledgerSalaryReportingCodeDetailsItems": [
- {
- "ledgerAccountNo": 0,
- "ledgerAccountSalaryReportingCodeLineItemLogId": 0,
- "amount": 0,
- "count": 0,
- "rate": 0,
- "salaryReportingCode": 0,
- "salaryReportingCodeId": 0,
- "salaryReportingCodeName": "string",
- "tableTax": true,
- "percentageTax": true,
- "tax": true
}
], - "paymentDate": "2019-08-24T14:15:22Z",
- "salaryRunLogId": 0,
- "totalAmount": 0,
- "totalSalary": 0,
- "totalTax": 0
}, - "month": 0,
- "paySlipLogs": [
- {
- "employeeId": "string",
- "holidayCashBasis": 0,
- "holidayPayPercent": 0,
- "paySlipLogId": 0,
- "payrollWithHoldingTax": 0,
- "salaryWithAdvance": 0,
- "companyId": 0,
- "userId": "string",
- "userName": "string",
- "salaryRunDate": 0,
- "paymentDate": "2019-08-24",
- "sampleNo": "string",
- "periodText": "string",
- "month": 0,
- "taxes": 0,
- "paidAmount": 0,
- "paySlipLineItems": [
- {
- "amount": 0,
- "count": 0,
- "paySlipLineItemId": 0,
- "rate": 0,
- "personTaxAmount": 0,
- "salaryReportingCode": "string",
- "salaryReportingCodeId": 0,
- "salaryReportingCodeName": "string",
- "taxType": "string",
- "activeDepartmentInLineItem": true,
- "tableTax": true,
- "percentageTax": true,
- "tax": true
}
], - "payWithSalary": true
}
], - "paymentDate": "2019-08-24T14:15:22Z",
- "periodText": "string",
- "reInitiatePRAvailable": true,
- "salaryRunDate": 0,
- "salaryRunLogId": 0,
- "salaryRunNo": 0,
- "taxes": 0,
- "permission": true,
- "update": true,
- "variable": true,
- "employeeInfoUpdate": true,
- "employeeAdded": true,
- "regenerate": true,
- "emailSent": true,
- "holidayPayRun": true,
- "savedSalaryRun": true,
- "clearSalaryRun": true,
- "selectedUserGenerate": true,
- "usersAdded": true,
- "reset": true,
- "halfTax": true,
- "delete": true,
- "noTax": true
}
]
}Update project by id
| id required | string project Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "project": {
- "id": "string",
- "name": "string"
}
}Return all projects
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "projects": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new project
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "project": {
- "id": "string",
- "name": "string"
}
}Return single Payment Method
| id required | integer <int64> paymentMethod Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}
}Update Payment Method by id
| id required | integer <int64> paymentMethod Id |
| id | integer <int32> |
| name | string |
| standard | boolean |
{- "id": 0,
- "name": "string",
- "standard": true
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}
}Return all payment methods
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentMethods": [
- {
- "id": 0,
- "name": "string",
- "standard": true
}
]
}Create a new Payment Method
| id | integer <int32> |
| name | string |
| standard | boolean |
{- "id": 0,
- "name": "string",
- "standard": true
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}
}Return single Payment Condition
| id required | integer <int64> paymentCondition Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}
}Update Payment Condition by id
| id required | integer <int64> paymentCondition Id |
| id | integer <int32> |
| name | string |
| noOfDays | integer <int32> |
{- "id": 0,
- "name": "string",
- "noOfDays": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}
}Return all payment conditions
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentConditions": [
- {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}
]
}Create a new Payment Condition
| id | integer <int32> |
| name | string |
| noOfDays | integer <int32> |
{- "id": 0,
- "name": "string",
- "noOfDays": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}
}Returns a single order
| id required | integer <int32> ID of order to return |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "invoiceAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "orderLines": [
- {
- "id": 0,
- "product": {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string"
}, - "quantity": 0,
- "discount": 0,
- "amount": 0
}
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "poNumber": "string",
- "customerEmail": "string",
- "mobileNo": "string"
}
}Update order
| id required | integer <int32> order id |
| id | integer <int32> |
| orderDate | string <date-time> |
| deliveryDate | string <date-time> |
| invoiceDate | string <date-time> |
object (DeliveryMethod) | |
| vatCode | integer <int32> |
| orderNumber | integer <int32> |
| name | string |
| customerId | integer <int32> |
| amount | number |
| amountIncludingVat | number |
| customerReference | string |
object (Currency) | |
| linesCount | integer <int32> |
object (OrderType) | |
| ourRef | string |
object (Address) | |
object (Address) | |
object (DeliveryCondition) | |
Array of objects (OrderLine) | |
object (PaymentMethod) | |
object (PaymentCondition) | |
| poNumber | string |
| customerEmail | string |
| mobileNo | string |
{- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "invoiceAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "orderLines": [
- {
- "id": 0,
- "product": {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string"
}, - "quantity": 0,
- "discount": 0,
- "amount": 0
}
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "poNumber": "string",
- "customerEmail": "string",
- "mobileNo": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "invoiceAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "orderLines": [
- {
- "id": 0,
- "product": {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string"
}, - "quantity": 0,
- "discount": 0,
- "amount": 0
}
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "poNumber": "string",
- "customerEmail": "string",
- "mobileNo": "string"
}
}Returns an array of Orders
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
| stage | string Enum: "pending" "forApproval" "finalized" filter by stage |
| customerId | string filter by customer id |
| fromDate | string fromDate in dd-MM-yyyy format |
| toDate | string toDate in dd-MM-yyyy format |
| deliveryMethodId | string filter by delivery method |
| sortBy | string Enum: "orderDate" "amount" "orderNo" sorting field |
| sortType | string Enum: "asc" "desc" sorting type |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "orders": [
- {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string"
}
], - "count": 0
}Create a new order
| id | integer <int32> |
| orderDate | string <date-time> |
| deliveryDate | string <date-time> |
| invoiceDate | string <date-time> |
object (DeliveryMethod) | |
| vatCode | integer <int32> |
| orderNumber | integer <int32> |
| name | string |
| customerId | integer <int32> |
| amount | number |
| amountIncludingVat | number |
| customerReference | string |
object (Currency) | |
| linesCount | integer <int32> |
object (OrderType) | |
| ourRef | string |
object (Address) | |
object (Address) | |
object (DeliveryCondition) | |
Array of objects (OrderLine) | |
object (PaymentMethod) | |
object (PaymentCondition) | |
| poNumber | string |
| customerEmail | string |
| mobileNo | string |
{- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "invoiceAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "orderLines": [
- {
- "id": 0,
- "product": {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string"
}, - "quantity": 0,
- "discount": 0,
- "amount": 0
}
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "poNumber": "string",
- "customerEmail": "string",
- "mobileNo": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "order": {
- "id": 0,
- "orderDate": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0,
- "orderNumber": 0,
- "name": "string",
- "customerId": 0,
- "amount": 0,
- "amountIncludingVat": 0,
- "customerReference": "string",
- "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "linesCount": 0,
- "orderType": {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}, - "ourRef": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "invoiceAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "orderLines": [
- {
- "id": 0,
- "product": {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string"
}, - "quantity": 0,
- "discount": 0,
- "amount": 0
}
], - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "poNumber": "string",
- "customerEmail": "string",
- "mobileNo": "string"
}
}Delete Orders by id
| ids required | Array of integers <int32> [ 1 .. 2147483647 ] items [ items <int32 > ] ID of time entries that needs to be deleted |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
]
}Update order status by order Id and status id
| id required | integer <int32> Order Id |
| orderTypeId required | integer <int32> Order type id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
]
}Returns a single expense
| id required | string ID of expense to return |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "expense": {
- "isGroup": true,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "parentId": "string",
- "id": "string",
- "amount": 12,
- "expenseDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "notes": "Plane tickets",
- "name": "expense name",
- "isActive": true,
- "hasAttachments": true,
- "status": "Inbox",
- "expenseType": {
- "id": 0,
- "name": "string"
}, - "user": {
- "userId": "string",
- "email": "string",
- "language": "string",
- "name": "string",
- "isActive": true,
- "isBlocked": true,
- "isSupportUser": true,
- "isUserBankIdActive": true,
- "logo": "string",
- "image": "string",
- "colour": "string",
- "phoneNumber": "string",
- "hasEmailUpdates": true,
- "hasAttestationEmailUpdates": true,
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "postalCode": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "defaultCompany": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "attestationUsers": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}
], - "currentAuthority": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}, - "labels": [
- {
- "labelId": 0,
- "labelName": "string",
- "companyId": 0,
- "entityTypeId": 0,
- "userId": 0,
- "count": 0,
- "version": 0,
- "startingDate": "2019-08-24T14:15:22Z",
- "endingDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0.1,
- "isActive": true,
- "baseCurrencyCode": "string",
- "isUpdate": true
}
], - "expenseStageId": 0,
- "expenseStatusId": 0,
- "isAttestationCycleStarted": true,
- "company": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}, - "attachments": [
- {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
], - "expensePaymentType": {
- "id": 0,
- "name": "string"
}
}
}| id required | string ID of the expense that needs to be updated. |
| isGroup | boolean |
| fromDate | string <date-time> |
| toDate | string <date-time> |
| parentId | string |
| id | string |
| amount required | number <double> |
| expenseDate | string <date-time> |
| createdDate | string <date-time> |
| notes | string |
| name | string |
| isActive | boolean |
| hasAttachments | boolean |
| status | string |
object (ExpenseType) | |
object (User) | |
object (Currency) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
Array of objects (AttestationUsers) | |
object (AttestationUsers) | |
Array of objects (Label) | |
| expenseStageId | integer <int64> |
| expenseStatusId | integer <int64> |
| isAttestationCycleStarted | boolean |
object (Company) | |
Array of objects (Attachment) | |
object (ExpensePaymentType) |
{- "isGroup": true,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "parentId": "string",
- "id": "string",
- "amount": 12,
- "expenseDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "notes": "Plane tickets",
- "name": "expense name",
- "isActive": true,
- "hasAttachments": true,
- "status": "Inbox",
- "expenseType": {
- "id": 0,
- "name": "string"
}, - "user": {
- "userId": "string",
- "email": "string",
- "language": "string",
- "name": "string",
- "isActive": true,
- "isBlocked": true,
- "isSupportUser": true,
- "isUserBankIdActive": true,
- "logo": "string",
- "image": "string",
- "colour": "string",
- "phoneNumber": "string",
- "hasEmailUpdates": true,
- "hasAttestationEmailUpdates": true,
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "postalCode": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "defaultCompany": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "attestationUsers": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}
], - "currentAuthority": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}, - "labels": [
- {
- "labelId": 0,
- "labelName": "string",
- "companyId": 0,
- "entityTypeId": 0,
- "userId": 0,
- "count": 0,
- "version": 0,
- "startingDate": "2019-08-24T14:15:22Z",
- "endingDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0.1,
- "isActive": true,
- "baseCurrencyCode": "string",
- "isUpdate": true
}
], - "expenseStageId": 0,
- "expenseStatusId": 0,
- "isAttestationCycleStarted": true,
- "company": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}, - "attachments": [
- {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
], - "expensePaymentType": {
- "id": 0,
- "name": "string"
}
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "expense": {
- "isGroup": true,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "parentId": "string",
- "id": "string",
- "amount": 12,
- "expenseDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "notes": "Plane tickets",
- "name": "expense name",
- "isActive": true,
- "hasAttachments": true,
- "status": "Inbox",
- "expenseType": {
- "id": 0,
- "name": "string"
}, - "user": {
- "userId": "string",
- "email": "string",
- "language": "string",
- "name": "string",
- "isActive": true,
- "isBlocked": true,
- "isSupportUser": true,
- "isUserBankIdActive": true,
- "logo": "string",
- "image": "string",
- "colour": "string",
- "phoneNumber": "string",
- "hasEmailUpdates": true,
- "hasAttestationEmailUpdates": true,
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "postalCode": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "defaultCompany": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "attestationUsers": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}
], - "currentAuthority": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}, - "labels": [
- {
- "labelId": 0,
- "labelName": "string",
- "companyId": 0,
- "entityTypeId": 0,
- "userId": 0,
- "count": 0,
- "version": 0,
- "startingDate": "2019-08-24T14:15:22Z",
- "endingDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0.1,
- "isActive": true,
- "baseCurrencyCode": "string",
- "isUpdate": true
}
], - "expenseStageId": 0,
- "expenseStatusId": 0,
- "isAttestationCycleStarted": true,
- "company": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}, - "attachments": [
- {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
], - "expensePaymentType": {
- "id": 0,
- "name": "string"
}
}
}Returns an array of Expenses
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
| stage | string Enum: "Inbox" "Accepted" "AtAccountingOffice" "History" "Attestation" "Rejected" "Finalized" filter by stage |
| expenseType | string filter by expense type |
| fromDate | string fromDate in dd-MM-yyyy format |
| toDate | string toDate in dd-MM-yyyy format |
| paymentType | string filter by payment type |
| sortBy | string Enum: "date" "amount" sorting field |
| sortType | string Enum: "asc" "desc" sorting type |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "expenses": [
- {
- "isGroup": true,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "parentId": "string",
- "id": "string",
- "amount": 12,
- "expenseDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "notes": "Plane tickets",
- "name": "expense name",
- "isActive": true,
- "hasAttachments": true,
- "status": "Inbox",
- "expenseType": {
- "id": 0,
- "name": "string"
}, - "user": {
- "userId": "string",
- "email": "string",
- "language": "string",
- "name": "string",
- "isActive": true,
- "isBlocked": true,
- "isSupportUser": true,
- "isUserBankIdActive": true,
- "logo": "string",
- "image": "string",
- "colour": "string",
- "phoneNumber": "string",
- "hasEmailUpdates": true,
- "hasAttestationEmailUpdates": true,
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "postalCode": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "defaultCompany": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "attestationUsers": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}
], - "currentAuthority": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}, - "labels": [
- {
- "labelId": 0,
- "labelName": "string",
- "companyId": 0,
- "entityTypeId": 0,
- "userId": 0,
- "count": 0,
- "version": 0,
- "startingDate": "2019-08-24T14:15:22Z",
- "endingDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0.1,
- "isActive": true,
- "baseCurrencyCode": "string",
- "isUpdate": true
}
]
}
], - "count": 0
}Adds an expense item to the system
| isGroup | boolean |
| fromDate | string <date-time> |
| toDate | string <date-time> |
| parentId | string |
| id | string |
| amount required | number <double> |
| expenseDate | string <date-time> |
| createdDate | string <date-time> |
| notes | string |
| name | string |
| isActive | boolean |
| hasAttachments | boolean |
| status | string |
object (ExpenseType) | |
object (User) | |
object (Currency) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
object (Dimension) | |
Array of objects (AttestationUsers) | |
object (AttestationUsers) | |
Array of objects (Label) | |
| expenseStageId | integer <int64> |
| expenseStatusId | integer <int64> |
| isAttestationCycleStarted | boolean |
object (Company) | |
Array of objects (Attachment) | |
object (ExpensePaymentType) |
{- "isGroup": true,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "parentId": "string",
- "id": "string",
- "amount": 12,
- "expenseDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "notes": "Plane tickets",
- "name": "expense name",
- "isActive": true,
- "hasAttachments": true,
- "status": "Inbox",
- "expenseType": {
- "id": 0,
- "name": "string"
}, - "user": {
- "userId": "string",
- "email": "string",
- "language": "string",
- "name": "string",
- "isActive": true,
- "isBlocked": true,
- "isSupportUser": true,
- "isUserBankIdActive": true,
- "logo": "string",
- "image": "string",
- "colour": "string",
- "phoneNumber": "string",
- "hasEmailUpdates": true,
- "hasAttestationEmailUpdates": true,
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "postalCode": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "defaultCompany": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "attestationUsers": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}
], - "currentAuthority": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}, - "labels": [
- {
- "labelId": 0,
- "labelName": "string",
- "companyId": 0,
- "entityTypeId": 0,
- "userId": 0,
- "count": 0,
- "version": 0,
- "startingDate": "2019-08-24T14:15:22Z",
- "endingDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0.1,
- "isActive": true,
- "baseCurrencyCode": "string",
- "isUpdate": true
}
], - "expenseStageId": 0,
- "expenseStatusId": 0,
- "isAttestationCycleStarted": true,
- "company": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}, - "attachments": [
- {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
], - "expensePaymentType": {
- "id": 0,
- "name": "string"
}
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "expense": {
- "isGroup": true,
- "fromDate": "2019-08-24T14:15:22Z",
- "toDate": "2019-08-24T14:15:22Z",
- "parentId": "string",
- "id": "string",
- "amount": 12,
- "expenseDate": "2019-08-24T14:15:22Z",
- "createdDate": "2019-08-24T14:15:22Z",
- "notes": "Plane tickets",
- "name": "expense name",
- "isActive": true,
- "hasAttachments": true,
- "status": "Inbox",
- "expenseType": {
- "id": 0,
- "name": "string"
}, - "user": {
- "userId": "string",
- "email": "string",
- "language": "string",
- "name": "string",
- "isActive": true,
- "isBlocked": true,
- "isSupportUser": true,
- "isUserBankIdActive": true,
- "logo": "string",
- "image": "string",
- "colour": "string",
- "phoneNumber": "string",
- "hasEmailUpdates": true,
- "hasAttestationEmailUpdates": true,
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "postalCode": "string",
- "city": "string",
- "state": "string",
- "country": "string",
- "defaultCompany": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "activity": {
- "id": "string",
- "name": "string"
}, - "section": {
- "id": "string",
- "name": "string"
}, - "department": {
- "id": "string",
- "name": "string"
}, - "project": {
- "id": "string",
- "name": "string"
}, - "dimension1": {
- "id": "string",
- "name": "string"
}, - "dimension2": {
- "id": "string",
- "name": "string"
}, - "attestationUsers": [
- {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}
], - "currentAuthority": {
- "id": 0,
- "userId": 0,
- "name": "string",
- "mailId": "string",
- "isExternalUser": true,
- "img": "string",
- "order": 0,
- "colour": "string"
}, - "labels": [
- {
- "labelId": 0,
- "labelName": "string",
- "companyId": 0,
- "entityTypeId": 0,
- "userId": 0,
- "count": 0,
- "version": 0,
- "startingDate": "2019-08-24T14:15:22Z",
- "endingDate": "2019-08-24T14:15:22Z",
- "totalAmount": 0.1,
- "isActive": true,
- "baseCurrencyCode": "string",
- "isUpdate": true
}
], - "expenseStageId": 0,
- "expenseStatusId": 0,
- "isAttestationCycleStarted": true,
- "company": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}, - "attachments": [
- {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
], - "expensePaymentType": {
- "id": 0,
- "name": "string"
}
}
}Upload attachment to AWS S3 via CMS
| fileName | string |
| file | string <binary> |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "attachment": {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
}Returns an array of objects where each object represents a expense payment type
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "paymentTypes": [
- {
- "id": 0,
- "name": "string"
}
]
}Returns an array of Attachments
| id required | string expense Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "attachments": [
- {
- "url": "string",
- "name": "string",
- "extension": "string",
- "fileRef": "string",
- "htmlContent": "string"
}
]
}Update dimension by id
| id required | string dimension Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "dimension": {
- "id": "string",
- "name": "string"
}
}Return all dimensions
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "dimensions": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new dimension
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "dimension": {
- "id": "string",
- "name": "string"
}
}Update dimension by id
| id required | string dimension Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "dimension": {
- "id": "string",
- "name": "string"
}
}Return all dimensions
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "dimensions": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new dimension
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "dimension": {
- "id": "string",
- "name": "string"
}
}Update department by id
| id required | string department Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "department": {
- "id": "string",
- "name": "string"
}
}Return all departments
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "departments": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new department
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "department": {
- "id": "string",
- "name": "string"
}
}Update Delivery Method by id
| id required | string deliveryMethod Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryMethod": {
- "id": "string",
- "name": "string"
}
}Return all delivery methods
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryMethods": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new Delivery Method
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryMethod": {
- "id": "string",
- "name": "string"
}
}Return single Delivery Condition
| id required | string deliveryCondition Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryCondition": {
- "id": "string",
- "name": "string"
}
}Update Delivery Condition by id
| id required | string deliveryCondition Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryCondition": {
- "id": "string",
- "name": "string"
}
}Return all delivery conditions
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryConditions": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new Delivery Condition
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "deliveryCondition": {
- "id": "string",
- "name": "string"
}
}Return single customer
| id required | integer <int64> customer Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "customerDetails": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}
}Update customer by id
| id required | integer <int64> customer Id |
| id | integer <int32> |
| name | string |
object (Address) | |
| organizationNumber | string |
| mobileNumber | string |
| telephoneNumber | string |
string | |
object (Address) | |
object (PaymentMethod) | |
object (PaymentCondition) | |
object (Currency) | |
object (DeliveryCondition) | |
object (DeliveryMethod) | |
| vatCode | integer <int32> |
{- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "customerDetails": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}
}Return all customers
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "customers": [
- {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string"
}
]
}Create a new customer
| id | integer <int32> |
| name | string |
object (Address) | |
| organizationNumber | string |
| mobileNumber | string |
| telephoneNumber | string |
string | |
object (Address) | |
object (PaymentMethod) | |
object (PaymentCondition) | |
object (Currency) | |
object (DeliveryCondition) | |
object (DeliveryMethod) | |
| vatCode | integer <int32> |
{- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "customerDetails": {
- "id": 0,
- "name": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "deliveryAddress": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "paymentMethod": {
- "id": 0,
- "name": "string",
- "standard": true
}, - "paymentCondition": {
- "id": 0,
- "name": "string",
- "noOfDays": 0
}, - "currency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "deliveryCondition": {
- "id": "string",
- "name": "string"
}, - "deliveryMethod": {
- "id": "string",
- "name": "string"
}, - "vatCode": 0
}
}Return all delivery addresses of customer
| id required | integer <int64> customer Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "addresses": [
- {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}
]
}Return all contact persons of customer/supplier
| id required | integer <int64> customer/supplier Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "contacts": [
- {
- "id": 0,
- "name": "string",
- "mobileNumber": "string",
- "telephoneNumber": "string",
- "email": "string",
- "position": {
- "id": "string",
- "name": "string"
}
}
]
}Update asset by id
| id required | string asset Id |
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "asset": {
- "id": "string",
- "name": "string"
}
}Return all assets
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "assets": [
- {
- "id": "string",
- "name": "string"
}
]
}Create a new asset
| id | string |
| name | string |
{- "id": "string",
- "name": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "asset": {
- "id": "string",
- "name": "string"
}
}Return single activity
| id required | string activity Id |
| projectId required | string Project id of activities |
| sectionId required | string Section id of activities |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "activity": {
- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}
}Update activity by id
| id required | string activity Id |
| projectId required | string Project id of activities |
| sectionId required | string Section id of activities |
| id | string |
| name | string |
| projectId | string |
| sectionId | string |
{- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "activity": {
- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}
}Delete activity by id
| id required | string activity Id |
| projectId required | string Project id of activities |
| sectionId required | string Section id of activities |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
]
}Return all activitys
| projectId required | string Project id of activities |
| sectionId required | string Section id of activities |
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "activities": [
- {
- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}
]
}Create a new activity
| projectId required | string Project id of activities |
| sectionId required | string Section id of activities |
| id | string |
| name | string |
| projectId | string |
| sectionId | string |
{- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "activity": {
- "id": "string",
- "name": "string",
- "projectId": "string",
- "sectionId": "string"
}
}Return all salary codes
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "salaryCodes": [
- {
- "id": "string",
- "name": "string",
- "costPrice": 0.1,
- "unit": "string",
- "salePrice": 0.1,
- "vatCodeId": 0
}
]
}Return all order types
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "orderTypes": [
- {
- "id": 0,
- "name": "string",
- "nextOrderTypeId": 0
}
]
}Return all products
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "products": [
- {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string"
}
]
}Return single product
| id required | string product Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "productDetails": {
- "id": "string",
- "name": "string",
- "unit": "string",
- "price": 0,
- "priceIncludingVat": 0,
- "currencyCode": "string",
- "vatPercent": 0,
- "imageUrl": "string",
- "productGroup": {
- "id": "string",
- "parentId": "string",
- "name": "string"
}, - "accountCode": {
- "id": "string",
- "name": "string"
}, - "notes": "string"
}
}Provides the Document's in url
| id required | string product Id |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "documentList": [
- {
- "name": "string",
- "format": "string",
- "url": "string"
}
]
}Return all product groups
| search required | string string for search |
| count required | integer <int64> denotes how many records need to fetch |
| offset required | integer <int64> offset from where to fetch records |
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "productGroups": [
- {
- "id": "string",
- "parentId": "string",
- "name": "string"
}
]
}Returns an array of objects where each object represents a currency
{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "currencies": [
- {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}
]
}{- "code": "string",
- "message": "string",
- "messageArgs": [
- "string"
], - "company": {
- "name": "string",
- "companyId": 0,
- "logo": "string",
- "colour": "string",
- "baseCurrency": {
- "currencyName": "Norske krone",
- "currencyCode": "NOK"
}, - "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "addressLine3": "string",
- "postalCode": "string",
- "postalPlace": "string",
- "country": "string",
- "countryCode": "string",
- "state": "string"
}, - "organizationNumber": "string",
- "migrationStatus": 0
}
}