scroll

Process - Write

Process Write Method

The Process API provides access to the Process Resource.

Process Write enables the user to newly register or update the specified job opening information.

POST

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

 

Scope

The access privilege required for Process Write is as follows:

process_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 Partition Id that can be accessed, acquire the information using Partition Read.

 

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

Tag Definition
Process Root element that indicates the Process data.
Item Indicates one piece of Process information.
 Field Specify the item and value. For information on the Fields that can be specified, see Process - 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
Process Root element that indicates the Process data.
Item Indicates one piece of Process information.
 Id The Id of the updated or newly registered Process.
 Code The code that represents the processing result. For details, see Result Code List.

 

Process 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 a record with the Process specified with “Matching” and the Process date with “2012/01/01 00:00:00” (UTC).

Input XML

<?xml version=”1.0” encoding=”UTF-8” standalone=”yes”?>
<Process>
 <Item>
  <Process.P_Id>-1</Process.P_Id>
  <Process.P_Owner>1</Process.P_Owner>
  <Process.P_Client>10001</Process.P_Client>
  <Process.P_Recruiter>10002</Process.P_Recruiter>
  <Process.P_Job>10005</Process.P_Job>
  <Process.P_Candidate>10009</Process.P_Candidate>
  <Process.P_Resume>10010</Process.P_Resume>
  <Process.P_Phase><Option.P_ProcessMatching/></Process.P_Phase>
  <Process.P_PhaseDate>2012/01/01 00:00:00</Process.P_PhaseDate>
 </Item>
</Process>

 

Output XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Process>
 <Item>
  <Id>20002</Id>
  <Code>0</Code>
 </Item>
</ Process>

 

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