scroll

Recruiter - Write

Recruiter Write Method

The Recruiter API provides access to Recruiter.

Recruiter Write enables the user to newly register or update the company recruiter information.

POST

https://{Request URI Host}/v1/recruiter?partition=[value]

 

Scope

The access privilege required for Recruiter Write is as follows:

recruiter_w

 

Input Variables

When using the GET or POST Method, the parameter of the HTTP Header must be specified with a value. For details, see HTTP Header.

The following shows the Parameters that can be specified:

Required Parameter Definition
partition Specify a numerical value for the Partition Id.
To check the accessible Partition Id, acquire the information using Partition Read.

 

The following value can be specified in the XML format for the data block for POST.

Tag Definition
Recruiter Root element that indicates the Recruiter data.
Item Indicates one piece of Recruiter information.
 Field Specify the item and value. For information on the Fields that can be specified, see Recruiter - Field List.

 

Result Values

When the processing is successfully completed, “200” is returned to the Response Header as the HTTP status, and the value that is described in Output Values can be acquired.

If an error occurs, a value other than 200 is returned.

 

Output Values

The output value can be acquired in the XML format.

Tag Definition
Recruiter Root element that indicates the Recruiter data.
Item Indicates one piece of Recruiter information.
 Id The Id of the updated or newly registered Recruiter.
 Code The code that represents the processing result. For details, see Result Code List.

 

Recruiter Write Sample

This sample code shown below is not encoded. In the case of an actual Request, encoding/decoding may be necessary depending on the content.

The following sample newly registers “Recruiter B” by associating it with the Client ID: 10001 and also updates the name and phonetic subscript of the Recruiter ID: 20001.

Input XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Recruiter>
 <Item>
  <Recruiter.P_Id>-1</Recruiter.P_Id>
  <Recruiter.P_Name>Recruiter B</Recruiter.P_Name>
  <Recruiter.P_Reading>recruiter B</Recruiter.P_Reading>
  <Recruiter.P_Client>10001</Recruiter.P_Client>
  <Recruiter.P_Owner>1</Recruiter.P_Owner>
 </Item>
 <Item>
  <Recruiter.P_Id>20001</Recruiter.P_Id>
  <Recruiter.P_Name>Recruiter A</Recruiter.P_Name>
  <Recruiter.P_Reading>recruiter A</Recruiter.P_Reading>
 </Item>
</Recruiter>

 

Output XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Recruiter>
 <Item>
  <Id>20005</Id>
  <Code>0</Code>
 </Item>
 <Item>
  <Id>20001</Id>
  <Code>0</Code>
 </Item>
</Recruiter>

 

 

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