Python知識(shí)分享網(wǎng) - 專業(yè)的Python學(xué)習(xí)網(wǎng)站 學(xué)Python,上Python222
人力資源webservice&restful接口文檔 下載
發(fā)布于:2023-12-25 09:48:01
(假如點(diǎn)擊沒反應(yīng),多刷新兩次就OK!)

人力資源webservice&restful接口文檔 下載  圖1

 

 

 

資料內(nèi)容:

 

 

3.3 接口相關(guān)對(duì)象說(shuō)明

1SynSubCompany 同步分部傳入xml的格式如下(一定要按照此格式傳入):

<?xml version="1.0" encoding="UTF-8"?>

<root>

  <orglist>

     <org action="add">

        <code>001</code>

        <shortname>測(cè)試分部一</shortname>

        <fullname>測(cè)試分部一</fullname>

        <parent_code>0</parent_code>

        <order>0</order>

     </org>

     <org action="edit">

        <code>002</code>

        <shortname>測(cè)試分部二</shortname>

        <fullname>測(cè)試分部二</fullname>

        <parent_code>0</parent_code>

        <order>1</order>

     </org>

     <org action="delete">

        <code>003</code>

        <canceled>1</canceled>

     </org>

  </orglist>

</root>

相關(guān)屬性說(shuō)明:

Action:動(dòng)作,add:添加,edit:編輯,delete:刪除,OA中只做封存和解封,canceled=1 解封,canceled=0 封存

Code:分部編碼,唯一值

Shortname:分部簡(jiǎn)稱

Fullname:分部全稱

Parent_code:上級(jí)分部編碼,沒有上級(jí)請(qǐng)?zhí)顚?/span>0