scroll

12/10/2019 Enhancement of Phase Read / Phase Write API

Overview

In HRBC Connect API 4.0.16, [field] of Parameter that can be specified by Phase Read API is newly added and the function will be expanded so that any field can be read.
In addition, Parameter [field] that can be specified by Phase Write API will be newly added and the function will be expanded so that any field can be written.

The behavior of this extension is affected only when Parameter is explicitly specified and does not affect existing applications.

 

 

Enhancement of Phase Read / Phase Write API

[Target API]

Phase Read
Phase Write

※Any Resource API other than the above cannot acquire a desired field by specifying this enhanced optional Phase Field

 

[Change details]

The following fields are added in Phase Read / Phase Write for all resources.

Field Name Data Type Definition
Owner User Resource owner
OwnerDepartment System[Department] Resource owner's department

 

In addition to the above, Phase Read / Phase Write of Process and Sales, the following fields are added.

Field Name Data Type Definition
JobOwner User JOB owner
JobOwnerDepartment System[Department] JOB owner department
ResumeOwner User Resume owner
ResumeOwnerDepartment System[Department] Resume owner department

 
  

Sample

 

■ Sample Read

Requet
$phaseURL .= "&resource=5&resourceId=10031&field=Id,RegisteredBy,RegistrationDate,UpdatedBy,UpdateDate,Memo,Owner,OwnerDepartment";

 


Return
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Phase Total="3" Count="3" Start="0">
 <Code>0</Code>
 <Item>
  <Id>10014</Id>
  <Memo>Add Memo</Memo>
  <OwnerDepartment>
   <Department>
    <Department.P_Id>1001</Department.P_Id>
    <Department.P_Name>Department N/A</Department.P_Name>
   </Department>
  </OwnerDepartment>
  <Owner>
   <User>
    <User.P_Id>78</User.P_Id>
   </User>
  </Owner>
  <UpdateDate>2019/11/26 21:08:23</UpdateDate>
  <RegistrationDate>2019/11/26 20:46:57</RegistrationDate>
  <UpdatedBy>
   <User>
    <User.P_Id>82</User.P_Id>
   </User>
  </UpdatedBy>
  <RegisteredBy>
   <User>
    <User.P_Id>82</User.P_Id>
   </User>
  </RegisteredBy>
 </Item>
 <Item>
  <Id>10015</Id>
  <Memo>Add Memo</Memo>
  <OwnerDepartment>
   <Department>
    <Department.P_Id>1001</Department.P_Id>
    <Department.P_Name>Department N/A</Department.P_Name>
   </Department>
  </OwnerDepartment>
  <Owner>
   <User>
    <User.P_Id>78</User.P_Id>
   </User>
  </Owner>
  <UpdateDate>2019/11/26 21:12:11</UpdateDate>
  <RegistrationDate>2019/11/26 21:11:03</RegistrationDate>
  <UpdatedBy>
   <User>
    <User.P_Id>82</User.P_Id>
   </User>
  </UpdatedBy>
  <RegisteredBy>
   <User>
    <User.P_Id>82</User.P_Id>
   </User>
  </RegisteredBy>
 </Item>
 <Item>
  <Id>10016</Id>
  <Memo>Add Memo</Memo>
  <OwnerDepartment>
   <Department>
    <Department.P_Id>1003</Department.P_Id>
    <Department.P_Name>Department1</Department.P_Name>
   </Department>
  </OwnerDepartment>
  <Owner>
   <User>
    <User.P_Id>1</User.P_Id>
   </User>
  </Owner>
  <UpdateDate>2019/11/26 21:23:04</UpdateDate>
  <RegistrationDate>2019/11/26 21:12:26</RegistrationDate>
  <UpdatedBy>
   <User>
    <User.P_Id>1</User.P_Id>
   </User>
  </UpdatedBy>
  <RegisteredBy>
   <User>
    <User.P_Id>82</User.P_Id>
   </User>
  </RegisteredBy>
 </Item>
</Phase>"

 

■ Sample Write

Requet
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Phase>
 <Item>
  <Id>10011</Id>
  <Resource>5</Resource>
  <ResourceId>10028</ResourceId>
  <Phase>
   <Option.P_ClientContact/>
  </Phase>
  <OwnerDepartment>1006</OwnerDepartment>
  <Owner>2</Owner>
  <Date>2019/11/05 11:13:00</Date>
 </Item>
</Phase>

Return
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Phase>
 <Item>
  <Id>10018</Id>
  <Code>0</Code>
 </Item>
</Phase>

 

Was this article helpful?
0 out of 0 found this helpful