User Manual

10.01.2024

MANUAL

Developer Function: API: Department Operation: Update Department

## Overview You can update records using the API. ## Preparation - Please [Create an API Key](/manual/api-key) before performing API operations. - The user issuing the API key to execute this function must be granted tenant manager privileges. ## Request Send json data in the following request format: |Setting column|Value| |:--|:--| |HTTP Method|POST| |Content-Type |application/json| |Character Code|UTF-8| |URL|http://{server name}/api/depts/{department ID}/update (※1)| |Body|Please refer to the json data below| (※1) Please edit the {server name} and {department ID} parts as appropriate to suit your environment. For pleasanter.net, the format is as follows: https\://pleasanter.net/fs/api/depts/{department ID}/update ##### JSON ``` { "ApiVersion": 1.1, "ApiKey": "8s63Aiigd98h51Dfda7951...", "DeptCode": "[Department code of the updated department]", "DeptName": "[Updated department name]", "Body": "[Updated department description]" } ``` ## Response The json data in the following format will be returned. ##### JSON ``` { "Id": 12345, "StatusCode": 200, "Message": "\"Department code\" updated." } ``` ## Confirmation Column in Case of Error [・Precautions when using the API and things to check if an error occurs](/manual/faq-api) [・FAQ: What to check if modified configuration files or API requests (JSON format) are not recognized correctly](/manual/faq-json-format)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.