Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 6.27 KB

hrisdepartmentsupdaterequest.md

File metadata and controls

43 lines (38 loc) · 6.27 KB

HrisDepartmentsUpdateRequest

Example Usage

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

let value: HrisDepartmentsUpdateRequest = {
  id: "<id>",
  serviceId: "salesforce",
  department: {
    name: "R&D",
    code: "2",
    description: "R&D",
    passThrough: [
      {
        serviceId: "<id>",
        extendPaths: [
          {
            path: "$.nested.property",
            value: {
              "TaxClassificationRef": {
                "value": "EUC-99990201-V1-00020000",
              },
            },
          },
        ],
      },
    ],
  },
};

Fields

Field Type Required Description Example
id string ✔️ ID of the record you are acting upon.
consumerId string ID of the consumer which you want to get or push data from test-consumer
appId string The ID of your Unify application dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
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
raw boolean Include raw response. Mostly used for debugging purposes
department components.DepartmentInput ✔️ N/A