GET /api-v1/impersonate/{id}

Headers

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID integer

    ID of organization, for which the operation must be performed

Path parameters

  • id integer Required

Responses

  • 200 application/json

    OK

    One of:
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/impersonate/{id}
curl \
 --request GET 'https://wyzio.app/api-v1/impersonate/{id}' \
 --header "WEAL-TOKEN: string" \
 --header "TARGET-ORGANIZATION-ID: 42"
Response examples (200)
{
  "contactId": 42,
  "contactType": "string",
  "isCustomer": true,
  "isVendor": true,
  "isStaff": true,
  "isUser": true,
  "defaultLanguage": "EN",
  "phone": "string",
  "fax": "string",
  "mobile": "string",
  "email": "string",
  "webSite": "string",
  "warnings": "string",
  "archived": true,
  "relatedOrganizationContactIds": [
    42
  ],
  "relatedContactIds": [
    42
  ],
  "addresses": [
    {
      "id": 42,
      "name": "string",
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": {
        "id": 42,
        "name": "string",
        "code": "string",
        "taxMode": "ANNUALLY"
      },
      "countryCode2": "string",
      "postCode": "string",
      "toTheAttentionOf": "string",
      "position": 42,
      "houseNumber": "string",
      "countryId": 42,
      "service": "string",
      "readOnly": true
    }
  ],
  "communications": [
    {
      "id": 42,
      "date": "string",
      "type": "PHONE_CALL",
      "description": "string",
      "longDescription": "string",
      "ourContactId": 42,
      "externalContactId": 42,
      "externalContactName": "string",
      "ourContactName": "string",
      "externalContactIdName": "string"
    }
  ],
  "additionalInformation": [
    {
      "id": 42,
      "note": "string",
      "tag": {
        "id": 42,
        "name": "string"
      }
    }
  ],
  "tags": [
    {
      "id": 42,
      "name": "string"
    }
  ],
  "banks": [
    {
      "id": 42,
      "name": "string",
      "accountNumber": "string",
      "qrIban": "string",
      "isrCustomerNumber": "string",
      "bankCustomerNumber": "string",
      "swiftBic": "string",
      "bankName": "string",
      "remark": "string",
      "position": 42,
      "useForReconciliation": true,
      "chartOfAccounts": 42,
      "accountHolderAddress": {
        "id": 42,
        "name": "string",
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": {
          "id": 42,
          "name": "string",
          "code": "string",
          "taxMode": "ANNUALLY"
        },
        "countryCode2": "string",
        "postCode": "string",
        "toTheAttentionOf": "string",
        "position": 42,
        "houseNumber": "string",
        "countryId": 42,
        "service": "string",
        "readOnly": true
      },
      "customHolder": true
    }
  ],
  "organizationId": 42,
  "organizationUsesTimesheets": true,
  "permissionsTree": [
    {
      "id": 42,
      "organizationId": 42,
      "parentOrganizationId": 42,
      "name": "string",
      "isActive": true,
      "roles": [
        {
          "id": 42,
          "type": "ROLE",
          "name": "string",
          "isDefault": true
        }
      ],
      "globalRoles": [
        {
          "id": 42,
          "type": "ROLE",
          "name": "string",
          "isDefault": true
        }
      ],
      "availableRoles": [
        {
          "type": "ROLE",
          "name": "string",
          "isDefault": true,
          "description": "string",
          "id": 42,
          "realId": 42,
          "roleType": "ORGANIZATION"
        }
      ],
      "subUserContactId": 42,
      "availableEmployees": [
        {
          "id": 42,
          "name": "string",
          "email": "string"
        }
      ]
    }
  ],
  "defaultModule": "ALL",
  "supplier": {
    "id": 42,
    "businessUnitId": 42,
    "paymentAccountId": 42,
    "balanceSheetAccountId": 42,
    "currencyId": 42,
    "paymentTerms": "string",
    "feeSplitType": "CHARGED_TO_THE_BENEFICIARY",
    "contactId": 42,
    "vatNumber": "string",
    "vatType": "NO_VAT",
    "vatTypeCodeId": 42,
    "vatRateId": 42,
    "businessUnitName": "string",
    "paymentAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "PLAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "balanceSheetAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "officeId": 42,
    "placcountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "placcountId": 42
  },
  "client": {
    "id": 42,
    "businessUnitId": 42,
    "paymentAccountId": 42,
    "balanceSheetAccountId": 42,
    "currencyId": 42,
    "orderAddressId": 42,
    "orderAddressName": "string",
    "invoiceAddressId": 42,
    "invoiceAddressName": "string",
    "paymentTerms": "string",
    "lateNoticeMargin": "string",
    "clientDiscountRate": "string",
    "creditLimit": "string",
    "contactId": 42,
    "vatNumber": "string",
    "advancedInvoicingNote": "string",
    "vatTypeCodeId": 42,
    "vatRateId": 42,
    "orderValidity": "string",
    "articleDiscounts": [
      {
        "id": 42,
        "articleId": 42,
        "discount": 42.0,
        "articleIdName": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        }
      }
    ],
    "businessUnitName": "string",
    "paymentAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "PLAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "balanceSheetAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "billingEmail": "string",
    "orderEmail": "string",
    "lateNoticeEmail": "string",
    "officeId": 42,
    "placcountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "placcountId": 42
  },
  "staff": {
    "id": 42,
    "avsNumber": "string",
    "permitExpiryDate": "string",
    "jobTitle": "string",
    "employmentStartDate": "string",
    "employmentEndDate": "string",
    "contactId": 42,
    "workPermit": {
      "id": 42,
      "countryId": 42,
      "name": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "nameId": 42
    },
    "contractType": "OPEN_ENDED",
    "employeeDocumentType": "PASSPORT",
    "documentNumber": "string",
    "documentExpiryDate": "string",
    "maritalType": "SINGLE",
    "maritalDate": "string",
    "isSpouseWorking": true,
    "enforceTimesheets": true,
    "familyMembers": [
      {
        "id": 42,
        "staffId": 42,
        "familyMemberType": "SPOUSE",
        "firstName": "string",
        "lastName": "string",
        "birthDate": "string",
        "nationalityCountryId": 42
      }
    ],
    "timesheetPricingLines": [
      {
        "id": 42,
        "startDate": "string",
        "endDate": "string",
        "orderId": 42,
        "task": {
          "id": 42,
          "name": "string",
          "rate": 42.0,
          "organizationId": 42,
          "archived": true
        },
        "rate": "string",
        "clientId": 42,
        "staffId": 42,
        "clientName": "string"
      }
    ],
    "staffPayslips": [
      {
        "id": 42,
        "staffId": 42,
        "calendarYear": 42,
        "employmentStartDate": "string",
        "employmentEndDate": "string",
        "salaryCertificateNotes": "string",
        "isFreeTransportToWork": true,
        "isCanteenMealsOrMealsVouchers": true,
        "salaryInfo": {
          "id": 42,
          "organizationId": 42,
          "staffId": 42,
          "staffPayslipEntityId": 42,
          "salaryType": "MONTHLY",
          "workOccupancy": "string",
          "numberOfVacationDays": "string",
          "defaultPaymentAccountId": 42,
          "payrollCurrencyId": 42,
          "isSourceTaxEnabled": true,
          "capacity": "string",
          "hourlyRate": "string",
          "payableToBankId": 42,
          "organizationEmployeeGroupId": 42,
          "sourceTaxCode": "string",
          "regionId": 42,
          "totalOccupancy": "string",
          "defaultPaymentAccountName": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "hasOnlyOneJob": true,
          "singleParentType": "NOCOHAB",
          "denominationType": "RCC"
        },
        "employeeGroups": [
          {
            "id": 42,
            "staffPayslipEntityId": 42,
            "groupType": "ADMIN",
            "departmentId": 42,
            "percentage": "string",
            "departmentName": "string",
            "officeId": 42,
            "officeName": "string"
          }
        ],
        "systemLine": {
          "id": 42,
          "staffPayslipEntityId": 42,
          "payslipLineEntityId": 42,
          "bracket": "string",
          "rate": "string",
          "localizations": {
            "id": 42,
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "number": 42
        },
        "baseSalaryLine": {
          "id": 42,
          "staffPayslipEntityId": 42,
          "payslipLineEntityId": 42,
          "employeeAmount": "string",
          "employerAmount": "string",
          "payslipValueSplitType": "EMPLOYEE"
        },
        "payslipTableLines": [
          {
            "id": 42,
            "startDate": "string",
            "endDate": "string",
            "payslipEntityId": 42,
            "payslipLineId": "string",
            "organizationPayslipEntityId": 42,
            "staffPayslipEntityId": 42,
            "number": 42,
            "description": "string",
            "employeeValue": "string",
            "employerValue": "string",
            "quantity": "string",
            "employeePercentage": "string",
            "employerPercentage": "string",
            "organizationEmployeeGroupId": 42
          }
        ]
      }
    ],
    "costCalculationType": "AUTOMATIC",
    "timesheetsCost": "string",
    "pdfPassword": "string",
    "trainingLevel": "PHD",
    "position": "SENIOR"
  },
  "externalId": "string",
  "groupRoles": [
    {
      "id": 42,
      "name": "string",
      "roleType": "ORGANIZATION"
    }
  ],
  "userGroups": [
    {
      "id": 42,
      "type": "GROUP",
      "name": "string",
      "description": "string",
      "userIds": [
        42
      ],
      "groupIds": [
        42
      ],
      "roles": [
        {
          "id": 42,
          "name": "string",
          "roleType": "ORGANIZATION"
        }
      ],
      "globalRoles": [
        {
          "id": 42,
          "name": "string",
          "roleType": "ORGANIZATION"
        }
      ],
      "isAdvanced": true,
      "rule": "string"
    }
  ],
  "id": 42,
  "ecorrespondence": true
}
{
  "contactId": 42,
  "contactType": "string",
  "isCustomer": true,
  "isVendor": true,
  "isStaff": true,
  "isUser": true,
  "defaultLanguage": "EN",
  "phone": "string",
  "fax": "string",
  "mobile": "string",
  "email": "string",
  "webSite": "string",
  "warnings": "string",
  "archived": true,
  "relatedOrganizationContactIds": [
    42
  ],
  "relatedContactIds": [
    42
  ],
  "addresses": [
    {
      "id": 42,
      "name": "string",
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": {
        "id": 42,
        "name": "string",
        "code": "string",
        "taxMode": "ANNUALLY"
      },
      "countryCode2": "string",
      "postCode": "string",
      "toTheAttentionOf": "string",
      "position": 42,
      "houseNumber": "string",
      "countryId": 42,
      "service": "string",
      "readOnly": true
    }
  ],
  "communications": [
    {
      "id": 42,
      "date": "string",
      "type": "PHONE_CALL",
      "description": "string",
      "longDescription": "string",
      "ourContactId": 42,
      "externalContactId": 42,
      "externalContactName": "string",
      "ourContactName": "string",
      "externalContactIdName": "string"
    }
  ],
  "additionalInformation": [
    {
      "id": 42,
      "note": "string",
      "tag": {
        "id": 42,
        "name": "string"
      }
    }
  ],
  "tags": [
    {
      "id": 42,
      "name": "string"
    }
  ],
  "banks": [
    {
      "id": 42,
      "name": "string",
      "accountNumber": "string",
      "qrIban": "string",
      "isrCustomerNumber": "string",
      "bankCustomerNumber": "string",
      "swiftBic": "string",
      "bankName": "string",
      "remark": "string",
      "position": 42,
      "useForReconciliation": true,
      "chartOfAccounts": 42,
      "accountHolderAddress": {
        "id": 42,
        "name": "string",
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": {
          "id": 42,
          "name": "string",
          "code": "string",
          "taxMode": "ANNUALLY"
        },
        "countryCode2": "string",
        "postCode": "string",
        "toTheAttentionOf": "string",
        "position": 42,
        "houseNumber": "string",
        "countryId": 42,
        "service": "string",
        "readOnly": true
      },
      "customHolder": true
    }
  ],
  "organizationId": 42,
  "organizationUsesTimesheets": true,
  "permissionsTree": [
    {
      "id": 42,
      "organizationId": 42,
      "parentOrganizationId": 42,
      "name": "string",
      "isActive": true,
      "roles": [
        {
          "id": 42,
          "type": "ROLE",
          "name": "string",
          "isDefault": true
        }
      ],
      "globalRoles": [
        {
          "id": 42,
          "type": "ROLE",
          "name": "string",
          "isDefault": true
        }
      ],
      "availableRoles": [
        {
          "type": "ROLE",
          "name": "string",
          "isDefault": true,
          "description": "string",
          "id": 42,
          "realId": 42,
          "roleType": "ORGANIZATION"
        }
      ],
      "subUserContactId": 42,
      "availableEmployees": [
        {
          "id": 42,
          "name": "string",
          "email": "string"
        }
      ]
    }
  ],
  "defaultModule": "ALL",
  "supplier": {
    "id": 42,
    "businessUnitId": 42,
    "paymentAccountId": 42,
    "balanceSheetAccountId": 42,
    "currencyId": 42,
    "paymentTerms": "string",
    "feeSplitType": "CHARGED_TO_THE_BENEFICIARY",
    "contactId": 42,
    "vatNumber": "string",
    "vatType": "NO_VAT",
    "vatTypeCodeId": 42,
    "vatRateId": 42,
    "businessUnitName": "string",
    "paymentAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "PLAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "balanceSheetAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "officeId": 42,
    "placcountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "placcountId": 42
  },
  "client": {
    "id": 42,
    "businessUnitId": 42,
    "paymentAccountId": 42,
    "balanceSheetAccountId": 42,
    "currencyId": 42,
    "orderAddressId": 42,
    "orderAddressName": "string",
    "invoiceAddressId": 42,
    "invoiceAddressName": "string",
    "paymentTerms": "string",
    "lateNoticeMargin": "string",
    "clientDiscountRate": "string",
    "creditLimit": "string",
    "contactId": 42,
    "vatNumber": "string",
    "advancedInvoicingNote": "string",
    "vatTypeCodeId": 42,
    "vatRateId": 42,
    "orderValidity": "string",
    "articleDiscounts": [
      {
        "id": 42,
        "articleId": 42,
        "discount": 42.0,
        "articleIdName": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        }
      }
    ],
    "businessUnitName": "string",
    "paymentAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "PLAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "balanceSheetAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "billingEmail": "string",
    "orderEmail": "string",
    "lateNoticeEmail": "string",
    "officeId": 42,
    "placcountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "placcountId": 42
  },
  "staff": {
    "id": 42,
    "avsNumber": "string",
    "permitExpiryDate": "string",
    "jobTitle": "string",
    "employmentStartDate": "string",
    "employmentEndDate": "string",
    "contactId": 42,
    "workPermit": {
      "id": 42,
      "countryId": 42,
      "name": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "nameId": 42
    },
    "contractType": "OPEN_ENDED",
    "employeeDocumentType": "PASSPORT",
    "documentNumber": "string",
    "documentExpiryDate": "string",
    "maritalType": "SINGLE",
    "maritalDate": "string",
    "isSpouseWorking": true,
    "enforceTimesheets": true,
    "familyMembers": [
      {
        "id": 42,
        "staffId": 42,
        "familyMemberType": "SPOUSE",
        "firstName": "string",
        "lastName": "string",
        "birthDate": "string",
        "nationalityCountryId": 42
      }
    ],
    "timesheetPricingLines": [
      {
        "id": 42,
        "startDate": "string",
        "endDate": "string",
        "orderId": 42,
        "task": {
          "id": 42,
          "name": "string",
          "rate": 42.0,
          "organizationId": 42,
          "archived": true
        },
        "rate": "string",
        "clientId": 42,
        "staffId": 42,
        "clientName": "string"
      }
    ],
    "staffPayslips": [
      {
        "id": 42,
        "staffId": 42,
        "calendarYear": 42,
        "employmentStartDate": "string",
        "employmentEndDate": "string",
        "salaryCertificateNotes": "string",
        "isFreeTransportToWork": true,
        "isCanteenMealsOrMealsVouchers": true,
        "salaryInfo": {
          "id": 42,
          "organizationId": 42,
          "staffId": 42,
          "staffPayslipEntityId": 42,
          "salaryType": "MONTHLY",
          "workOccupancy": "string",
          "numberOfVacationDays": "string",
          "defaultPaymentAccountId": 42,
          "payrollCurrencyId": 42,
          "isSourceTaxEnabled": true,
          "capacity": "string",
          "hourlyRate": "string",
          "payableToBankId": 42,
          "organizationEmployeeGroupId": 42,
          "sourceTaxCode": "string",
          "regionId": 42,
          "totalOccupancy": "string",
          "defaultPaymentAccountName": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "hasOnlyOneJob": true,
          "singleParentType": "NOCOHAB",
          "denominationType": "RCC"
        },
        "employeeGroups": [
          {
            "id": 42,
            "staffPayslipEntityId": 42,
            "groupType": "ADMIN",
            "departmentId": 42,
            "percentage": "string",
            "departmentName": "string",
            "officeId": 42,
            "officeName": "string"
          }
        ],
        "systemLine": {
          "id": 42,
          "staffPayslipEntityId": 42,
          "payslipLineEntityId": 42,
          "bracket": "string",
          "rate": "string",
          "localizations": {
            "id": 42,
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "number": 42
        },
        "baseSalaryLine": {
          "id": 42,
          "staffPayslipEntityId": 42,
          "payslipLineEntityId": 42,
          "employeeAmount": "string",
          "employerAmount": "string",
          "payslipValueSplitType": "EMPLOYEE"
        },
        "payslipTableLines": [
          {
            "id": 42,
            "startDate": "string",
            "endDate": "string",
            "payslipEntityId": 42,
            "payslipLineId": "string",
            "organizationPayslipEntityId": 42,
            "staffPayslipEntityId": 42,
            "number": 42,
            "description": "string",
            "employeeValue": "string",
            "employerValue": "string",
            "quantity": "string",
            "employeePercentage": "string",
            "employerPercentage": "string",
            "organizationEmployeeGroupId": 42
          }
        ]
      }
    ],
    "costCalculationType": "AUTOMATIC",
    "timesheetsCost": "string",
    "pdfPassword": "string",
    "trainingLevel": "PHD",
    "position": "SENIOR"
  },
  "externalId": "string",
  "groupRoles": [
    {
      "id": 42,
      "name": "string",
      "roleType": "ORGANIZATION"
    }
  ],
  "userGroups": [
    {
      "id": 42,
      "type": "GROUP",
      "name": "string",
      "description": "string",
      "userIds": [
        42
      ],
      "groupIds": [
        42
      ],
      "roles": [
        {
          "id": 42,
          "name": "string",
          "roleType": "ORGANIZATION"
        }
      ],
      "globalRoles": [
        {
          "id": 42,
          "name": "string",
          "roleType": "ORGANIZATION"
        }
      ],
      "isAdvanced": true,
      "rule": "string"
    }
  ],
  "id": 42,
  "ecorrespondence": true,
  "name": "string",
  "nogaCodeId": 42,
  "uid": "string"
}
{
  "contactId": 42,
  "contactType": "string",
  "isCustomer": true,
  "isVendor": true,
  "isStaff": true,
  "isUser": true,
  "defaultLanguage": "EN",
  "phone": "string",
  "fax": "string",
  "mobile": "string",
  "email": "string",
  "webSite": "string",
  "warnings": "string",
  "archived": true,
  "relatedOrganizationContactIds": [
    42
  ],
  "relatedContactIds": [
    42
  ],
  "addresses": [
    {
      "id": 42,
      "name": "string",
      "line1": "string",
      "line2": "string",
      "city": "string",
      "region": {
        "id": 42,
        "name": "string",
        "code": "string",
        "taxMode": "ANNUALLY"
      },
      "countryCode2": "string",
      "postCode": "string",
      "toTheAttentionOf": "string",
      "position": 42,
      "houseNumber": "string",
      "countryId": 42,
      "service": "string",
      "readOnly": true
    }
  ],
  "communications": [
    {
      "id": 42,
      "date": "string",
      "type": "PHONE_CALL",
      "description": "string",
      "longDescription": "string",
      "ourContactId": 42,
      "externalContactId": 42,
      "externalContactName": "string",
      "ourContactName": "string",
      "externalContactIdName": "string"
    }
  ],
  "additionalInformation": [
    {
      "id": 42,
      "note": "string",
      "tag": {
        "id": 42,
        "name": "string"
      }
    }
  ],
  "tags": [
    {
      "id": 42,
      "name": "string"
    }
  ],
  "banks": [
    {
      "id": 42,
      "name": "string",
      "accountNumber": "string",
      "qrIban": "string",
      "isrCustomerNumber": "string",
      "bankCustomerNumber": "string",
      "swiftBic": "string",
      "bankName": "string",
      "remark": "string",
      "position": 42,
      "useForReconciliation": true,
      "chartOfAccounts": 42,
      "accountHolderAddress": {
        "id": 42,
        "name": "string",
        "line1": "string",
        "line2": "string",
        "city": "string",
        "region": {
          "id": 42,
          "name": "string",
          "code": "string",
          "taxMode": "ANNUALLY"
        },
        "countryCode2": "string",
        "postCode": "string",
        "toTheAttentionOf": "string",
        "position": 42,
        "houseNumber": "string",
        "countryId": 42,
        "service": "string",
        "readOnly": true
      },
      "customHolder": true
    }
  ],
  "organizationId": 42,
  "organizationUsesTimesheets": true,
  "permissionsTree": [
    {
      "id": 42,
      "organizationId": 42,
      "parentOrganizationId": 42,
      "name": "string",
      "isActive": true,
      "roles": [
        {
          "id": 42,
          "type": "ROLE",
          "name": "string",
          "isDefault": true
        }
      ],
      "globalRoles": [
        {
          "id": 42,
          "type": "ROLE",
          "name": "string",
          "isDefault": true
        }
      ],
      "availableRoles": [
        {
          "type": "ROLE",
          "name": "string",
          "isDefault": true,
          "description": "string",
          "id": 42,
          "realId": 42,
          "roleType": "ORGANIZATION"
        }
      ],
      "subUserContactId": 42,
      "availableEmployees": [
        {
          "id": 42,
          "name": "string",
          "email": "string"
        }
      ]
    }
  ],
  "defaultModule": "ALL",
  "supplier": {
    "id": 42,
    "businessUnitId": 42,
    "paymentAccountId": 42,
    "balanceSheetAccountId": 42,
    "currencyId": 42,
    "paymentTerms": "string",
    "feeSplitType": "CHARGED_TO_THE_BENEFICIARY",
    "contactId": 42,
    "vatNumber": "string",
    "vatType": "NO_VAT",
    "vatTypeCodeId": 42,
    "vatRateId": 42,
    "businessUnitName": "string",
    "paymentAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "PLAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "balanceSheetAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "officeId": 42,
    "placcountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "placcountId": 42
  },
  "client": {
    "id": 42,
    "businessUnitId": 42,
    "paymentAccountId": 42,
    "balanceSheetAccountId": 42,
    "currencyId": 42,
    "orderAddressId": 42,
    "orderAddressName": "string",
    "invoiceAddressId": 42,
    "invoiceAddressName": "string",
    "paymentTerms": "string",
    "lateNoticeMargin": "string",
    "clientDiscountRate": "string",
    "creditLimit": "string",
    "contactId": 42,
    "vatNumber": "string",
    "advancedInvoicingNote": "string",
    "vatTypeCodeId": 42,
    "vatRateId": 42,
    "orderValidity": "string",
    "articleDiscounts": [
      {
        "id": 42,
        "articleId": 42,
        "discount": 42.0,
        "articleIdName": {
          "en": "string",
          "fr": "string",
          "de": "string",
          "it": "string"
        }
      }
    ],
    "businessUnitName": "string",
    "paymentAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "PLAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "balanceSheetAccountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "billingEmail": "string",
    "orderEmail": "string",
    "lateNoticeEmail": "string",
    "officeId": 42,
    "placcountName": {
      "en": "string",
      "fr": "string",
      "de": "string",
      "it": "string"
    },
    "placcountId": 42
  },
  "staff": {
    "id": 42,
    "avsNumber": "string",
    "permitExpiryDate": "string",
    "jobTitle": "string",
    "employmentStartDate": "string",
    "employmentEndDate": "string",
    "contactId": 42,
    "workPermit": {
      "id": 42,
      "countryId": 42,
      "name": {
        "en": "string",
        "fr": "string",
        "de": "string",
        "it": "string"
      },
      "nameId": 42
    },
    "contractType": "OPEN_ENDED",
    "employeeDocumentType": "PASSPORT",
    "documentNumber": "string",
    "documentExpiryDate": "string",
    "maritalType": "SINGLE",
    "maritalDate": "string",
    "isSpouseWorking": true,
    "enforceTimesheets": true,
    "familyMembers": [
      {
        "id": 42,
        "staffId": 42,
        "familyMemberType": "SPOUSE",
        "firstName": "string",
        "lastName": "string",
        "birthDate": "string",
        "nationalityCountryId": 42
      }
    ],
    "timesheetPricingLines": [
      {
        "id": 42,
        "startDate": "string",
        "endDate": "string",
        "orderId": 42,
        "task": {
          "id": 42,
          "name": "string",
          "rate": 42.0,
          "organizationId": 42,
          "archived": true
        },
        "rate": "string",
        "clientId": 42,
        "staffId": 42,
        "clientName": "string"
      }
    ],
    "staffPayslips": [
      {
        "id": 42,
        "staffId": 42,
        "calendarYear": 42,
        "employmentStartDate": "string",
        "employmentEndDate": "string",
        "salaryCertificateNotes": "string",
        "isFreeTransportToWork": true,
        "isCanteenMealsOrMealsVouchers": true,
        "salaryInfo": {
          "id": 42,
          "organizationId": 42,
          "staffId": 42,
          "staffPayslipEntityId": 42,
          "salaryType": "MONTHLY",
          "workOccupancy": "string",
          "numberOfVacationDays": "string",
          "defaultPaymentAccountId": 42,
          "payrollCurrencyId": 42,
          "isSourceTaxEnabled": true,
          "capacity": "string",
          "hourlyRate": "string",
          "payableToBankId": 42,
          "organizationEmployeeGroupId": 42,
          "sourceTaxCode": "string",
          "regionId": 42,
          "totalOccupancy": "string",
          "defaultPaymentAccountName": {
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "hasOnlyOneJob": true,
          "singleParentType": "NOCOHAB",
          "denominationType": "RCC"
        },
        "employeeGroups": [
          {
            "id": 42,
            "staffPayslipEntityId": 42,
            "groupType": "ADMIN",
            "departmentId": 42,
            "percentage": "string",
            "departmentName": "string",
            "officeId": 42,
            "officeName": "string"
          }
        ],
        "systemLine": {
          "id": 42,
          "staffPayslipEntityId": 42,
          "payslipLineEntityId": 42,
          "bracket": "string",
          "rate": "string",
          "localizations": {
            "id": 42,
            "en": "string",
            "fr": "string",
            "de": "string",
            "it": "string"
          },
          "number": 42
        },
        "baseSalaryLine": {
          "id": 42,
          "staffPayslipEntityId": 42,
          "payslipLineEntityId": 42,
          "employeeAmount": "string",
          "employerAmount": "string",
          "payslipValueSplitType": "EMPLOYEE"
        },
        "payslipTableLines": [
          {
            "id": 42,
            "startDate": "string",
            "endDate": "string",
            "payslipEntityId": 42,
            "payslipLineId": "string",
            "organizationPayslipEntityId": 42,
            "staffPayslipEntityId": 42,
            "number": 42,
            "description": "string",
            "employeeValue": "string",
            "employerValue": "string",
            "quantity": "string",
            "employeePercentage": "string",
            "employerPercentage": "string",
            "organizationEmployeeGroupId": 42
          }
        ]
      }
    ],
    "costCalculationType": "AUTOMATIC",
    "timesheetsCost": "string",
    "pdfPassword": "string",
    "trainingLevel": "PHD",
    "position": "SENIOR"
  },
  "externalId": "string",
  "groupRoles": [
    {
      "id": 42,
      "name": "string",
      "roleType": "ORGANIZATION"
    }
  ],
  "userGroups": [
    {
      "id": 42,
      "type": "GROUP",
      "name": "string",
      "description": "string",
      "userIds": [
        42
      ],
      "groupIds": [
        42
      ],
      "roles": [
        {
          "id": 42,
          "name": "string",
          "roleType": "ORGANIZATION"
        }
      ],
      "globalRoles": [
        {
          "id": 42,
          "name": "string",
          "roleType": "ORGANIZATION"
        }
      ],
      "isAdvanced": true,
      "rule": "string"
    }
  ],
  "id": 42,
  "ecorrespondence": true,
  "firstName": "string",
  "middleName": "string",
  "lastName": "string",
  "nationalityCountryId": 42,
  "birthday": "string",
  "gender": "MALE",
  "isImpersonateOthers": true,
  "isAdmin": true,
  "isMainUser": true,
  "isEmployee": true,
  "avatarId": 42,
  "isActive": true,
  "isBlockedForLicenceNonPayment": true,
  "loginEmail": "string"
}