그룹(부서) 생성하기

POST https://openapi.exosp.com/organization/v1/department

그룹(부서) 정보를 생성하는 API 입니다.

Query Parameters

항목
타입
설명

departmentFull*

string

그룹 전체 경로

departmentName*

string

그룹 이름

Response Schema

항목
타입
설명

code

int

응답 처리 결과 코드

0 : 성공, 1 : 실패

message

string

응답 처리 결과 메세지

success : 성공, 그 외 : 실패

Example

curl -X 'POST' \
  'https://openapi.exosp.com/organization/v1/department' \
  -H 'accept: application/json' \
  -H 'x-exosp-access: YOUR_ACCESS_KEY' \
  -H 'x-exosp-secret: YOUR_ACCESS_SECRET' \
  -d '{
  "departmentFull": "test",
  "departmentName": "test1"
}'
{
  "code": 0,
  "message": "success",
  "body": null
}

Last updated