Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 4.26 KB

accountingdepartmentsaddrequest.md

File metadata and controls

45 lines (40 loc) · 4.26 KB

AccountingDepartmentsAddRequest

Example Usage

import { AccountingDepartmentsAddRequest } from "@apideck/unify/models/operations";

let value: AccountingDepartmentsAddRequest = {
  serviceId: "salesforce",
  accountingDepartment: {
    parentId: "12345",
    name: "Sales",
    status: "active",
    subsidiaries: [
      {
        name: "SpaceX",
      },
    ],
    rowVersion: "1-12345",
    passThrough: [
      {
        serviceId: "<id>",
        extendPaths: [
          {
            path: "$.nested.property",
            value: {
              "TaxClassificationRef": {
                "value": "EUC-99990201-V1-00020000",
              },
            },
          },
        ],
      },
    ],
  },
};

Fields

Field Type Required Description Example
raw boolean Include raw response. Mostly used for debugging purposes
serviceId string Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. salesforce
accountingDepartment components.AccountingDepartmentInput ✔️ N/A