Get details of supplier without organization filter

GET /api-v1/contact/{id}/single-supplier

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
    • balanceSheetAccountId integer
    • balanceSheetAccountName object
      Hide balanceSheetAccountName attributes Show balanceSheetAccountName attributes object
      • de string
      • en string
      • fr string
      • it string
    • banks array[object]
      Hide banks attributes Show banks attributes object
      • accountHolderAddress object
        Hide accountHolderAddress attributes Show accountHolderAddress 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
      • accountNumber string
      • bankCustomerNumber string
      • bankName string
      • chartOfAccounts integer
      • customHolder boolean
      • id integer
      • isrCustomerNumber string
      • name string
      • position integer(int32)
      • qrIban string
      • remark string
      • swiftBic string
      • useForReconciliation boolean
    • businessUnitId integer
    • businessUnitName string
    • contactId integer
    • countryId integer
    • currencyId integer
    • feeSplitType string

      Values are CHARGED_TO_THE_BENEFICIARY, FIFTY_FIFTY_SPLIT, or CHARGED_TO_THE_ORDERER.

    • id integer
    • officeId 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
    • vatType string

      Values are NO_VAT, NATIVE, or IMPORT_OF_SERVICE.

    • 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}/single-supplier
curl \
 --request GET 'https://wyzio.app/api-v1/contact/{id}/single-supplier' \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string"
Response examples (200)
{
  "PLAccountName": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "balanceSheetAccountId": 42,
  "balanceSheetAccountName": {
    "de": "string",
    "en": "string",
    "fr": "string",
    "it": "string"
  },
  "banks": [
    {
      "accountHolderAddress": {
        "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"
      },
      "accountNumber": "string",
      "bankCustomerNumber": "string",
      "bankName": "string",
      "chartOfAccounts": 42,
      "customHolder": true,
      "id": 42,
      "isrCustomerNumber": "string",
      "name": "string",
      "position": 42,
      "qrIban": "string",
      "remark": "string",
      "swiftBic": "string",
      "useForReconciliation": true
    }
  ],
  "businessUnitId": 42,
  "businessUnitName": "string",
  "contactId": 42,
  "countryId": 42,
  "currencyId": 42,
  "feeSplitType": "CHARGED_TO_THE_BENEFICIARY",
  "id": 42,
  "officeId": 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,
  "vatType": "NO_VAT",
  "vatTypeCodeId": 42
}