- Overview
- Resource API (GET) : Reference Specification for User Type and Department Type
- Resource API (GET) : Condition Parameters for User Type and Department
- Department API
Overview
In PORTERS Connect API 8.2.1, the following features will be expanded:
- With the introduction of new item types "User Type" and "Department Type" in PORTERS 8.2.1, the PORTERS Connect API now allows you to retrieve and set information for User (User Type) and Department (Department Type) via the Resource API.
- The Department API will be added.
- In Field - Read, the Field Type for User Type and Department Type will be retrieved as a Link.
- To use the Field Type: Link, you need to specify ConnectAPI-Version2 or later. Please check the HTTP-Header for more details.
Resource API (GET) :Reference Specification for User Type and Department Type
For User Type and Department Type items, the fields belonging to the referenced Resource will be output according to the settings of the fields to be output.
For the method of setting output fields, please refer to Parameter > Read – Field.
(ex.) field=[Job.U_User1Alias]([User.P_Id],[User.P_Name],[User.P_Mail])
When specifying fields for User Type and Department Type in Resource API (GET), the fields that can be referenced within () (parentheses) are as follows:
Reference Specification for User Type
User.P_Id
User.P_Name
User.P_Mail
User.P_Type
Reference Specification for Department Type
Department.P_Id
Department.P_Name
If no reference is specified, the value of P_Id will be output enclosed in the tags for User Type or Department Type.
(ex.) <Job.U_DepartmentAlias>10002</<Job.U_DepartmentAlias>
Resource API (GET) :Condition Parameters for User Type and Department
Similar to Field Type = Option, the parameters for condition can be specified as either "or" or "and".
Please refer to the section Read API - Parameter - "Suffix for Link type" .
Department API
In the Department API, only Read (GET) will be implemented.
For more details, please refer to Department - Read and Department - Field List.