/departments/{id}

Returns a Department object with the given id.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

include_remote_databooleanOptional

Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_databooleanOptional

Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

Response

idstring or nullRead-onlyformat: "uuid"
remote_idstring or null

The third-party API ID of the matching object.

created_atdatetime or nullRead-only
The datetime that this object was created by Merge.
modified_atdatetime or nullRead-only
The datetime that this object was modified by Merge.
namestring or null
The department's name.
remote_was_deletedboolean or nullRead-only
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
field_mappingsobject or nullRead-only
remote_datalist of objects or nullRead-only
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA92abW/aOhTHvwrKy4qHFsq2Il1d8VhgEFpI2/VOU+Q4h2Bw7NRxoDDtu08hCSX39lbq6qyDl4T4n/h3/uf42PBdw0iCw8Vaq2lI+lpec7kNVKtpLfCQkC4wqeU15BEduRDdZC7LWl7zA8/jQoLdIUBtvytgqtW0kgvCgULAyJSAXULSLxEmwRFIEs780m5UYbodpuU1StgC7DrGPGDyBZ3ovgKKbvzXx/BrP3xTD/m+nAkeOLMxPATgvyQZvg2FcI6IFmwkUWlveEFE45+7Fr63DRQk2C0kUQsk4HCC8aNmUnp+rVSaAfWK28cWbViWgJWQkART8EvVykX540W1EKtsn/636dC/zk7mDxa3Pp6YDqYmCk6GBn7Ujd5KnzvnevP8Ud/cVPXNYqPPF6cnpoNOhsawOjLuK6NW/Wz0zA3m5MOXi9tGq9HXT/CmXdHn9yvdwGdDAy+sTa/Sv8Srfvf6Ud/cl4etm4putKv9S342ao79YXPMh/ViUctr+3HUal+/71+IzVH3PEowYnIiEV6kx/Rc5MAemygayCMF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