Get details of client

GET /api-v1/contact/{id}/client

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

Path parameters

  • id integer Required

    id

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • PLAccountName object
      Hide PLAccountName attributes Show PLAccountName attributes object
      • de string
      • en string
      • fr string
      • it string
    • addresses array[object]
      Hide addresses attributes Show addresses attributes object
      • city string
      • countryCode2 string
      • countryId integer
      • houseNumber string
      • id integer
      • line1 string
      • line2 string
      • name string
      • position integer(int32)
      • postCode string
      • readOnly boolean
      • region object
        Hide region attributes Show region attributes object
        • code string
        • id integer
        • name string
        • taxMode string

          Values are ANNUALLY or MONTHLY.

      • service string
      • toTheAttentionOf string
    • advancedInvoicingNote string
    • articleDiscounts array[object]
      Hide articleDiscounts attributes Show articleDiscounts attributes object
      • articleId integer
      • articleIdName object
        Hide articleIdName attributes Show articleIdName attributes object
        • de string
        • en string
        • fr string
        • it string
      • discount number
      • id integer
    • balanceSheetAccountId integer
    • balanceSheetAccountName object
      Hide balanceSheetAccountName attributes Show balanceSheetAccountName attributes object
      • de string
      • en string
      • fr string
      • it string
    • billingEmail string
    • businessUnitId integer
    • businessUnitName string
    • clientDiscountRate string
    • contactId integer
    • countryId integer
    • creditLimit string
    • currencyId integer
    • id integer
    • invoiceAddressId integer
    • invoiceAddressName string
    • lateNoticeEmail string
    • lateNoticeMargin string
    • officeId integer
    • orderAddressId integer
    • orderAddressName string
    • orderEmail string
    • orderValidity string
    • organizationId integer
    • paymentAccountId integer
    • paymentAccountName object
      Hide paymentAccountName attributes Show paymentAccountName attributes object
      • de string
      • en string
      • fr string
      • it string
    • paymentTerms string
    • placcountId integer
    • placcountName object
      Hide placcountName attributes Show placcountName attributes object
      • de string
      • en string
      • fr string
      • it string
    • vatNumber string
    • vatRateId integer
    • vatTypeCodeId integer
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/contact/{id}/client
curl \
 --request GET 'https://wyzio.app/api-v1/contact/{id}/client' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "PLAccountName": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "addresses": [
    {
      "city": "string",
      "countryCode2": "string",
      "countryId": 42,
      "houseNumber": "string",
      "id": 42,
      "line1": "string",
      "line2": "string",
      "name": "string",
      "position": 42,
      "postCode": "string",
      "readOnly": true,
      "region": {
        "code": "string",
        "id": 42,
        "name": "string",
        "taxMode": "ANNUALLY"
      },
      "service": "string",
      "toTheAttentionOf": "string"
    }
  ],
  "advancedInvoicingNote": "string",
  "articleDiscounts": [
    {
      "articleId": 42,
      "articleIdName": {
        "de": "string",
        "en": "string",
        "fr": "string",
        "it": "string"
      },
      "discount": 42.0,
      "id": 42
    }
  ],
  "balanceSheetAccountId": 42,
  "balanceSheetAccountName": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "billingEmail": "string",
  "businessUnitId": 42,
  "businessUnitName": "string",
  "clientDiscountRate": "string",
  "contactId": 42,
  "countryId": 42,
  "creditLimit": "string",
  "currencyId": 42,
  "id": 42,
  "invoiceAddressId": 42,
  "invoiceAddressName": "string",
  "lateNoticeEmail": "string",
  "lateNoticeMargin": "string",
  "officeId": 42,
  "orderAddressId": 42,
  "orderAddressName": "string",
  "orderEmail": "string",
  "orderValidity": "string",
  "organizationId": 42,
  "paymentAccountId": 42,
  "paymentAccountName": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "paymentTerms": "string",
  "placcountId": 42,
  "placcountName": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "vatNumber": "string",
  "vatRateId": 42,
  "vatTypeCodeId": 42
}