/webconsole - organization-type

Rest API Documentation

REST API Documentation for Group organization-type, application /webconsole Version: 4.2.1.2

Endpoints (DRAFT)

GET /rest/api/organization-type/types

Organization Type API Doc, Search organization types

Query Params:

  • name [{'type': 'string'}]:
  • inDisplayName [{'type': 'boolean'}]:
  • parentId [{'type': 'string'}]:
  • childId [{'type': 'string'}]:
  • id [{'type': 'string'}]:
  • size [{'type': 'integer', 'format': 'int32'}]:
  • from [{'type': 'integer', 'format': 'int32'}]:

Responses:

  • Status Code: 200 Success.

    Content-type: application/json,

    Schema: /components/schemas/BeanResponse

  • Status Code: 500 Failure.

    Content-type: application/json,

    Schema: /components/schemas/BeanResponse

POST /rest/api/organization-type/types

Organization Type API Doc

Responses:

  • Status Code: 200 OK.

    Content-type: /,

    Schema: /components/schemas/BasicAjaxResponse

DELETE /rest/api/organization-type/types/(id)

Organization Type API Doc, Remove organization type by id

Path Params:

  • id [{'type': 'string'}]:

Responses:

  • Status Code: 200 Success.

    Content-type: application/json,

    Schema: /components/schemas/BasicAjaxResponse

  • Status Code: 500 Failure.

    Content-type: application/json,

    Schema: /components/schemas/BasicAjaxResponse## Definitions